New rules start disabled
A rule created in the EAC has its status disabled by default. If a new rule does nothing, check that first. Turn it on in the EAC rule list or with Enable-TransportRule; New-TransportRule takes -Enabled.
Changes are not instant
A new or changed rule can take 30 minutes or more to apply. A test two minutes after saving proves nothing. Activation dates are optional: without them an enabled rule runs all the time.
Back up before you change
Rule history is not kept, so you cannot revert a rule. Before a large change, save the collection with Export-TransportRuleCollection. Import-TransportRuleCollection loads rules, and Microsoft says it will be deprecated; it provides a script instead. Saving and restoring the collection is PowerShell-only.
Checking that a rule fired
- One message: the extended message trace (EAC > Mail flow > Message trace, or Get-MessageTraceV2 and Get-MessageTraceDetailV2 in EXO V3 module 3.7.0 or later) records rule matches as S:TRA=ETR with the ruleId, the time, the action (for example ApplyHtmlDisclaimer), the severity and the mode.
- Counts over time: the Exchange Transport Rule report under EAC Reports > Mail flow. Its data can take up to 5 days to appear.
Get-TransportRule shows a rule's settings, not the messages it matched. The Change Optics Report is about Direct Send, not rules.
Traps
- Hitting the 300-rule limit stops you saving a rule; it does not leave a saved rule silent.
- Severity High does not make a rule run, or run sooner.
- Legacy Get-MessageTrace began deprecating on September 1, 2025; use the V2 cmdlets.