Link to home
Create AccountLog in
Exchange

Exchange

--

Questions

--

Followers

Top Experts

Avatar of R N
R N

Transport rules in Exchange Hybrid Centralised Transport
I have Exchange Hybrid in my environment. We are enabling Centralised Mail Transport. All incoming and outgoing emails are through our 3rd mail gateway.  

I have several transport rules on my Exchange 2016. We will be migrating mailboxes soon.

Do I need to export these transport rules and import them into Office 365?

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of Saif ShaikhSaif Shaikh🇮🇳

Yes you need to otherwise you will have to create new ones manually..

PS Cmdlet to export the existing transport rules in On-Premise:

$onpremrule = Export-TransportRuleCollection

Set-Content -Path “C:\Rules.xml” -Value $onpremrule.FileData -Encoding Byte

Import will overwrite the existing transport rules in O365, please take a backup of O365 rules before importing On-premises rules to O365.

PS Cmdlet to import the exported transport rules in Office 365:

[Byte[]$O365 = Get-Content -Path “C:\Rules.xml” -Encoding Byte -ReadCount 0

Import-TransportRuleCollection -FileData $O365

Avatar of R NR N

ASKER

Does this need to be done even if Centralised Transport is configured? Centralised Transport is where all emails from O365 are routed to the on-prem Exchange.

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of Saif ShaikhSaif Shaikh🇮🇳

Transport rules is specific to server whether its onpremise or O365.

So if Centralised Transport is enabled then and all mailboxes are on Onpremise then no need to export-import rules to O365.

All processing will be from onpremise since mx is pointed to onpremise and centralized mail flow will trigger from onpremise only.

Note: In case all mailboxes are moved to O365 then export-import is required.

Avatar of R NR N

ASKER

But we will have a mix of users in on-premise and online. 90% users on-premise and 10% in EOL.

Need transport rules and disclaimers on both sides?

Avatar of Saif ShaikhSaif Shaikh🇮🇳

If the rule is globally set the you need them on both sides.

If the rule is specific to a mailbox, then depends where the mailbox resides.

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


This question needs an answer!
Looks like this question is still being worked on. Think you can help?
Create your account and start contributing!
Create Account
Exchange

Exchange

--

Questions

--

Followers

Top Experts

Exchange is the server side of a collaborative application product that is part of the Microsoft Server infrastructure. Exchange's major features include email, calendaring, contacts and tasks, support for mobile and web-based access to information, and support for data storage.