Loading...

Update scripts using Get-MailDetailTransportRuleReport and Get-MailTrafficPolicyReport

Update scripts using Get-MailDetailTransportRuleReport and Get-MailTrafficPolicyReport

Starting July 30, 2026, Get-MailDetailTransportRuleReport and Get-MailTrafficPolicyReport will return transport rule data only when the -EventType parameter (TransportRuleHits or TransportRuleActionHits) is explicitly specified. Administrators must update related scripts and automation before this date to avoid incomplete results. What and Why: To improve clarity, precision, and performance of transport rule reporting, Microsoft is updating the behavior of two Exchange Online reporting cmdlets. Starting July 30, 2026, Get-MailDetailTransportRuleReport and Get-MailTrafficPolicyReport will return transport rule data only when the request explicitly specifies the relevant EventType. This change helps ensure that reporting queries are intentional, predictable, and aligned with how transport rule events are generated and logged. This update supports enterprise‑ready manageability by reducing ambiguous results and helping administrators build more reliable automation and compliance reporting. Rollout Schedule: General Availability (Worldwide): We will begin rolling out in late July 2026 and expect to complete by late July 2026. Impact on Your Organization: Who is affected: Exchange Online administrators Security, compliance, or messaging teams Any organization using PowerShell scripts, automation, or reporting that relies on transport rule data from these cmdlets Platforms/Services: Exchange Online Exchange Online PowerShell What will happen: Get-MailDetailTransportRuleReport and Get-MailTrafficPolicyReport will no longer return transport rule results by default. Transport rule data will be returned only when one of the following parameters is explicitly included: -EventType TransportRuleHits -EventType TransportRuleActionHits Scripts or reports that do not include one of these parameters may return empty or incomplete results. This change applies only to these two cmdlets. No other Exchange Online cmdlets are affected.  Action Required / Recommendations: If your organization uses these cmdlets for transport rule reporting, action is required before July 30, 2026. Recommended actions: Review all scripts, scheduled jobs, and automation that use: Get-MailDetailTransportRuleReport Get-MailTrafficPolicyReport Update queries that require transport rule results to explicitly include: -EventType TransportRuleHits or -EventType TransportRuleActionHits Validate updated scripts in a non‑production or test context. Update internal documentation and operational runbooks. Notify messaging and security operations teams of this change. Compliance considerations: This change alters how admins retrieve and report on transport rule data for compliance and auditing purposes. Message ID: MC1323250

The post Update scripts using Get-MailDetailTransportRuleReport and Get-MailTrafficPolicyReport appeared first on M365 Admin.

Published on:

Learn more
Need help with this product?

We can help you with Update scripts using Get-MailDetailTransportRuleReport and Get-MailTrafficPolicyReport

If you want help implementing, troubleshooting, or improving this product, contact us and we’ll point you in the right direction.

M365 Admin
M365 Admin

by João Ferreira

Share post:

Related posts

Microsoft PowerPoint for Mac: Improved slide contextual menu consistency

Microsoft PowerPoint for Mac will update slide contextual menus for consistency, removing the Zoom command and Cut/Copy from the slide menu bu...

2 days ago

Microsoft API Hub: Zendesk OAuth tokens will require expiration and automatic refresh

Microsoft API Hub will update Zendesk OAuth tokens to expire after 48 hours with refresh tokens expiring after 90 days, supporting automatic r...

2 days ago

Take action to prevent RD Web Access rendering failures

The Remote Desktop Web Access (RD Web Access) experience included with Windows Server relies on Extensible Stylesheet Language Transformations...

2 days ago

Dynamics 365 Contact Center – Improved feature discoverability within Contact Center Admin Center

We are announcing improvements for discovering the latest features and news about capabilities in Dynamics 365 Contact Center. This feature wi...

2 days ago

Microsoft PowerPoint for Windows: Improved slide contextual menu consistency

Microsoft PowerPoint for Windows will update the slide contextual menu for better consistency and organization, removing the low-usage Photo A...

2 days ago

Microsoft Outlook: New event duplication capability

Microsoft Outlook is adding a “Duplicate event” feature allowing users to quickly create new events from existing ones without re-...

2 days ago

Microsoft 365 Copilot in PowerPoint: ‘Clarify my thinking’ skill for desktop

Microsoft 365 Copilot in PowerPoint on desktop introduces the “Clarify my thinking” skill, helping users refine ideas and improve ...

2 days ago

Microsoft 365 Copilot in PowerPoint: ‘Clarify my thinking’ skill for Mac

Microsoft 365 Copilot in PowerPoint on Mac introduces the “Clarify my thinking” skill to help users refine ideas and improve prese...

2 days ago

Microsoft 365 Copilot in PowerPoint: ‘Clarify my thinking’ skill for web

Microsoft 365 Copilot in PowerPoint on web introduces the “Clarify my thinking” skill, helping users refine ideas and improve pres...

2 days ago

Microsoft PowerPoint for Windows: Smarter Keep Source Formatting slide pasting experience

PowerPoint for Windows now imports only necessary slide masters and layouts when pasting slides with Keep Source Formatting, reducing file siz...

2 days ago

Newsletter

Get the latest Dynamics 365 and Power Platform content in your inbox

A curated digest of community blogs, product news, videos, and podcasts — delivered without the noise.

Weekly updates Unsubscribe anytime Fresh community picks
We use your email only for the newsletter and you can unsubscribe at any time.
By subscribing, you agree to the privacy policy.