Help · Email migrations

Undoing a batch

Remove the mailboxes Mygration created in the new tenant for a batch aimed at the wrong tenant or the wrong people, or a test.

Last updated

Remove what this batch created takes out of the new tenant only what Mygration made there for the batch: the mailboxes it created, with their accounts. Use it for a batch aimed at the wrong tenant or the wrong people, or for a test run.

  • Mailboxes that were already in the new tenant are left alone, and so is everything in them.
  • The old tenant or server isn't touched.
  • Microsoft 365 keeps removed accounts for 30 days, so they can be restored. A mailbox on a litigation hold, or in a tenant with a retention policy for every mailbox, is kept longer, as an inactive mailbox; the list before you confirm says which.

Before you start #

  • You need to be a Mygration Admin.
  • Nothing in the batch may be running. Stop it, or let it finish, first.

Remove what the batch created #

  1. Open the batch and click More (⋯) → Remove what this batch created.
  2. Read the list: every mailbox Mygration made for this batch. Ones with mail copied into them say so: that mail goes too.
  3. Type the batch's name to confirm.
  4. Click Remove … mailboxes.

The window then says how many were removed, and what couldn't be, with why.

Important

Mail copied into those mailboxes goes with them. Mygration forgets it was copied, so a later pass copies it again.

After removing #

  • The mailboxes are back to Missing in the batch. Destination accounts can create them again, in the right place this time.
  • Microsoft can take a few minutes to show them as gone.
  • If something couldn't be removed, it's still in the new tenant and the batch still counts it as made. Fix what the window said, then remove again.

Restore a removed mailbox #

Within 30 days, an admin of the new tenant can restore the user in the Microsoft Entra admin center, under Deleted users. The mailbox comes back with it.

A mailbox the list marked as kept on hold or by a retention policy becomes an inactive mailbox instead. An admin can see it in the Microsoft Purview portal, under Data lifecycle management → Inactive mailboxes, and recover it from there. It stays until the hold or policy ends.

Other ways to start over #

  • Remove (with mailboxes ticked) takes mailboxes out of the batch without touching either tenant. Their history in Mygration goes; anything already copied stays in the new mailboxes.
  • Delete batch (under More) is offered only while nothing has been copied in the batch.