Answer · High impact

Cross-tenant mailbox move fails within minutes: MissingExchangeGuidException

Symptom

A user in a new cross-tenant migration batch goes to Failed a few minutes after the batch starts. The error summary mentions MissingExchangeGuidException or that the target mailbox could not be found.

Cause

The target MailUser has no ExchangeGuid, or it does not match the source mailbox. This happens when the MailUser was created by sync or a script that did not stamp it, or when the account was deleted and recreated after it was stamped.

Resolution

  1. In the source tenant, read the mailbox ExchangeGuid and ArchiveGuid.

  2. In the target, stamp the same values on the MailUser.

  3. Resume the migration user. It restarts from the beginning.

  4. Run the MailUser validation sample on the rest of the wave before the next batch.

Script

PowerShell
# Source
Get-Mailbox user@source.com | Select-Object ExchangeGuid, ArchiveGuid
# Target
Set-MailUser user@target.com -ExchangeGuid <guid> -ArchiveGuid <guid>
Resume-MigrationUser user@target.com

Related script sample

Validate target MailUsers before a cross-tenant batch →

Disclaimer. These samples are provided as is, without warranty of any kind. Read and test every script in a non-production tenant before you run it, and run reports before any command that changes or deletes data.