You cannot migrate transport rules from Exchange Server 2007 to Exchange Server 2013

Applies to: Exchange Server 2013 EnterpriseExchange Server 2013 Standard Edition


You cannot migrate transport rules in Microsoft Exchange Server 2007 Service Pack 3 (SP3) are not migrated during the installation of Microsoft Exchange Server 2013.


This is a known issue.


To work around this issue, follow these steps:
  1. Export all transport rules from Exchange Server 2007 SP3 by using the Export-TransportRuleCollection cmdlet. The required minimum version of Exchange Server 2007 for transport rule migration is Exchange Server 2007 SP3. 
  2. Copy the file that is exported by Export-TransportRuleCollection to a computer that is running Microsoft Exchange Server 2013.
  3. Import transport rules from the file to Exchange Server 2013 by using the Import-TransportRuleCollection cmdlet.


The following example cmdlet exports all the transport rules to the ExportedRules.xml file and then saves the file in the "c:\TransportRules" folder:
Export-TransportRuleCollection -FileName "c:\TransportRules\ExportedRules.xml" 

The following example cmdlet imports the transport rule collection from the XML file ExportedRules.xml in the "C:\TransportRules" folder:
[Byte[]]$Data = Get-Content -Path "C:\TransportRules\ExportedRules.xml" -Encoding Byte -ReadCount 0 Import-TransportRuleCollection -FileData $Data 

More Information

You must have Exchange Server 2007 SP3 installed before you run the export command. You can run this cmdlet on any remaining Exchange Server 2007 SP3 server, even if you have upgraded some servers to Exchange Server 2013.  

After the export is completed, copy the file that you exported by using Export-TransportRuleCollection to anExchange Server 2013 server, and then execute the Import-TransportRuleCollection cmdlet to manually migrate the Transport rules to Exchange Server 2013.

For more information, go to the following Microsoft TechNet website: