unable to migrate a mailbox

Roger Roger 4,951 Reputation points
2023-04-01T23:23:02.0166667+00:00

Hi All

i am using exchange 2016 hybrid environment. I am trying to migrate a shared mailbox from onprem to online i am getting below error.

Error: UserDuplicateInOtherBatchException: The user "smb@contoso.com" is already included in migration batch "Batch10." Please remove the user from any other batch and try again.

when ever a user is created in onprem, i have a script which automatically migrates these users to online. i am not sure this smb@contoso.com is under how many batches and how do i remove this mailbox from batches and try again to migrate. please guide me.

Microsoft Exchange Online
Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,060 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,160 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,330 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
1,869 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Andy David - MVP 140.8K Reputation points MVP
    2023-04-02T19:34:03.64+00:00

    Delete the other migration batch and try to move it again

    Remove-MigrationBatch -Identity Batch10
    

    https://learn.microsoft.com/en-us/powershell/module/exchange/remove-migrationbatch?view=exchange-ps