I am trying to move back a mailbox that was recently migrated to Exchange Online. I am running the following command from Exchange Online Powershell:
New-MoveRequest -Identity firstname.lastname@example.org -Remote -RemoteHostName hybrid1.mydomain.com -TargetDeliveryDomain 'mytenant.mail.onmicrosoft.com' -RemoteCredential $credentials
Error: Target user 'User1' already has a primary mailbox.
I have also tried to initiate the new move request from the pn premise server:
New-MoveRequest -Identityuser1@mydomain.com -remote -RemoteTargetDatabase MyDB1 -RemoteHostNamehybrid1.mydomain.com -TargetDeliveryDomain 'mydomain.com' -RemoteCredential $credentials
Error: Parameter set cannot be resolved using the specified named parameters.
Any ideas what I am doing wrong?
Thanks for all the help,
View best response
Your targetdeliverydomain needs to be the on-prem one, like in your second example. Steve has a very detailed article on offboarding here: http://www.msexchange.org/articles-tutorials/office-365/exchange-online/migrating-standalone-office-...