Show answerHide answer
Correct answer: C the View Only Audit Logs role in the Exchange admin center
Explanation
Explanation:To grant User1 permission to search Microsoft 365 audit logs (via the unified audit log in the Microsoft Purview portal) while adhering to the principle of least privilege, assign the View-Only Audit Logs role in the Exchange admin center. This role provides read-only access to audit log search cmdlets (e.g., Search-UnifiedAuditLog), allowing User1 to query and view audit records for activities across Microsoft 365 services like Exchange, SharePoint, and Entra ID without broader administrative capabilities. It is the minimal permission for this task, as it excludes actions like enabling/disabling auditing, managing compliance settings, or modifying resources.
To implement:
Sign in to the Exchange admin center (admin.exchange.microsoft.com) with admin privileges. Navigate to Roles > Permissions > Admin roles.
Create a custom role group (e.g., "Audit Log Searchers"), add the View-Only Audit Logs role to it, and assign User1 as a member.
User1 can then access audit log search at https://purview.microsoft.com/auditlogsearch.
This approach avoids over-privileging User1, reducing security risks. Note: Permissions must originate from Exchange Online; assigning similar roles directly in Purview or elsewhere won't enable the cmdlet.
Why other options are incorrect:
A. the Security Reader role in the Microsoft Entra admin center:
This Entra ID (formerly Azure AD) role grants read-only access to security-related data in the Entra admin center, such as sign-ins and risk detections, but does not include permissions for Microsoft 365 unified audit log search, which relies on Exchange cmdlets.
B. the Compliance Management role in the Exchange admin center:
This role provides extensive compliance permissions, including full audit log access plus eDiscovery, retention policy management, and data loss prevention configuration—far exceeding the least privilege needed for read-only audit searches.
D. the Reviewer role in the Microsoft Purview portal:
This role is for eDiscovery workflows, allowing review of case-specific content (e.g., custodian data) but not general access to search the unified audit log across the tenant.
References:
Microsoft Learn - Set up Audit (Standard) in Microsoft Purview
Microsoft Learn - Search the audit log in the Microsoft Purview portal
Microsoft Learn - Permissions in the Microsoft Purview portal





