π Microsoft Entra ID Diagnostic Setting does not capture Microsoft Entra activity logs π’
- Contextual name: π Diagnostic Setting does not capture Microsoft Entra activity logs π’
- ID:
/ce/ca/azure/microsoft-entra-id/send-activity-logs
- Located in: π Microsoft Entra ID
Flagsβ
- π’ Impossible policy
- π’ Policy with categories
- π’ Policy with type
Our Metadataβ
- Policy Type:
COMPLIANCE_POLICY
- Policy Category:
SECURITY
Descriptionβ
Descriptionβ
Ensure that a Microsoft Entra diagnostic setting is configured to send Microsoft Entra activity logs to a suitable destination, such as a Log Analytics workspace, storage account, or event hub. This enables centralized monitoring and analysis of Microsoft Entra activity logs.
Rationaleβ
Microsoft Entra activity logs enables you to assess many aspects of your Microsoft Entra tenant. Configuring diagnostic settings in Microsoft Entra ensures these logs are collected and sent to an appropriate destination for monitoring, analysis, and retention.
Impactβ
To export sign-in data, your organization needs an Azure AD P1 or P2 license.
The amount of data logged and, thus, the cost incurred can vary significantly depending on the tenant size.
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/
... see more
Remediationβ
Remediationβ
From Azure Portalβ
Go to
Microsoft Entra ID
.Under
Monitoring
, clickDiagnostic settings
.Click
+ Add diagnostic setting
.Provide a
Diagnostic setting name
.Under
Logs > Categories
, check the box next to each of the following logs:
AuditLogs
SignInLogs
NonInteractiveUserSignInLogs
ServicePrincipalSignInLogs
ManagedIdentitySignInLogs
ProvisioningLogs
ADFSSignInLogs
RiskyUsers
UserRiskEvents
NetworkAccessTrafficLogs
RiskyServicePrincipals
ServicePrincipalRiskEvents
EnrichedOffice365AuditLogs
MicrosoftGraphActivityLogs
RemoteNetworkHealthLogs
NetworkAccessAlerts
Configure an appropriate destination for the logs.
Click
Save
.
policy.yamlβ
Linked Framework Sectionsβ
Section | Sub Sections | Internal Rules | Policies | Flags |
---|---|---|---|---|
πΌ CIS Azure v4.0.0 β πΌ 7.1.1.9 Ensure that a Microsoft Entra diagnostic setting exists to send Microsoft Entra activity logs to an appropriate destination (Manual) | 1 | |||
πΌ Cloudaware Framework β πΌ Logging and Monitoring Configuration | 59 |