unable to migrate

Glenn Maxwell 12,001 Reputation points
2025-01-12T06:52:52.3133333+00:00

Hi All,

I am using an Exchange 2016 hybrid environment and facing an issue migrating a user from on-premises to online. I am seeing the error below.

mr

I tried using the Enable-RemoteMailbox syntax from on-premises, but it did not work since the mailbox already exists in the on-premises environment.

Enable-RemoteMailbox -id "user1" -RemoteRoutingAddress "user1@contoso.mail.onmicrosoft.com" -alias user1
This task does not support recipients of this type. The specified recipient User1 is of type UserMailbox. Please make sure that this recipient
matches the required recipient type for this task.

If I delete the mailbox from the on-premises Exchange and execute the Enable-RemoteMailbox command, will it work?

Please note: I do not want the Active Directory account to be deleted, as I cannot recreate the account in AD. In our environment, AD accounts are created by an IAM tool.

Could someone guide me on how to delete the mailbox in on-premises Exchange without deleting the associated AD account or guide me how to troubleshoot migration error.

Microsoft Exchange Online
Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,399 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,683 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,747 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.
2,191 questions
0 comments No comments
{count} votes

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.