Learn about integrating a Microsoft 365 tenant with GitProtect to protect its resources.

Permissions required for integrating Microsoft 365 with GitProtect.

How to integrate a Microsoft 365 organization with GitProtect.

How to integrate a Microsoft 365 organization with GitProtect and include SharePoint protection.
Permissions required for integrating Microsoft 365 with GitProtect.
The required Microsoft 365 permissions define the access levels GitProtect needs to securely back up and restore your data.
To integrate a Microsoft 365 organization with GitProtect, ensure it uses a Microsoft 365 business license.
To back up a single Microsoft 365 account, the account must have a Microsoft 365 license assigned. This also applies to shared mailboxes. License assignments can be managed in the Microsoft 365 admin center.
Each Microsoft 365 account and shared mailbox requires one GitProtect license to back up its data.
The backup process requires a backup agent (worker), which communicates with the Microsoft 365 API, downloads the requested data, and performs the backup. You can use either a cloud or local worker. Any device with the Xopero ONE Backup&Recovery Agent installed can act as a worker.
To add your Microsoft 365
How to integrate a Microsoft 365 organization with GitProtect.
Adding a Microsoft 365 tenant to GitProtect connects your organization's environment and enables data protection for supported services. The integration requires proper authorization and tenant-level permissions to establish a secure connection between Microsoft 365 and GitProtect, allowing you to configure backup settings, manage protection policies, and perform recovery operations.
The following documentation applies only to Microsoft 365 organizations with GitProtect licenses that include backup for Microsoft Exchange data (including individual mailboxes, calendars, and contacts) and OneDrive.
For instructions on enabling protection for SharePoint sites in new and existing Microsoft 365 organizations, refer to the article.
The below steps demonstrate how to integrate a Microsoft 365 organization with GitProtect using GitProtect Management Service.
Select Microsoft 365 from the left pane.
Click Connect under Microsoft 365.
Copy the authentication code, then click Log in to Microsoft 365.
In the Microsoft authentication tab, paste the copied code and click Next.
Select your account and sign in if prompted. Next, click Continue to confirm your sign-in to Xopero Registrator.
If the registration is completed successfully, the following message will appear. Close the tab and return to GitProtect Management Service.
The Microsoft 365 organization has been successfully added to GitProtect. Click Custom policy to modify your backup policy settings, or click Run backup to start a backup using the current policy configuration.
After adding the organization, you may see the following message. Click Repair to configure permissions for shared mailbox protection.
To start the permission update process, click Continue at the bottom of the configuration pane. If prompted, sign in to your Microsoft 365 account and grant GitProtect the required permissions.
After the required permissions have been granted, you can configure a Microsoft 365 backup plan and start protecting your resources.
The following tables list Xopero apps and their permissions, which are automatically installed in the end user's Entra ID when integrating Microsoft 365 with GitProtect.
This application is used at the beginning of the integration to install and grant the necessary permissions for the Xopero ONE MS365 PRO app.
Microsoft Graph
Directory.AccessAsUser.All
Access directory as the signed-in user.
delegated
Microsoft Graph
offline_access
Maintain access to data you have granted access to.
delegated
This application is required to back up and recover data from Microsoft 365 tenants and is installed automatically in Entra ID by Xopero ONE Registrator.
Microsoft Graph
Mail.ReadWrite
Read and write mail in all mailboxes.
application
Microsoft Graph
User.ReadWrite.All
Read and write all users' full profile information.
application
Office 365 Exchange Online
full_access_as_app
Use Exchange Web Services (EWS) with full access to all mailboxes.
application
Office 365 Exchange Online
Mail.ReadWrite
Read and write mail in all mailboxes.
application
Office 365 Exchange Online
full_access_as_app
Use Exchange Web Services (EWS) with full access to all mailboxes.
application
Office 365 Exchange Online
Mail.ReadWrite
Read and write mail in all mailboxes.
application
How to integrate a Microsoft 365 organization with GitProtect and include SharePoint protection.
Enabling SharePoint protection in GitProtect allows SharePoint sites to be included in the Microsoft 365 backup scope. The setup follows the same tenant-based flow used for other Microsoft 365 resources and requires that the necessary prerequisites and permissions are in place before backup configuration is started.
The following documentation applies only to Microsoft 365 organizations with GitProtect licenses (Microsoft 365 PRO) that include backup for Microsoft Exchange data (including individual mailboxes, shared mailboxes, calendars, and contacts), SharePoint, and OneDrive.
For instructions on adding Microsoft 365 tenants with only Microsoft Exchange and OneDrive protection to GitProtect, see .
The below steps demonstrate how to integrate a Microsoft 365 organization with GitProtect using GitProtect Management Service.









