Skip to main content

πŸ“ 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​

Our Metadata​

  • Policy Type: COMPLIANCE_POLICY
  • Policy Category:
    • SECURITY

Description​

Open File

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:

... see more

Remediation​

Open File

Remediation​

From Azure Portal​

  1. Go to Microsoft Entra ID.

  2. Under Monitoring, click Diagnostic settings.

  3. Click + Add diagnostic setting.

  4. Provide a Diagnostic setting name.

  5. 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
  6. Configure an appropriate destination for the logs.

  7. Click Save.

policy.yaml​

Open File

Linked Framework Sections​

SectionSub SectionsInternal RulesPoliciesFlags
πŸ’Ό 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 Configuration59