> For the complete documentation index, see [llms.txt](https://docs.platform.softwareone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.platform.softwareone.com/help-and-support/faqs/how-do-i-connect-the-microsoft-tenant-for-data-collection.md).

# 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="https://content.gitbook.com/content/Z5DNbniz33mXCZoO62Rm/blobs/A0OoiSVCkjJ2RGRcFSPA/image.png" alt=""><figcaption></figcaption></figure>

4. Enter your Microsoft 365 Tenant ID.

<figure><img src="https://content.gitbook.com/content/Z5DNbniz33mXCZoO62Rm/blobs/D4LHeLEg4zOUCaaBDqmw/image.png" 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="https://content.gitbook.com/content/Z5DNbniz33mXCZoO62Rm/blobs/9WjLf7MzE2STWJVapE9u/image.png" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://content.gitbook.com/content/Z5DNbniz33mXCZoO62Rm/blobs/doLA6T7DNETKSl41QEDk/image.png" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.platform.softwareone.com/help-and-support/faqs/how-do-i-connect-the-microsoft-tenant-for-data-collection.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
