# Adding Microsoft 365 tenant to Xopero ONE

## Using OAuth

{% stepper %}
{% step %}
Log in to [**XMS**](#user-content-fn-1)[^1] and open the **Microsoft 365** tab on the left side of the window.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FG5BiQOaJ5ePp4uKH34g6%2Fimage.png?alt=media&#x26;token=6ab93365-a5f9-4838-b5f1-5123aad8696a" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FP4TYf8a6avWLf951rpHA%2Fimage.png?alt=media&#x26;token=17906060-2d4c-4482-889e-28a95737845c" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Copy the **app authentication code** and click **Log in to Microsoft 365 button**.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FdVOJC9eA36d1BPvLqBFi%2Fimage.png?alt=media&#x26;token=6a51bb73-03e2-49f3-9850-6cf21b02531d" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Enter the code you've just copied and click **Next** to proceed.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FB78h4bNdGG0KW4IBrGXP%2Fimage.png?alt=media&#x26;token=a6429a44-8f51-40c4-b49a-540abc43e0cd" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Confirm your sign-in to **Xopero Registrator** by clicking **Continue**.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FuOJvOU8PJQkRDmN5SJOY%2Fimage.png?alt=media&#x26;token=bca90f7d-2d2b-4784-b801-935beb363c42" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
If the registration was completed successfully, you will see the following message. Close the tab and go back to **XMS**.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FFy6VWf0QK2VY4lcyZ33a%2Fimage.png?alt=media&#x26;token=4d2a6e96-e022-464c-960d-a456dbc18148" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Your **Microsoft 365** organization has now been successfully added to **Xopero ONE**. Click **Custom policy** to adjust your backup policy settings, or click **Run backup** to execute the backup immediately using the current policy configuration.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FJbnhYtANrjeGldzXiVrp%2Fimage.png?alt=media&#x26;token=4b9eed6c-271a-4a17-b2d3-7a9f162a808d" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
To access advanced settings for your organization, open your **Microsoft 365** dashboard and click **Edit** in the left-bottom corner of your organization tile. In the advanced settings, you can configure your license management, adjust user sync interval, and change the default worker.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2F2wv7CrWWaBI3iEhLguEV%2Fimage.png?alt=media&#x26;token=20714ff9-f7f5-4ff2-9188-86a492ba1880" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

[^1]: Xopero ONE Management Service
