Exchange
--
Questions
--
Followers
Top Experts
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.
PS Cmdlet to export the existing transport rules in On-Premise:
$onpremrule = Export-TransportRuleCollec
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-TransportRuleCollec
Reference Article: http://messagingpro.in/export-transport-rules-from-on-premise-exchange-2010-or-later-and-import-it-to-office-365/






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
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.
Need transport rules and disclaimers on both sides?
If the rule is specific to a mailbox, then depends where the mailbox resides.

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.
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.
Create your account and start contributing!