Skip to main content
🦉
Message CenterMicrosoft 365 Updates
HomePermissionsTenant FinderM365 ReportPortfolio
🦉
M365 Message Centerby Cengiz YILMAZ

Track the latest updates, features, and announcements for Microsoft 365 services. Comprehensive archive of service updates and important changes.

Quick Links

HomePermissionsTenant FinderM365 ReportPortfolio

Connect

© 2026 M365 Message Center. Created with ❤ by Cengiz YILMAZ

Data sourced from Microsoft 365 Message Center • Not affiliated with Microsoft

  1. Home
  2. /
  3. MC1310672

Microsoft Purview: Update to ResultCount parameter in the Search-UnifiedAuditLog cmdlet

Plan for Change

Message ID

MC1310672
View in Admin Center

Services

Microsoft Purview

Summary

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.

Details

Introduction

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 queries are complete.
  • Adjust pagination or query logic to incorporate a check for AuditSearchRequestMetadata.moreRecordsAvailable to reliably determine whether more records remain.
  • Test audit log searches and automation during the rollout window from mid-May through late May 2026.
  • If you run Search-UnifiedAuditLog manually in PowerShell and review results interactively, no changes are needed. You will benefit from improved real-time progress visibility.

Learn more: 

  • Learn about auditing solutions in Microsoft Purview | Microsoft Purview | Microsoft Learn
  • Search-UnifiedAuditLog | policy-and-compliance-audit | ExchangePowerShell | Microsoft Learn

If you have questions or need assistance, contact Microsoft Support.

Compliance considerations

QuestionAnswer
Does the change alter how existing customer data is processed, stored, or accessed?Yes. The change modifies how audit search results are reported during execution by providing incremental counts instead of a final total upfront.
Does the change alter how admins can monitor, report on, or demonstrate compliance activities?Yes. Administrators gain improved visibility into audit search progress through real-time result reporting, which can enhance monitoring workflows.

Timeline

Published
May 14, 2026
Message published to Message Center
Updated
May 14, 2026
Message content updated
End Date
Jul 22, 2026
Message timeline ends

Tags

#Feature update#Admin impact

Category

Plan for Change

Related Messages

Similar updates

MC1261586●

Microsoft Purview: Data Lifecycle Management - Retention support Microsoft Teams call logs

Mar 25, 2026
MC1266018●

Microsoft Purview: eDiscovery (Premium) – Review set per case limit increase

Mar 30, 2026
MC1308858

Improving Activity Explorer load performance with updated default time range

May 12, 2026
MC1246001●

Always-on diagnostics for Endpoint DLP – Turned on by default

Mar 6, 2026
MC1273444

Microsoft Whiteboard content is now viewable in Microsoft Purview eDiscovery

Apr 7, 2026