Microsoft 365 tenant · Logging & monitoring

Turn on the unified audit log

When it fails: User and administrator activity in Microsoft 365 is not recorded in the unified audit log. Without audit log ingestion, mailbox access, file sharing, admin changes and many security events leave no searchable trace, and an intrusion cannot be investigated.

CB-M365-AUDIT-001criticalactivemanualprofile baseline

Description

Unified audit log ingestion is on for the organization (UnifiedAuditLogIngestionEnabled = True). User and administrator activities from Exchange Online, SharePoint, OneDrive, Teams, Microsoft Entra ID, Power Platform, Copilot and the other Microsoft 365 services are recorded and searchable in Microsoft Purview Audit.

Run the check in Exchange Online PowerShell: in Security & Compliance PowerShell the same cmdlet always returns False for this property.

Rationale

The unified audit log is the main source of evidence for Microsoft 365 incidents: mailbox rules created by an attacker, files downloaded, permissions granted, admin roles changed. It is on by default in most tenants but can be turned off by an administrator, sometimes by an attacker to hide activity. Every other logging control (export to the SIEM, alerting, retention) depends on it.

Impact

None known. Turning it on can take up to 60 minutes to apply.

Setting

LocationMicrosoft Purview portal > Solutions > Audit (Exchange Online Get-AdminAuditLogConfig UnifiedAuditLogIngestionEnabled)
DefaultTrue (most tenants)
RecommendedTrue

Audit

  1. Sign in to the Microsoft Purview portal (https://purview.microsoft.com) as at least a member of a role group with the View-Only Audit Logs or Audit Logs role.
  2. Browse to Solutions > Audit. If a banner offers Start recording user and admin activity, the log is off.
  3. Run a search for the last 24 hours and check that results are returned.
  4. Alternative in Exchange Online PowerShell (View-Only Organization Management is enough): Get-AdminAuditLogConfig | Format-List UnifiedAuditLogIngestionEnabled.
  5. Fail if UnifiedAuditLogIngestionEnabled is False or the Audit page offers to start recording.

Remediation

  1. Sign in to the Microsoft Purview portal with the Audit Logs role (for example Organization Management or Compliance Administrator).
  2. Browse to Solutions > Audit and select Start recording user and admin activity.
  3. Alternative in Exchange Online PowerShell (Audit Logs role): Set-AdminAuditLogConfig -UnifiedAuditLogIngestionEnabled $true.
  4. Restrict who can turn it off (CB-M365-AUDIT-012) and alert on the change (audit operation Set-AdminAuditLogConfig).

Rollback

Not recommended. Set-AdminAuditLogConfig -UnifiedAuditLogIngestionEnabled $false stops recording.

References

Mappings

FrameworkIDRelationNote
ANSSI - Recommandations de sécurité pour l'architecture d'un système de journalisation1.0R2partialApplies the recommendation to Microsoft 365 services only.
NIST SP 800-53 Rev. 55.1.1AU-2related
NIST SP 800-53 Rev. 55.1.1AU-12related
CISA SCuBA Microsoft 365 Secure Configuration Baselines2.0.0MS.SECURITYSUITE.5.1v1equivalent

How this control relates to the other framework's: equivalent, stricter, looser, partial or related.

Threats mitigated

People and lifecycle

Authors
Introduced inv0.1.0
Created, updated2026-10-24, 2026-10-24
Translationsfr