A few days ago, I began experiencing an issue where I can no longer search the Unified Audit Logs via PowerShell in certain tenants. The exact same command works without issue in some tenants, but fails in others.
Here’s the command I’m using:
Search-UnifiedAuditLog `
-StartDate '6/10/2025' `
-EndDate '6/15/2025' `
-Operations "New-InboxRule"
In some environments, this runs successfully. However, in others, I receive the following warning:
WARNING: Failed to process request via SyncSearch flag, returning HttpRequestException. Exception: NotFound , Reason: Not Found.
I currently have a support ticket open with Microsoft, but the issue remains unresolved.
I also came across a similar question posted here:
https://learn.microsoft.com/en-us/answers/questions/2285174/error-when-retrieving-powerbi-audit-data-via-searc
It seems the original poster found a resolution, but their solution hasn’t worked in my case.
I’ve tested various combinations of start and end dates as suggested in the post, but none have resolved the issue.
Update 1 - 6/23/2025:
This appears to be working now. No modifications to my scripts were performed - just running them again.
I still have not been able to find any acknowledgement from Microsoft in the Health section in the admin center for this
Update 2 - 6/23/2025:
I spoke with MS support who was assisting who explained that there was an issue on the backend with caching that had to be manually resolved by them. If anyone else runs into this issue, MS support needs to do something on their end to resolve it.