Action required for Exchange Online administrators!
If you’re using Get-MailDetailTransportRuleReport or Get-MailTrafficPolicyReport in PowerShell scripts or automated reporting, review them now.
From July 30, 2026, these cmdlets no longer return transport rule data by default. To retrieve transport rule results, you must explicitly specify one of the following:
• -EventType TransportRuleHits
• -EventType TransportRuleActionHits
Without the appropriate -EventType parameter, scripts may return incomplete or empty results, potentially affecting reporting, automation, and compliance workflows.
Recommended actions:
- Review existing PowerShell scripts and scheduled jobs
- Add the required
-EventTypeparameter where transport rule data is expected - Validate the updated scripts before deploying to production
This change affects only Get-MailDetailTransportRuleReport and Get-MailTrafficPolicyReport. Other Exchange Online cmdlets are not impacted. If your organization depends on transport rule reporting, updating your scripts should be a priority to ensure reporting continues to work as expected.