> For the complete documentation index, see [llms.txt](https://helpcenter.gitprotect.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.gitprotect.io/backup-and-recovery/microsoft-365/integration/adding-microsoft-365-tenant-to-gitprotect.md).

# Adding Microsoft 365 tenant to GitProtect

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.**

***

## Important notice

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 [Enabling SharePoint protection in GitProtect](/backup-and-recovery/microsoft-365/integration/enabling-sharepoint-protection-in-gitprotect.md) article.

***

## Integration process

The below steps demonstrate how to integrate a **Microsoft 365** organization with **GitProtect** using **GitProtect Management Service**.

{% stepper %}
{% step %}
Select **Microsoft 365** from the left pane.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FcS8YALI6KBECzEwUjLZg%2Fimage.png?alt=media&amp;token=76191bc1-c54b-43ef-84ec-b3a37860a0ba" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Click **Connect** under **Microsoft 365**.

{% hint style="info" %}
If you already have a **Microsoft 365** organization added, click the **+ Add new** button in the top-left corner first.
{% endhint %}

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FcR089a2O20RZBTBmZVgC%2Fadding_microsoft_365_tenant_to_xone_2.png?alt=media&amp;token=3a934337-9bea-45c0-9abf-49e4030e58ba" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Copy the authentication code, then click **Log in to Microsoft 365**.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2F83t0oT4BjPLkwXmrkYXv%2Fimage.png?alt=media&amp;token=fd26d507-fb11-4514-aace-5fe273efe8c0" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
In the **Microsoft** authentication tab, paste the copied code and click **Next**.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FtXJGEE4oPpaLNIOB24nT%2Fadding_microsoft_365_tenant_to_xone_4.png?alt=media&amp;token=899f9b33-12e8-4b24-bfc6-093afc573007" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Select your account and sign in if prompted. Next, click **Continue** to confirm your sign-in to **Xopero Registrator**.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2F9lJnK7NhkPwS5UMsCQJE%2Fadding_microsoft_365_tenant_to_xone_5.png?alt=media&amp;token=5571360c-1db6-4e95-8eff-1acd7836f23a" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
If the registration is completed successfully, the following message will appear. Close the tab and return to **GitProtect Management Service**.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2F3mOBbOfJjPsu4yV4SUUz%2Fadding_microsoft_365_tenant_to_xone_6.png?alt=media&amp;token=acdd2a57-4132-42ee-a3ce-1135afc9ab3e" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
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.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fb7yFGNkkY6n6SaUavqY0%2Fadding_microsoft_365_tenant_to_xone_7.png?alt=media&amp;token=94f7f76f-cfc9-40f8-8a16-4990b8453cba" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

***

## Additional permissions for shared mailboxes

After adding the organization, you may see the following message. Click **Repair** to configure permissions for shared mailbox protection.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2F2XNneXZPRS36ERWPODh6%2Fadding_microsoft_365_tenant_to_xone_8.png?alt=media&amp;token=12463176-240c-4bed-9a4a-fc89b89d7bf0" alt=""><figcaption></figcaption></figure>

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.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FbZJkqGDc7aRKviXnGDZH%2Fadding_microsoft_365_tenant_to_xone_9.png?alt=media&amp;token=3b201ff5-bee7-4c55-bfdc-b986d59ea624" alt=""><figcaption></figcaption></figure>

After the required permissions have been granted, you can configure a **Microsoft 365** backup plan and start protecting your resources.

***

## Useful links and items

{% content-ref url="/pages/ezmIfnTo5tG6rORWzKlF" %}
[Licensing overview](/gitprotect-software/licensing-overview.md)
{% endcontent-ref %}

{% content-ref url="/pages/uv6Gm8udM6Sv8Ki6VzrB" %}
[Required permissions](/backup-and-recovery/microsoft-365/integration/required-permissions.md)
{% endcontent-ref %}

{% content-ref url="/pages/JP5h53YHCHjm3WowUvtm" %}
[Enabling SharePoint protection in GitProtect](/backup-and-recovery/microsoft-365/integration/enabling-sharepoint-protection-in-gitprotect.md)
{% endcontent-ref %}
