# How do I connect the Microsoft tenant for data collection?

365 Analytics reporting uses application consent to collect data from your Microsoft 365 tenant. Application consent is used to collect data via the Graph API.&#x20;

To learn why this is important, what data is collected, and what security measures are in place, [What data do you collect for 365 Analytics?](/help-and-support/faqs/what-data-do-you-collect-for-365-analytics.md)

Follow these steps to connect your 365 tenant:

1. Browse to the URL that SoftwareOne provided. You'll either receive the URL from the SoftwareOne support team, or you'll see a banner in 365 Analytics stating that the data collector requires additional permissions.
2. Sign in to the Client Portal with the agreed global administrator account. Use the password that was set in Client Portal, not your Microsoft 365 account password.
3. Select **Connect Tenant**.&#x20;

<figure><img src="/files/VAM6M0y6hpeX3komWP7T" alt=""><figcaption></figcaption></figure>

4. Enter your Microsoft 365 Tenant ID.

<figure><img src="/files/GfFPsN0pnHlUjgqlyJf8" alt=""><figcaption></figcaption></figure>

5. Enter your Microsoft 365 global administrator account username and password. Use your Microsoft 365 Entra ID account, not your Client Portal credentials. The user must be a Global Admin for authorization to work.

<figure><img src="/files/dmPu4kRaHMo2Z74YWSWr" alt=""><figcaption></figcaption></figure>

6. Authorize 365 Analytics access to read your Microsoft 365 Tenant. Select **Accept**.<br>

<figure><img src="/files/PQ8Ippdt7O2Os0ebRhZM" alt=""><figcaption></figcaption></figure>


---

# 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://docs.platform.softwareone.com/help-and-support/faqs/how-do-i-connect-the-microsoft-tenant-for-data-collection.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.
