Microsoft Purview: Update to ResultCount parameter in the Search-UnifiedAuditLog cmdlet
Microsoft Purview updates the Search-UnifiedAuditLog cmdlet’s ResultCount parameter to show a running count of results in real time, adding a new boolean property, AuditSearchRequestMetadata.moreRecordsAvailable, to indicate if more records remain. This improves query progress visibility and affects scripts relying on ResultCount as a final total. To improve performance and provide better visibility into query progress, we are updating the behavior of the ResultCount parameter for the Search-UnifiedAuditLog cmdlet in Microsoft Purview Audit. Previously, the ResultCount parameter returned the total number of results expected from a query. With this update, ResultCount will display a running count of results as they are retrieved in real time. We are also introducing a new boolean property, AuditSearchRequestMetadata.moreRecordsAvailable, which indicates whether additional records are still being retrieved. Together, these updates provide administrators with improved transparency into audit log search progress and better support for script and automation scenarios. When this will happen General Availability (Worldwide, GCC): We began rolling out in mid-May 2026 and expect to complete by late May 2026. General Availability (GCC High, DoD): We will begin rolling out in early June 2026 and expect to complete by late June 2026. How this affects your organization Who is affected Administrators who use Microsoft Purview Audit Administrators running the Search-UnifiedAuditLog cmdlet in PowerShell Organizations with scripts or automation that rely on audit log search results What will happen The ResultCount parameter will now display a running count of results as they are retrieved during query execution. A new boolean property, AuditSearchRequestMetadata.moreRecordsAvailable, will indicate whether additional records are still being retrieved. While the query is running: ResultCount shows the number of records retrieved so far. moreRecordsAvailable is set to true. When the query completes: ResultCount reflects the final total number of results. moreRecordsAvailable is set to false. This feature is enabled by default. There is no change to audit log data or retention. Existing scripts that rely on ResultCount representing a final total before completion may require updates. What you can do to prepare Review existing scripts and automation that rely on ResultCount to determine total results. Update scripts to use AuditSearchRequestMetadata.moreRecordsAvailable to confirm when […]
The post Microsoft Purview: Update to ResultCount parameter in the Search-UnifiedAuditLog cmdlet appeared first on M365 Admin.
Published on:
Learn moreWe can help you with Microsoft Purview: Update to ResultCount parameter in the Search-UnifiedAuditLog cmdlet
If you want help implementing, troubleshooting, or improving this product, contact us and we’ll point you in the right direction.
Related posts
Microsoft PowerPoint: Summarize sales for leaders Copilot skill
Microsoft PowerPoint will introduce a new Copilot skill, “Summarize sales for leaders,” by early November 2026, enabling users to ...
Updates available for Microsoft 365 Apps for Current Channel
We’ve released updates to the following update channel for Microsoft 365 Apps: Current Channel When this will happen: We’ll be gra...
Microsoft PowerPoint: Draft proposal response Copilot skill
Microsoft PowerPoint is introducing a new Copilot skill, Draft proposal response, to help users create customer-specific proposal drafts. It w...
Microsoft PowerPoint: Prepare customer review deck Copilot skill
A new Copilot skill in PowerPoint will help users create customer review decks focused on business goals and outcomes. Rolling out worldwide f...
Frontier expands to include public previews in Microsoft Teams, new Outlook for Windows, OneDrive, and SharePoint
Starting November 2026, Microsoft Frontier expands to offer public preview features in Teams, new Outlook for Windows, OneDrive, and SharePoin...
Microsoft PowerPoint: Review sales pipeline Copilot skill
Microsoft PowerPoint will introduce a new Copilot skill, Review sales pipeline, by early November 2026. It helps users create or update pipeli...
Microsoft Windows: Updates to address compromised eMudhra certificate authority keys
Microsoft is updating Windows, Edge, and WebView2 to block eight compromised eMudhra certificate authority keys by late October 2026. Organiza...
The October 2026 Windows non-security preview update is now available
The October 2026 non-security preview update is now available for Windows 11, versions 26H2, 26H1, and 25H2. Information about the contents of...
Dynamics 365 Contact Center – Boost contact center efficiency with Real Time Streaming Analytics
We are introducing Real-Time Streaming Analytics in the new Contact Center supervisor workspace application, providing supervisors with near r...
Dynamics 365 Business Central: Expense Agent mobile app
The Expense Agent mobile app for Dynamics 365 Business Central extends expense capture to iOS and Android mobile devices by enabling employees...