[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2449
  • Last Modified:

User already migrated error when trying to re-run a migration batch

A mailbox migration failed because too many corrupt or missing items.  So, I deleted the batch and re-created one setting the bad items to 49.  However, the new batch failed with "Error: UserAlreadyBeingMigratedException: The user ‎'[user@domain.ca]‎' already has a pending request. Please remove the existing request and resume the current batch or start a new batch for this user."  In 2013 Exchange Management Console, the batch doesn't show as I already deleted it.  In powershell, running the command "get-migrationuser" or "get-migrationbatch" doesn't show the batch either.  Help.  Thank you.
0
davidrobertbristow
Asked:
davidrobertbristow
1 Solution
 
MASTechnical Department HeadCommented:
Hi David,
You will have to wait sometime after deleting the batch.

Thanks
MAS
0
 
Todd NelsonSystems EngineerCommented:
This error is probably more a timing issue than anything else as it takes a while for a batch to be deleted.  I've seen it take up to 15 minutes for a batch to delete completely.

One other option is to check for move requests using the management shell.  Run this command to see if the mailbox is still in process...

Get-MoveRequest | Get-MoveRequestStatistics

Open in new window


Then if you need to remove a move request for an individual, run this command...

Remove-MoveRequest -Identity "Username"

Open in new window


And if you need to remove a move request for all mailboxes, run this command...

Get-MoveRequest | Remove-MoveRequest

Open in new window


Hope this helps.
1
 
davidrobertbristowAuthor Commented:
Worked like a charm!  I deleted the move request and started a new one.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now