(MigrationPermanentException Cannot find a recipient that has mailbox GUID) error when moving mailboxes
Original KB number: 2956029
Assume that you have a hybrid deployment of on-premises Microsoft Exchange Server and Exchange Online. When you try to offboard or move a mailbox that was created in Exchange Online to the on-premises organization, you receive the following error message:
Error: MigrationPermanentException: Cannot find a recipient that has mailbox GUID '<GUID>'. --> Cannot find a recipient that has mailbox GUID '<GUID>'
This behavior occurs because the value of the mailbox GUID isn't stamped on the associated mailbox in the on-premises organization.
The mailbox value is stored in the
ExchangeGUID property (also known as the
This situation occurs because the value of the property isn't synced to the associated remote mailbox in the on-premises organization when a mailbox is created in Exchange Online.
To move a mailbox, the value of the
ExchangeGUID property must be the same in the Exchange Online mailbox and in the associated on-premises remote mailbox.
ExchangeGUID property on the associated on-premises remote mailbox before you move the mailbox to the on-premises organization. To do this, follow these steps:
Open the Exchange Management Shell on the on-premises server, and then run the following command to check whether the
ExchangeGUIDproperty of the on-premises remote mailbox is set:
Get-RemoteMailbox <alias of cloud mailbox to move> | Format-List ExchangeGUID
ExchangeGUIDproperty returns all zeros, the value isn't stamped on the on-premises remote mailbox.
Open Windows PowerShell (don't use the Exchange Management Shell), and then connect to Exchange Online. For more info about how to do this, see Connect to Exchange Online PowerShell.
Run the following command to retrieve the value of
ExchangeGUIDproperty of the mailbox that you want to move.
Get-Mailbox <MailboxName> | Format-List ExchangeGUID
Run the following command to set the value of the
ExchangeGUIDproperty on the on-premises remote mailbox to the value that you retrieved in step 3:
Set-RemoteMailbox <MailboxName> -ExchangeGUID <GUID>
Force directory synchronization.
To prevent this scenario from occurring, create the mailbox in the on-premises organization, and then move the mailbox to Exchange Online. This stamps the value of the
ExchangeGUID property on the mailbox, and then syncs the value to Exchange Online. After you do this, you can return the mailbox to the on-premises organization.
For more information, see Move mailboxes between on-premises and Exchange Online organizations in hybrid deployments.