Select Microsoft 365 from the left pane.
Click Connect under Microsoft 365 Pro.
In the Add new organization pane, click Advanced configuration at the bottom of the pane.
In Advanced configuration, enable the Enable SharePoint protection switch, and specify whether GitProtect should automatically assign licenses to users.
Next, click the Add new or select certificate from (…) tile. In the Add certificate pane, select the certificate option that aligns with your deployment model: automatically generate a certificate, upload a custom certificate, or select an existing certificate from the list. Once done, click Save.
Set the synchronization interval (if needed), review your settings, and click Save to proceed.
Back in the Add new organization pane, copy the authentication code, and then click Log in to Microsoft 365.
In the Microsoft authentication tab, paste the copied code and click Next.
Select your account and sign in if prompted. Next, click Continue to confirm your sign-in to Xopero Registrator.
If the registration is completed successfully, the following message will appear. Close the tab and return to GitProtect Management Service.
The Microsoft 365 organization has been successfully added to GitProtect. Click Custom policy to modify your backup policy settings, or click Run backup to start a backup using the current policy configuration.
The following steps demonstrate how to enable SharePoint protection for existing Microsoft 365 organizations using GitProtect Management Service.
Select Microsoft 365 from the left pane.
Click Edit in the lower-left corner of the organization tile.
In Settings section, turn on the Enable SharePoint protection switch, and then click the Add new or select certificate from (…) tile.
In the Add certificate pane, select the certificate option that aligns with your deployment model: automatically generate a certificate, upload a custom certificate, or select an existing certificate from the list. Once done, click Save.
The system will automatically prompt you to create or run a default backup plan. You can skip this step and configure the SharePoint backup plan later.
Back in the Microsoft 365 organization dashboard, click Repair to configure permissions for SharePoint protection.
To start the permission update process, click Continue at the bottom of the Edit organization pane. If prompted, sign in to your Microsoft 365 account and grant GitProtect the required permissions.
After the required permissions have been granted, you can configure a SharePoint backup plan and start protecting your resources.


















Microsoft Graph
profile
View user's basic profile.
delegated
Microsoft Graph
openid
Sign users in.
delegated
Microsoft Graph
Application.ReadWrite.All
Read and write all applications.
application
Microsoft Graph
Group.Read.All
Read all groups.
application
Microsoft Graph
Contacts.ReadWrite
Read and write contacts in all mailboxes.
application
Microsoft Graph
Group.Create
Create groups.
application
Microsoft Graph
Files.ReadWrite.All
Read and write files in all site collections.
application
Microsoft Graph
Calendars.ReadWrite
Read and write calendars in all mailboxes.
application
Microsoft Graph
Tasks.ReadWrite
Create, read, update, and delete user's tasks and task lists.
delegated
Microsoft Graph
Directory.ReadWrite.All
Read and write directory data.
delegated
Microsoft Graph
Group.ReadWrite.All
Read and write all groups.
delegated
Microsoft Graph
offline_access
Maintain access to data you have granted access to.
delegated
Office 365 Exchange Online
Calendars.ReadWrite.All
Read and write calendars in all mailboxes.
application
Office 365 Exchange Online
delegated
Office 365 Exchange Online
Calendars.ReadWrite.All
Read and write calendars in all mailboxes.
application
Office 365 Exchange Online
delegated