Moving mailboxes from Exchange 2010 organization to Exchange 2013 organization – Part 2

 

After you enabled Mailbox Replication Proxy service on the source Exchange Server, it is a good idea to test its functionality. You can easily do it by executing Test-MRSHealth cmdlet. Make sure that you have value True in each Passed row, for each test, and you’re good to go.

Before actually moving a mailbox, you should prepare it for moving. Actually, you have to migrate a user object first and prepare mailbox move request. Luckily, Microsoft has provided a script for this. Steps for preparing an object move are as follows:

1.       Open Exchange Management Shell on the destination CAS server and change the path to “C:\Program Files\Microsoft\Exchange Server\v15\scripts”

2.       Type, $Local = Get-Credential and press Enter. When prompted, provide admin credentials for new (destination) organization. That is the org to which you move the mailbox.

3.       Type $Remote= Get-Credential and provide credentials for source organization. By executing these steps we are actually storing credentials for administrators in both organizations. These credentials are used by the script in the next step.

4.      Type:

.\Prepare-MoveRequest.Ps1 -Identity “User UPN” -RemoteForestDomainController FQDN_OF_SourceDC -RemoteForestCredential $Remote -LocalForestDomainController FQDN_OF_LocalDC -LocalForestCredential $Local -TargetMailUserOU "OU=OUNAme,dc=domain,dc=extension"  – you should fill italic text with your own values
(example : .\Prepare-MoveRequest.Ps1 -Identity Damir@dizdarevic.ba -RemoteForestDomainController dc-srv-01.dizdarevic.ba -RemoteForestCredential $Remote -LocalForestDomainController dc-srv-01.dizdarevic.local -LocalForestCredential $Local -TargetMailUserOU "OU=IT,dc=dizdarevic,dc=local" )

5.       After you execute this PS script you should get the reply : 1 mailbox(es) ready to move

Now, if you open Active Directory Users&Computers in destination domain, you should find user object created (and disabled, since we didn’t move password). If the object is there, we are ready to move the mailbox. We will do it in Exchange Admin Center in Exchange Server 2013.

So, open EAC and perform following:

Click recipients and then click the migration tab. Click New and choose Move to this forest option. In a wizard, click Add and select the user that you just moved. Actually, here you will see only users that are moved using procedure described earlier. Enter credentials for remote/source forest and confirm the name of migration endpoint – that is FQDN of the server where you enabled MRS Proxy service. After that choose the destination database for the mailbox and confirm the admin credentials. Start the migration batch. After that wait for a few minutes until status of user object becomes Synced. Then click Complete this migration batch and wait until the status of the object becomes Completed. And, you’re done!

After mailbox is migrated, all you have to do is to set the password on the moved user account and to enable that account. After that, user can login in the new forest, and will have its mailbox content moved.

So, as you can see, the process is not simple, but it can be done if you carefully follow the steps I provided. If you have troubles, let me know – maybe I can help.

5 Responses to “Moving mailboxes from Exchange 2010 organization to Exchange 2013 organization – Part 2”

  1. Daniel says:

    Hi!

    It was a great post man!

    I have a question. Is there a rollback? I mean 2013orgB to 2010orgA again?

    Regards

  2. Steve Lindsey says:

    any help would be great.

    http://social.technet.microsoft.com/Forums/exchange/en-US/6711057d-ca74-42c8-a56a-6490dd626ed7/exchange-2010-onprem-to-2013-on-prem-cross-forest-largeitemlime-issue?forum=exchangesvrgeneral#6711057d-ca74-42c8-a56a-6490dd626ed7

    Daniel,

    there is no roll back option via native microsoft tools. Priasoft is the only 3rd party that i have seen that allows roll back as they use MAPI to move the mail & not the move requests.

    • Daniel says:

      Hi Steve!

      And about the Migration Tab on exc 2013. Is it possible to make this all procedure through shell and not via EAC? “Move to this forest…” We would like to automated it.

      Regards.

  3. Steve says:

    Hi – just checking with you how things are going to look like for the “moved” mailbox .. how will e-mail continue to flow for him .. will he retain his original “e-mail” address.. and will the source “user” object/mailbox be modified to “Redirect” mail to his new home ?

  4. vish says:

    I would to ask one question which is related to OST. Like if I have moved a mailbox from one forest to another then it’s old OLD file is usable or not. Can we use attached the OST with migrated user in target domain

Leave a Reply