SHD / MC Checker

MC1323250 | [Action Required] Update scripts using Get-MailDetailTransportRuleReport and Get-MailTrafficPolicyReport



MC1323250 | [Action Required] Update scripts using Get-MailDetailTransportRuleReport and Get-MailTrafficPolicyReport

Classification planForChange
Last Updated 05/27/2026 18:13:03
Start Time 05/26/2026 21:58:46
End Time 08/30/2026 07:00:00
Action Required By Date 2026-07-30T07:00:00Z
Message Content

[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.

Machine Translation

[何となぜ:]

トランスポートルール報告の明確さ、精度、パフォーマンスを向上させるために、Microsoftは2つのExchange Onlineレポートコマンドレットの挙動を更新しています。2026年7月30日以降、 Get-MailDetailTransportRuleReport および Get-MailTrafficPolicyReport、リクエストが関連するEventTypeを明示的に指定した場合にのみトランスポートルールデータを返します。この変更により、クエリの報告が意図的かつ予測可能であり、トランスポートルールイベントの生成・記録方法と整合性が保たれます。

このアップデートは、曖昧な結果を減らし、管理者がより信頼性の高い自動化およびコンプライアンス報告を構築するのを支援することで、エンタープライズ対応の管理性を支援します。

[展開スケジュール:]

一般公開(世界開始):  2026年7月下旬 から展開を開始し、 7月下旬までに完了する予定です。

[組織への影響:]

影響を受ける人物:

  • Exchange Online管理者
  • セキュリティ、コンプライアンス、またはメッセージングチーム
  • PowerShellスクリプト、自動化、またはレポート作成を用いて、これらのコマンドレットからのトランスポートルールデータに依存する組織なら、

プラットフォーム/サービス:

  • エクスチェンジ・オンライン
  • Exchange Online PowerShell

今後の展開:

  • Get-MailDetailTransportRuleReport および Get-MailTrafficPolicyReport は、デフォルトでトランスポートルールの結果を返しません。
  • トランスポートルールデータは、以下のいずれかのパラメータが明示的に含まれている場合にのみ返されます。
    • -EventType TransportRuleHits
    • -EventType TransportRuleActionHits
  • これらのパラメータを含まないスクリプトやレポートは 、空や不完全な結果を返すことがあります。
  • この変更はこれら2つのコマンドレットにのみ適用されます。他のExchange Onlineのコマンドレットは影響を受けていません。 

[行動が必要/推奨事項:]

もし組織がこれらのコマンドレットをトランスポートルール報告に使用している場合は、 2026年7月30日までに対応が必要です

推奨される行動:

  • 以下を使用するすべてのスクリプト、スケジュールされたジョブ、自動化を確認してください。
    • Get-MailDetailTransportRuleReport
    • Get-MailTrafficPolicyReport
  • トランスポートルールの結果に明示的に以下を含める必要がある更新クエリ:
    • -EventType TransportRuleHits または
    • -EventType TransportRuleActionHits
  • 非本番環境やテスト環境で更新されたスクリプトを検証します。
  • 社内のドキュメントや運用ランブックを更新しましょう。
  • この変更をメッセージングおよびセキュリティ運用チームに通知してください。

[コンプライアンス上の考慮事項:]

この変更により、管理者がコンプライアンスおよび監査目的でトランスポートルールデータの取得および報告方法を変更します。