Mailbox move to Exchange Online no-op at retry


If – for some reason – a mailbox migration to Exchange Online fails, the retry procedure may be a bit dodgy, behold…

Let’s imagine having a user named Francis with an on-premise mailbox. This user is member of a specific department that requires delegated mailbox access across all members, so we create a single batch with all users of this department. Most members migrate properly at first try, but several users, including Francis, fail. The summary shows:

Batch completed with errors
Batch completed with errors

The per-user error is:

“Error: MigrationRecipientNotFoundException: A recipient wasn‎’t found for “” on the target. Create a recipient of the appropriate type for this migration on the target and try again.”

Turns out, the user wasn’t synced all that well to Azure AD, apparently this happens from time to time. After triggering another sync with the AD Sync tool, the user now appears in Azure AD with all its properly set attributes. So let’s retry the mailbox migration:

Single mailbox retry
Single mailbox retry

Ok, well this is awkward… Nothing happened? Looking at the mailboxes summary, refreshing at least 3 times Francis still has no online mailbox.  After much investigation, I came to the following conclusion:

It turns out you cannot successfully retry a mailbox migration if there is a failed migration in any of the batches. It will appear as ‘Completed’, but in fact the migration will not do anything.

So, we remove the failed migration items from the mailbox migration batch and put them in a new batch. The result?

Online mailbox
Online mailbox

Office 365 works in mysterious ways 🙂

  1. Bypass mailbox and Item level corruption issues.

    Try to Use Migration via Powershell,

    “Move Request from Powershell
    $ONPREMCREDS = Get-Credential
    Provide On-Premises Administrator credentials

    New-MoveRequest -Identity “” -Remote -RemoteHostName -TargetDeliveryDomain -RemoteCredential $ONPREMCREDS -BadItemLimit 200

  2. How do you remove the filed items from the migration batch? Do you mean to delete the whole batch?

Leave a reply

Your email address will not be published. Required fields are marked *