Offboarding error

Copper Contributor

Hi all,


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 -Remote -RemoteHostName -TargetDeliveryDomain '' -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 -remote -RemoteTargetDatabase MyDB1 -TargetDeliveryDomain '' -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,



2 Replies
best response confirmed by Michael Burutzis (Copper Contributor)

Your targetdeliverydomain needs to be the on-prem one, like in your second example. Steve has a very detailed article on offboarding here:

Nailed it!

Thank you so much!