Exchange Connection Problems

Route Exchange Online Internal Mail Through Transport Rules

Natalie TaylorNatalie Taylor Nov 25, 2026 868 views

Question details

The user needs on-premises transport rule behavior to apply to messages sent between Exchange Online mailboxes in a hybrid deployment.

Apply Transport Rules to Exchange Online Internal Mail
Product
Exchange Online and on-premises Microsoft Exchange Server
Device & OS
not provided
Scenario
A hybrid Exchange deployment uses centralized mail transport, and the administrator wants to process cloud-to-cloud internal messages with existing on-premises transport rules.
Observed behavior
Messages between two Exchange Online mailboxes normally remain in Exchange Online, so on-premises transport rules do not process them.
Before you start

Sign in with an account that can manage mail flow rules in Exchange Online. Review the conditions, actions, exceptions, and priority of the on-premises rules you want to reproduce.

Solution 1Recommended

Recreate the transport rules in Exchange Online

Use Exchange Online mail flow rules to apply equivalent processing to messages that stay in the cloud.

Centralized mail transport does not provide a supported configuration to force messages between two Exchange Online mailboxes through on-premises Exchange. On-premises rules cannot be directly imported into Exchange Online, so recreate them manually or evaluate a suitable third-party migration tool.

1
Review the existing rules

In the on-premises Exchange admin center, open Mail flow > Rules and document each relevant rule's conditions, actions, exceptions, and priority.

2
Create a cloud rule

Open the Exchange admin center at admin.exchange.microsoft.com, go to Mail flow > Rules, and select Add a rule > Create a new rule.

3
Set conditions and actions

Name the rule and configure the available conditions, actions, and exceptions to match the on-premises rule. Check that the conditions cover the intended internal senders and recipients.

4
Set priority and test

Save the rule, review its priority in Mail flow > Rules, and use an available test mode before enforcing it. Send test messages between Exchange Online mailboxes and verify the results.

5
Enable the validated rule

After testing, open the rule's settings, switch it to enforce mode, and enable it. Repeat the process for each rule that needs a cloud equivalent.

Recreate the transport rules in Exchange Online
Check rule scope: An internal-organization condition can also include on-premises users in a hybrid environment. Review the scope and test relevant message paths to avoid unintended or duplicate processing.
Free Microsoft Office alternative

Document Exchange Mail Flow Rules with WPS Office

WPS Office is a free, lightweight alternative for documenting and reviewing mail flow rules. Its familiar interface and Microsoft Office format support make it easy to move existing documents and spreadsheets into WPS. It does not manage Exchange transport or replace Exchange Online.

Document rule conditions, actions, and test results in Writer or SpreadsheetsOpen and edit Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTXUse a familiar interface to transition from Microsoft OfficeWork with a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Can centralized mail transport route cloud-to-cloud messages through on-premises Exchange?

No. Centralized mail transport does not provide a supported configuration to force messages between two Exchange Online mailboxes through on-premises Exchange. Create equivalent mail flow rules in Exchange Online instead.

Can I import on-premises transport rules directly into Exchange Online?

No. On-premises rules can be exported for use with another on-premises Exchange server, but they cannot be directly imported into Exchange Online. Recreate them manually or evaluate a suitable third-party migration tool.

Where do I create an Exchange Online transport rule?

In the Exchange admin center at admin.exchange.microsoft.com, go to Mail flow > Rules, then select Add a rule > Create a new rule.

How can I check whether the new rule works?

Use an available test mode in the rule settings, then send test messages between Exchange Online mailboxes. Review the results and rule priority before switching the rule to enforce mode.