> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-cloud-runtime-security/cortex-cloud-data-sources-and-connectors/vendor-specific-data-sources/microsoft/microsoft-office-365.md).

# Microsoft Office 365

You can configure collecting Microsoft Office 365 logs and data using a Standard Collector, content pack integration (onboarded prior to July 26, 2026), or connectors:

| Google Workspace vendor                                                      | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Standard Collector overview                                                  | Forward logs and data to Cortex Cloud from Microsoft Office 365 Management Activity API and Microsoft Graph API using the Office 365 data source.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| Link to Standard Collector instructions                                      | <p>The following types of logs and data can be ingested from Microsoft Office 365 Management Activity API and Microsoft Graph API:</p><ul><li><p>Microsoft Office 365 audit events from Management Activity API</p><ul><li>Microsoft Entra ID (Azure AD)</li><li>Exchange Online</li><li>SharePoint Online</li><li>DLP</li><li>General</li></ul></li><li>Microsoft Entra ID (Azure AD) authentication and audit events from Microsoft Graph API</li><li><p>Microsoft 365 alerts from Microsoft Graph Security API are available for different products:</p><ul><li>Microsoft Graph Security API v1</li><li>Microsoft Graph Security API v2</li></ul></li></ul><p>For more information, see <a href="/pages/EQmZpXEriHBKUJz5pNVd">Ingest logs from Microsoft Office 365</a>.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Links to content pack/integration details (onboarded prior to July 26, 2026) | <ul><li><p>The <a href="https://cortex.marketplace.pan.dev/marketplace/details/MicrosoftExchangeOnline">Microsoft Exchange Online</a> content pack integrates with Exchange Online and Office 365 mail services to enable monitoring, searching, content retrieval, deletion of emails, and management of tenant allow/block lists. The content items in this pack include several playbooks focused on searching and deleting content, automations like GetEWSFolder and CreateCertificate, and the following integrations:</p><ul><li><a href="https://xsoar.pan.dev/docs/reference/integrations/ewso365">EWS O365</a>: Use this integration to retrieve information on emails and activities in a target mailbox and perform operations such as deleting emails and attachments, moving email items, handling mail sending and replying including inline images, and retrieving out-of-office status information.</li><li><a href="https://xsoar.pan.dev/docs/reference/integrations/security-and-compliance-v2">O365 - Security And Compliance - Content Search v2</a>: Use this integration to manage security and compliance content search across organizational assets including emails, SharePoint sites, and OneDrives, and to perform actions like previewing and deleting emails. It includes the capability to delete an email for all recipients using the <strong><code>o365-sc-email-security-search-and-delete-email-office-365-quick-action</code></strong> command.</li><li><a href="https://xsoar.pan.dev/docs/reference/integrations/ews-extension-online-powershell-v3">EWS Extension Online Powershell v3</a>: Use this integration to retrieve information about mailboxes and users in your organization, and to retrieve and modify tenant allow/block lists. It includes commands that retrieve information about mailboxes and users, display client access settings, retrieve permissions, list recipient objects, and manage tenant allow/block list entries (add, remove, list, count). It also includes commands to enable or disable mail flow rules and mail forwarding, and to list message trace details.</li></ul></li><li><p>The <a href="https://cortex.marketplace.pan.dev/marketplace/details/MicrosoftGraphAPI">Microsoft Graph API</a> content pack provides the capability to interact with Microsoft APIs that do not have dedicated integrations in Cortex XDR, such as Mail Single-User. It includes the following integration:</p><ul><li><a href="https://xsoar.pan.dev/docs/reference/integrations/microsoft-graph-api">Microsoft Graph API</a>: Use this integration to interact with various Microsoft APIs, such as Mail Single-User, that currently lack dedicated integrations in Cortex XDR. It includes commands that facilitate making specific API requests (<strong><code>msgraph-api-request</code></strong> which supports headers), managing the authentication process by generating login URLs (<strong><code>msgraph-api-generate-login-url</code></strong>) to support the OAuth consent dialog, and resetting the authentication context if needed (<strong><code>msgraph-api-auth-reset</code></strong>)</li></ul></li></ul> |
| Link to connector details                                                    | <ul><li><a href="/pages/zs8FDgWMqVBCIKGeNiGU">Microsoft 365</a></li><li>Microsoft Graph (onboarded after July 26, 2026)</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |


---

# 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 dynamically by asking a question.

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

```
GET https://cortex-docs.paloaltonetworks.com/cortex-cloud-runtime-security/cortex-cloud-data-sources-and-connectors/vendor-specific-data-sources/microsoft/microsoft-office-365.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
