Description
Ensure that a Microsoft Entra diagnostic setting is configured to send Microsoft Graph activity logs to a suitable destination, such as a Log Analytics workspace, storage account, or event hub. This enables centralized monitoring and analysis of all HTTP requests that the Microsoft Graph service receives and processes for a tenant.
Rationaleβ
Microsoft Graph activity logs provide visibility into HTTP requests made to the Microsoft Graph service, helping detect unauthorized access, suspicious activity, and security threats. Configuring diagnostic settings in Microsoft Entra ensures these logs are collected and sent to an appropriate destination for monitoring, analysis, and retention.
Impactβ
A Microsoft Entra ID P1 or P2 tenant license is required to access the Microsoft Graph activity logs.
The amount of data logged and, thus, the cost incurred can vary significantly depending on the tenant size and the applications in your tenant that interact with the Microsoft Graph APIs.
See the following pricing calculations for respective services:
- Log Analytics: https://learn.microsoft.com/en-us/azure/azure-monitor/logs/cost-logs#pricing-model
- Azure Storage: https://azure.microsoft.com/en-gb/pricing/details/storage/blobs/
- Event Hubs: https://azure.microsoft.com/en-gb/pricing/details/event-hubs/
Auditβ
From Azure Portalβ
- Go to
Microsoft Entra ID
. - Under
Monitoring
, clickDiagnostic settings
. - Next to each diagnostic setting, click
Edit setting
, and review the selected log categories and destination details. - Ensure that at least one diagnostic setting is configured to send
MicrosoftGraphActivityLogs
to an appropriate destination.
Default Valueβ
By default, Microsoft Entra diagnostic settings do not exist.
Referencesβ
- https://learn.microsoft.com/en-us/entra/identity/monitoring-health/howto-configure-diagnostic-settings
- https://learn.microsoft.com/en-us/graph/microsoft-graph-activity-logs-overview
- https://learn.microsoft.com/en-us/azure/azure-monitor/logs/cost-logs#pricing-model
- https://azure.microsoft.com/en-gb/pricing/details/storage/blobs/
- https://azure.microsoft.com/en-gb/pricing/details/event-hubs/