Office 365 Mail Migration: Exchange 2016 -> Office 365

BMallon 21 Reputation points
2021-11-29T06:18:19.3+00:00

Overview:
I am currently trying to migrate a customer from Exchange 2016 to Office 365, in the past we have used BitTitan but this time I have chosen to use the Office365 Migration Wizard.
The company owns 2 domains and using the same alias for some accounts, for example ******@domain1.com.au and ******@domain2.com.au.

Error:
Am receiving the following conflict errors for accounts with same Alias

Error: MigrationProvisioningPermanentException: The name "accounts" is already being used. Please try another name. --> The name "accounts" is already being used. Please try another name.  



 

  
Exchange | Exchange Server | Management
{count} votes

Accepted answer
  1. Amit Singh 5,306 Reputation points
    2021-11-30T11:10:24.053+00:00

    The error message most likely refers to the name of an existing mailbox. This name is not visible through the web UI.

    1. Connect to Exchange Online PowerShell or, if you're using MFA, Connect to Exchange Online PowerShell using multi-factor authentication.
    2. List all existing mailboxes:
    3. Get-Mailbox
    4. If you have a lot of mailboxes and want just to see the problematic one:
    5. Get-Mailbox | Where {$._Name -Match "some.one"}
    6. This should show you the existing mailbox with the conflicting name. Rename it using Set-Mailbox:
    7. Set-Mailbox some.one -Name SomeOne
    8. Start your existing cutover migration batch again to re-try migrating the failed mailboxes.

    You can test it at a later stage from your Office 365 portal or use tools like https://testconnectivity.microsoft.com.

    Helpful links - Migrating Mailboxes from MS Exchange 2010 to Office 365.


    Please mark as "Accept the answer" if the above steps helps you. Your suggestion will help others also !

    1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Joyce Shen - MSFT 16,701 Reputation points
    2021-12-02T09:04:09.887+00:00

    Hi @BMallon

    I test your scenario in my environment and found the reason.

    Firstly we can know that, a mailbox created in o365, the following email addresses are provided:
    The user is provided with a primary SMTP address that's user@Company portal .com.
    The user is provided with an alternate email address that's user@Company portal .onmicrosoft.com.

    So when the first 'accounts' is migrated to o365, o365 will create the above two addresses for this user with no issue.

    Then another 'accounts' from the second domain is migrated to o365, will still have the same address 'user@Company portal .onmicrosoft.com.' which is used already. That's why we will get the error" The name "accounts" is already being used. Please try another name.

    However, if we manually create the user in o365 and select the second domain for this user, this account can be created successfully. That's because if we check the secondary email address for this user, we may find: the system will randomly add numbers after the name, it will be look like user1234@Company portal .onmicrosoft.com.

    This change operated by system will not happen during the migration.

    So the solution to such issue:

    1. Change name, email address for one of the 'duplicate name' account. And note that this operation will lead to the mails sent to the old email address not received
    2. Like you shared above, create the user with different domain in o365 manually.

    And a related official document for your reference as well: "A user with this name already exists. Use a different name." error in the Office 365 portal


    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    2 people found this answer helpful.
    0 comments No comments

  2. Joyce Shen - MSFT 16,701 Reputation points
    2021-11-30T03:10:47.167+00:00

    Hi @BMallon

    Like the error states, you could not have same name accounts even they are not in same domain if you want to migrate them to o365

    So we will need to rename one of these two accounts in, make sure 'accounts' not contained in Emailaddresses for that account as well.
    153552-image.png

    We could make changes using EAC, and user logon name in ADUC
    153497-image.png
    153534-image.png

    153478-image.png

    After changing this, the account will not show in result, then you could perform the migration again.

    153359-image.png


    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.