# 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="/files/pLs0sIc6YybimH9IFBv0" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="/files/zKjfyjrL9nqzhaediJ8H" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="/files/Ze4dMRy4qixXsIqSeE3X" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="/files/grcC86rjotpZGJNr5SNA" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="/files/3jMPj4A3pZUukuoiAXre" 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="/files/9JHJEX7FqpIAzh1Gf3lK" 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="/files/RYdFGObDTc62bBVCpnlU" 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="/files/xOi1yppVA7IJTXQ5SLjN" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

[^1]: Xopero ONE Management Service


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpcenter.xopero.com/xopero-one-en/backup-and-recovery/microsoft-365/integration/adding-microsoft-365-tenant-to-xopero-one.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
