Ingest logs and data from Microsoft Office 365 Management Activity API and Microsoft Graph API for use in Cortex XSIAM.
Important
Migration Advisory: Microsoft Graph Security API v1 to v2
Microsoft will retire the Legacy Alerts (v1) API endpoint in April 2026. To avoid service interruption, instances currently using the legacy Alerts (v1) option must manually transition to the v2 GA endpoint by selecting the → option.
Schema impact: Moving from v1 to v2 involves schema changes. While all out-of-the-box content is compatible, you must manually review and adjust custom correlation rules, parsing rules, and dashboards to align with the v2 schema.
Note
Ingesting Microsoft Entra ID (formerly known as Azure AD) authentication and audit events from Microsoft Graph API requires a Microsoft Azure Premium 1 or Premium 2 license. Alternatively, if the directory type is Azure AD B2C, the sign-in reports are accessible through the API without any additional license requirement.
To ingest email logs and data from Microsoft Office 365, use the dedicated data collector. For more information, see Ingest logs and data from Microsoft 365.
Cortex XSIAM can ingest the following logs and data from Microsoft Office 365 Management Activity API and Microsoft Graph API using the Office 365 data collector. Alerts are collected with a delay of 5 minutes. If your organization requires collection that is closer to real-time collection, we recommend using the Microsoft Azure Event Hub integration instead. For more information, see Ingest logs from Microsoft Azure Event Hub.
To ingest email logs and data from Microsoft Office 365, use the dedicated data collector. For more information, see Ingest logs and data from Microsoft 365.
Microsoft Office 365 audit events from Management Activity API, which provides information about various user, administrator, system, and policy actions and events from Office 365, Microsoft Entra ID (formerly known as Azure AD) and MDO activity logs.
Note
When auditing is turned off from the default setting, you need to first turn on auditing for your organization to collect Microsoft Office 365 audit events from the Management Activity API. Log duplication of up to 5% in Microsoft products is considered normal. In some cases, such as login to a portal using MFA, two log entries are recorded by design.
Microsoft Entra ID (Azure AD) authentication and audit events from Microsoft Graph API.
When collecting Azure AD Authentication Logs, Cortex XSIAM also collects by default all sign-in event types from a beta version of Microsoft Graph API, which is still subject to change. In addition to classic interactive user sign-ins, selecting this option allows you to collect.
Non-interactive user sign-ins.
Service principal sign-ins.
Managed Identities for Azure resource sign-ins.
Note
To address Azure reporting latency, there is a 10-minute latency period for Cortex XSIAM to receive Azure AD logs.
Microsoft 365 alerts from Microsoft Graph Security API are available for different products.
Microsoft Graph Security API v1: Alerts from various products (including Microsoft Defender for Cloud and Microsoft Entra ID Protection) are available via this endpoint.
Important
Microsoft has deprecated the Legacy Alerts (v1) API in April 2026. To avoid service interruption, you must migrate to the v2 endpoint before this date.
Microsoft Defender for Cloud, Azure Active Directory Identity Protection, Microsoft Defender for Cloud Apps, Microsoft Defender for Endpoint, Microsoft Defender for Identity, Microsoft 365, Azure Information Protection, and Azure Sentinel.
Microsoft Graph Security API v2 (GA): This endpoint provides a unified alerts API for Microsoft 365 Defender, Microsoft Defender for Identity, and Microsoft Purview Data Loss Prevention.
Microsoft 365 Defender unified alerts API, which serves alerts from Microsoft 365 Defender, Microsoft Defender for Endpoint, Microsoft Defender for Office 365, Microsoft Defender for Identity, Microsoft Defender for Cloud Apps, and Microsoft Purview Data Loss Prevention (including any future new signals integrated into M365D).
Note
You can also implement the corresponding Cortex Data Model (XDM) mappings for these Microsoft Graph Security API v2 alerts using Cortex Marketplace via the Microsoft Graph Security content pack.
To view alerts from the various products via the Microsoft Graph Security API versions, you need to ensure that you've set up the applicable licenses in Office 365. The table below lists the various licenses required for the different Microsoft Defender products. For more information on other Microsoft product licenses, see the Microsoft documentation.
Product
Standalone license
E3 license
E3 + Security add-on license
E5 license
E5 Security license
E5 Compliance license
Microsoft Defender for Endpoint Plan 1
✓
✓
✓
—
—
—
Microsoft Defender for Endpoint Plan 2
—
—
✓
✓
✓
—
Microsoft Defender for Identity
—
—
✓
✓
✓
—
Microsoft Defender for Office 365 Plan 1
✓
—
—
—
—
—
Microsoft Defender for Office 365 Plan 2
✓
—
✓
✓
✓
—
Microsoft Defender for Cloud Apps
—
—
✓
✓
✓
✓
Note
For more information, see the Office 365 Management Activity API schema.
To receive logs from Microsoft Office 365, you must first configure the Data Sources & Integrations settings in Cortex XSIAM. After you set up data collection, Cortex XSIAM begins receiving new logs and data from the source.
When Cortex XSIAM begins receiving logs, the app creates a new dataset for the different types of logs and data that you are collecting, which you can use to initiate XQL Search queries. For example queries, refer to the in-app XQL Library. For all Microsoft Office 365 logs, Cortex XSIAM can also generate Cortex XSIAM issues (Analytics, IOC, BIOC, and Correlation Rules), when relevant, from Office 365 logs. While Correlation Rules issues are generated on non-normalized and normalized logs, Analytics, IOC, and BIOC issues are only generated on normalized logs.
For the different types of data you can collect using the Office 365 data collector, the following table lists the different datasets, vendors, and products automatically configured, and whether the data is normalized.
Data type | Dataset | Vendor | Product | Normalized data |
|---|---|---|---|---|
Microsoft Office 365 audit events from Management Activity API | ||||
|
|
|
| — |
|
|
|
| Cortex XSIAM supports normalizing Exchange Online audit logs into stories, which are collected in a dataset called |
|
|
|
| Cortex XSIAM supports normalizing SharePoint Online audit logs into stories, which are collected in a dataset called |
|
|
|
| — |
|
|
|
| Cortex XSIAM supports normalizing General audit logs into stories, which are collected in a dataset called |
Microsoft Entra ID (Azure AD) authentication events from Microsoft Graph API |
|
|
| When relevant, Cortex XSIAM normalizes Azure AD authentication logs and Azure AD Sign-in logs to authentication stories. |
Microsoft Entra ID (Azure AD) audit events from Microsoft Graph API |
|
|
| When relevant, Cortex XSIAM normalizes Azure AD audit logs to cloud audit logs stories. |
Alerts from Microsoft Graph Security API v1 and v2 |
|
|
| — |
*Note: For the saas_audit_logs dataset, the Vendor is saas and Product is Audit Logs.
Note
In FedRAMP environments, Azure sign-in logs are not supported, due to vendor technical constraints.