skip to Main Content

Move mailbox to Exchange Online with PowerShell

After installing the Hybrid Configuration Wizard (HCW), you like to move a mailbox to Exchange Online with PowerShell. What do we need to fill in PowerShell to start the mailbox migration? In this article, you will learn how to migrate a mailbox to Exchange Online with PowerShell.

Before you start to move a mailbox to Exchange Online with PowerShell

The first step is to make sure to install and connect with Exchange Online PowerShell. When you are connected, go to the next part to find the remote server URL.

Good to know is that you are not pushing the mailbox from on-premises to Exchange Online. In fact, you are pulling the mailbox from on-premises to Exchange Online. This is why you need to run the commands from Exchange Online PowerShell.

Find migration endpoint remote server URL

Get the remote server URL by using the Get-MigrationEndpoint cmdlet. Read more about how to find RemoteHostName URL for mailbox migration. The HCW created this migration endpoint. Copy the RemoteServer URL as you will need it in the next part.

Move mailbox to Exchange Online with PowerShell

Create a new move request to Exchange Online. Fill in the following details

  • -Identity: Mailbox name or email address
  • -RemoteHostName: The remote server that you copied in the previous step
  • -TargetDeliveryDomain: primary SMTP domain used for the Exchange Online organization mailboxes
  • -RemoteCredential: On-premises administrator account with privileges

After running the cmdlet, a credential sign-in request will show up. Fill in the password of the on-premises credentials (RemoteCredential).

Get the status of the mailbox move request by using the Get-MoveRequest cmdlet.

Did this article help you to migrate the mailbox to Exchange Online with PowerShell? I hope it did.

Read more: Complete migration batch with PowerShell »

Conclusion

In this article, you learned how to move a mailbox to Exchange Online with PowerShell. Connect to Exchange Online PowerShell and run the cmdlet as shown in the article. Keep an eye if the mailbox move to Exchange Online successfully completed.

Did you enjoy this article? You may also like Target mailbox doesn’t have an SMTP proxy matching. Don’t forget to follow us and share this article.

ALI TAJRAN

ALI TAJRAN

ALI TAJRAN is a passionate IT Architect and IT Consultant. His specialism is designing and building complex enterprise environments. He started Information Technology at a very young age, and his goal is to teach and inspire others. Connect with ALI TAJRAN on social media. Read more »

This Post Has 0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top