Compliance Problems

How to Fix Microsoft 365 Administrator Cannot Retrieve Audit Logs Error

Khadija KhanKhadija Khan Nov 3, 2026 869 views

Question details

The user is unable to retrieve audit logs in Microsoft 365 due to an organization compliance-policy update error, despite having Global Administrator permissions.

How to Fix Microsoft 365 Administrator Cannot Retrieve Audit Logs Error
Product
Microsoft 365
Device & OS
not provided
Scenario
Attempting to search and retrieve audit logs for compliance monitoring in the Microsoft 365 admin interface.
Observed behavior
The audit log search fails and returns an organization compliance-policy update error instead of displaying the requested log data.
Before you start

Verify that audit logging is fully enabled for your organization and that your admin account is explicitly assigned the 'View-Only Audit Logs' or 'Audit Logs' role in the Exchange admin center.

Solution 1Recommended

Use Exchange Online PowerShell to Retrieve Audit Logs

Bypassing the Microsoft 365 web portal by executing the search via Exchange Online PowerShell helps determine if the failure is isolated to the web interface.

Often, compliance portal errors are limited to the user interface. Using PowerShell allows administrators to directly query the unified audit log backend, bypassing frontend policy update glitches.

1
Launch PowerShell as Administrator

Open the PowerShell application on your computer. Right-click the PowerShell icon and select 'Run as Administrator' to ensure you have the necessary system permissions.

2
Connect to Exchange Online

Type the command 'Connect-ExchangeOnline' and press Enter. A sign-in window will appear; enter your Microsoft 365 Global Administrator credentials to establish the connection.

3
Run the Audit Log Search Cmdlet

Execute the search by typing a command such as 'Search-UnifiedAuditLog -StartDate (Get-Date).AddDays(-7) -EndDate (Get-Date)' and pressing Enter. Adjust the date parameters according to the specific logs you need.

4
Review the Output

Check the PowerShell console for the returned audit log records. If the logs populate successfully, the previous error is strictly an issue with the Microsoft Purview compliance portal interface.

Use Exchange Online PowerShell to Retrieve Audit Logs
Module Requirement: You must have the ExchangeOnlineManagement module installed in PowerShell to use the Connect-ExchangeOnline cmdlet. You can install it by running 'Install-Module -Name ExchangeOnlineManagement'.
Free Microsoft Office alternative

Looking for a Lightweight Alternative for Everyday Office Tasks?

While administrative tasks like Microsoft 365 audit log retrieval require Microsoft's specialized compliance centers, your daily document, spreadsheet, and presentation needs do not require a heavy subscription. WPS Office provides a complete, free, and highly compatible productivity suite for your everyday workflow.

Fully compatible with Microsoft Office formats, including .docx, .xlsx, and .pptx.Lightweight installation that runs fast and smoothly on almost any device.Free to use with a familiar, tabbed interface that requires zero learning curve.Seamless transition from Microsoft Office for standard daily document processing.
microsoft office alternative - wps office

Frequently Asked Questions

Why am I getting a compliance-policy update error in Microsoft 365?

This error generally occurs when there is a temporary synchronization delay in the Microsoft 365 backend, or if the organization's audit logging feature was recently toggled and is still provisioning across servers.

How long does it take for audit logs to become available after enabling?

After you turn on auditing in the Microsoft 365 compliance center, it can take up to 24 hours for the audit log search feature to be fully provisioned and for recorded events to appear in your search results.

Are Global Administrator permissions sufficient to search audit logs?

No. While Global Administrators have broad access, they must also be explicitly assigned either the 'View-Only Audit Logs' or 'Audit Logs' role within the Exchange admin center permissions to successfully execute searches.