Part 3: Step-by-Step Exchange 2007 to 2013 Migration

In part 1 we covered the deployments steps for Exchange 2013, in Part 2 of this series we covered Exchange 2013 configurations and testing, in this part we will start our migration. Make sure to start these configuration outside business hours, also plan a proper downtime to complete these steps and test them.

6.Move Client Access from Exchange 2007 to Exchange 2013

Virtual Directories

Open Exchange 2007 management shell and run the following commands.


Set-OwaVirtualDirectory -Identity "e12-01OWA (Default Web Site)" -ExternalUrl



Set-OabVirtualDirectory -Identity "e12-01OAB (Default Web Site)" -InternalUrl -ExternalUrl



Set-ActiveSyncVirtualDirectory –Identity “e12-01Microsoft-Server-ActiveSync (Default Web Site)” –ExternalUrl $Null –InternalUrl


Web Services:

Set-WebServicesVirtualDirectory –Identity “e12-01EWS (Default Web Site)” -InternalUrl –ExternalUrl


Unified Messaging:

Set-UMVirtualDirectory -Identity "UnifiedMessaging (Default Web Site)" –InternalUrl –ExternalUrl

Outlook Anywhere:

Set-OutlookAnywhere -Identity "E12-01Rpc (Default WebSite)" -IISAuthenticationMethods Basic,Ntlm


TMG Rules:

Create/update your TMG publish rules

For Exchange 2007 update your publish rules to accept connections for Legacy name space:


Follow the steps in this link to publish Exchange 2013.

DNS Configurations:

Update your DNS records as follows

Internal DNS



Point to Exchange 2013 server

Point to Exchange 2013 server

New record points to Exchange 2007 Server

Public DNS



Point to TMG Listener

Point to TMG Listener

New record Point to TMG Listener


Apply all your test scenarios for both internal and External client types; once again you can use Microsoft Remote Connectivity Analyzer

7.Move Mailboxes:

Once you complete your tests successfully, its time to start moving mailboxes. you can do this using EAC or Shell.

New-MoveRequest -Identity '' -TargetDatabase "DB01"


You can create Batch moves as described in this link. Once you complete your mailboxes migration let us move to the final steps in this migration process (PF Migration and Exchange 2007 Decommissioning).

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.