For version 2.4 or above
Open Active Backup for Microsoft 365
Go to Task List → Create
Select Create a backup task
Set endpoint type to Microsoft 365
Enter a strong certificate password
Sign in as a Microsoft 365 Global Admin and accept the permissions
Download and store the certificate securely
Complete the wizard setup
? App credentials can be found under:
Task List → Edit → App Credentials
For version 2.2 & 2.3 (Manual Registration)
Requirements
Windows 10 or Windows Server 2016+
PowerShell (admin mode)
PowerShell Setup
Run PowerShell as Administrator
Change execution policy:
Download & Run Script
Download:
AppGenerator.ps1(from Synology)Navigate to script folder:
Run script:
Respond with
Rto runAccept NuGet install if prompted (
Y)
When prompted:
Enter a strong certificate password
Sign in as Global Admin
After completion:
Copy & save:
Tenant ID
Application ID
Certificate file path
Certificate password
Authorize the Application (Azure Portal)
Open the URL shown in PowerShell
Review API permissions and confirm the following are enabled:
Microsoft Graph – Application Permissions
Calendars.ReadWrite
Channel.Create
Channel.ReadBasic.All
ChannelMember.ReadWrite.All
ChannelMessage.Read.All
ChannelSettings.ReadWrite.All
Contacts.ReadWrite
Directory.ReadWrite.All
Files.ReadWrite.All
Group.ReadWrite.All
Mail.ReadWrite
Sites.FullControl.All
Team.Create
Team.ReadBasic.All
TeamMember.ReadWrite.All
TeamSettings.ReadWrite.All
TeamsTab.Create
TeamsTab.ReadWrite.All
User.ReadWrite.All
Exchange Online:
full_access_as_app
SharePoint:
Sites.FullControl.All
Click: Grant admin consent for [Your Org] → Yes
Create a Backup Task in AB4M365
Launch Active Backup for Microsoft 365
Go to Task List → Create
Select Create a new backup task
Enter the following details:
| Field | Value (from previous steps) |
|---|---|
| Endpoint | Microsoft 365 |
| Domain Admin Email | Global Admin used during registration |
| Tenant ID | From PowerShell output |
| Application ID | From PowerShell output |
| Certificate File | Path from PowerShell |
| Certificate Password | Password you created during script execution |
Complete wizard to configure backup
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article