MigrationPermanentException: Cannot find a recipient that has a mailbox GUID

Ran into the following error while attempting to offboard a mailbox (migrate it back on prem from Exchange Online):

MigrationPermanentException: Cannot find a recipient that has mailbox GUID ‘xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx’


This error is usually caused when a mailbox is created directly in the cloud (New – Office 365 Mailbox in Exchange console on prem). The Exchange mailbox GUID doesn’t actually get written back on-prem in this case, so trying to offboard a user results in this error. You can confirm this by connecting to your Exchange Shell on premises and do a Get-RemoteMailbox username | FL ExchangeGUID.


To fix this problem, connect to Exchange Online and find the GUID that’s missing:


Then simply take that GUID and write it back to your on prem remote mailbox object:


Force a DirSync, and all is well with the world!

2 thoughts on “MigrationPermanentException: Cannot find a recipient that has a mailbox GUID

  1. Thanks, except you don’t need to wait for a dirsync, it is immediate since you wrote to Exchange on-prem and you are migrating to on-prem.

    Like

Leave a Reply to Hal Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com 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.