Description
Access to Microsoft 365 audit data and settings is limited to named people with an operational need, reviewed at least every six months:
- Write: the roles that can turn the unified audit log or mailbox auditing off, create or delete audit retention policies, or change diagnostic settings (Audit Logs role, Organization Configuration role, Organization Management and Compliance Administrator role groups, Security Administrator for Entra diagnostic settings) are held only by the administrators who manage logging, preferably eligible through PIM;
- Read: the View-Only Audit Logs and Audit Logs roles, Security Reader and Reports Reader are held only by the security, SOC and investigation teams;
- the SIEM copy of the logs (CB-M365-AUDIT-002) has its own access control that tenant administrators cannot change alone.
Rationale
An attacker with administrator rights commonly tries to disable logging or shorten retention before acting. Limiting write access, and keeping an independent copy, preserves the evidence. Audit logs also contain personal data (who read which mail, who opened which file); the GDPR principle of data minimization applies to their readers as much as to their content.
Impact
Administrators who used audit search for troubleshooting must request access or go through the security team.
Audit
- In the Microsoft Purview portal (https://purview.microsoft.com) as at least a Global Reader, browse to Settings > Roles and scopes > Role groups and list the members of role groups that contain Audit Logs, View-Only Audit Logs or Organization Configuration.
- In Exchange Online PowerShell (View-Only Organization Management), list who holds the Audit
Logs role:
Get-ManagementRoleAssignment -Role "Audit Logs" -GetEffectiveUsers | Select-Object EffectiveUserName,RoleAssigneeNameand the same forView-Only Audit Logs; list members of Organization Management withGet-RoleGroupMember "Organization Management". - In the Microsoft Entra admin center, browse to Entra ID > Roles & admins and list the members of Global Administrator, Security Administrator, Compliance Administrator, Security Reader and Reports Reader.
- Compare with the list of people approved for logging administration and investigation.
- Fail if accounts outside the approved list hold these roles, or if no review has taken place in the last six months.
Remediation
- Define and approve the list of people who administer logging and those who investigate.
- Remove other members from the Purview and Exchange role groups (Settings > Roles and
scopes > Role groups, or
Remove-RoleGroupMember) and from the Entra roles. - Where possible, create a dedicated role group with only View-Only Audit Logs for investigators, and move write roles to PIM-eligible assignments.
- Alert on changes to audit settings (
Set-AdminAuditLogConfig,Set-OrganizationConfig -AuditDisabled,New/Set/Remove-UnifiedAuditLogRetentionPolicy, diagnostic setting changes) in the SIEM. - Role required: Organization Management (Exchange, Purview role groups) and Privileged Role Administrator (Entra roles).
Rollback
Add the removed member back to the role group.
References
- Permissions in the Microsoft Purview portal Microsoft, vendor-doc, accessed 2026-10-24
- Search the audit log Microsoft, vendor-doc, accessed 2026-10-24
- Get-ManagementRoleAssignment Microsoft, vendor-doc, accessed 2026-10-24
- Recommandations de sécurité pour l'architecture d'un système de journalisation ANSSI, guide, accessed 2026-10-24
Mappings
| Framework | ID | Relation | Note |
|---|---|---|---|
| ANSSI - Recommandations de sécurité pour l'architecture d'un système de journalisation1.0 | R26 | partial | In Microsoft 365, write access means the ability to disable recording or change retention; logs cannot be edited directly. |
| ANSSI - Recommandations de sécurité pour l'architecture d'un système de journalisation1.0 | R27 | equivalent | |
| NIST SP 800-53 Rev. 55.1.1 | AU-9 | related | |
| NIST SP 800-53 Rev. 55.1.1 | AU-9(4) | related |
How this control relates to the other framework's: equivalent, stricter, looser, partial or related.
Threats mitigated
| Taxonomy | ID |
|---|---|
| MITRE ATT&CK | T1562.008 |
Related controls
- related
CB-M365-AUDIT-001Turn on the unified audit log - related
CB-M365-AUDIT-003Retain Microsoft 365 audit logs long enough for investigations - related
CB-M365-ADMIN-006Grant highly privileged roles just in time through Privileged Identity Management
People and lifecycle
| Authors |
|
| Introduced in | v0.1.0 |
| Created, updated | 2026-10-24, 2026-10-24 |
| Translations | fr |