Microsoft Purview Troubleshooting: Error when you try to enable or disable an archive mailbox for an Exchange Online user or move a mailbox to an on-premises environment




Problem

An error message that looks like one of the following appears when you attempt to migrate a mailbox from Exchange Online to an on-premises environment or activate or disable an archive mailbox for an existing Exchange Online user:
  • Error- UserAlreadyBeingMigratedException: The user '<User Email Address>' already has a pending request. Please remove the existing request and resume the current batch or start a new batch for this user. 

  • Mailbox '<User Display Name>' has a completed move request associated with it. Before you create a new move request for the mailbox, run the Remove-MoveRequest cmdlet to clear the completed move request.

  • Mailbox '<User Display Name>' has move status <move status>. You can't enable or disable an archive while the mailbox is being moved.  
When you run the Get-MoveRequest | fl  command to examine the move request, you verify that the request is a Microsoft 365 datacenter move request. This is indicated by the IntraOrg flag. 

Cause

The reason for this issue is because unsuccessful move requests have not yet been deleted from the system. 

Exchange Online frequently switches mailboxes across servers to ensure service health. Move requests for completed Microsoft 365 datacenters are promptly cleared up. Although they may persist for a little while longer, unsuccessful Microsoft 365 datacenter transfer requests are eventually resolved. Users are unaffected by these unsuccessful migration requests. If necessary, the service will attempt the relocation again in the future. 

Solution

Generally, you may safely disregard the error signals if moving the datacenter internally doesn't interfere with your capacity to carry out administrative duties. 

If management tasks are affected by the move requests, follow these steps:
  1. Connect to Exchange Online by using remote Windows PowerShell.
  2. Verify the mailbox is being moved.
  3. Examine the output and then do one of the following, as appropriate:
    1. If the status is Queued or InProgress, wait for the move to finish. This should occur in one or two days. If you can't wait, then remove the move request via-                                          Remove-MoveRequest -Identity IdentityOfFailedRequest
    2. If status is Failed, remove the move request via the same command written above.
This operation should not affect user access or cause any problem. Additionally, you don't have to notify Microsoft or the mailbox owner to take this action. 

Conclusion

The issue of error when you try to enable or disable an archive mailbox for an exchange online user or move a mailbox to an on-premises environment has been resolved with the help of above methods.

Comments

Popular posts from this blog

Deployment (Part 3)

Deployment (Part 1)

Design Planning (Part 3)