Mail Flow Rules (also known as Exchange Transport Rules) are policies in Microsoft 365 that control how emails are processed as they travel through Exchange Online.
They allow administrators to inspect, modify, block, redirect, or apply actions to emails based on defined conditions.
đ In simple terms: Mail Flow Rules automate email handling in your organization.
Try the M365Corner Microsoft 365 Reporting Tool â your DIY pack with 20+ out-of-the-box M365 reports for Users, Groups, and Teams.
Mail Flow Rules are applied during email transport (while messages are being sent or received).
They consist of:
Flow:
Get-TransportRule
Retrieves all configured Mail Flow Rules in Exchange Online.
â ī¸ Note: Exchange Online PowerShell is required to create Mail Flow Rules using PowerShell.
Example:
New-TransportRule -Name "Redirect CEO Emails"`
-SentTo "samadmin@7xh7fj.onmicrosoft.com" `
-RedirectMessageTo "dexter@7xh7fj.onmicrosoft.com"
Did You Know? Managing Microsoft 365 applications is even easier with automation. Try our Graph PowerShell scripts to automate tasks like generating reports, cleaning up inactive Teams, or assigning licenses efficiently.
Ready to get the most out of Microsoft 365 tools? Explore our free Microsoft 365 administration tools to simplify your administrative tasks and boost productivity.
© Created and Maintained by LEARNIT WELL SOLUTIONS. All Rights Reserved.