다음을 통해 공유


Office 365: How to migrate on-premises Resource (room) mailboxes

This guide is based on an Exchange 2013 Hybrid environment and describes the steps required to migrate resources mailboxes (in this case Room mailboxes) from On-premises Exchange to Exchange Online (Office 365)

Step 1: Connect to Exchange Online via PowerShell

Open Windows PowerShell and run the following command:

$UserCredential = Get-Credential

https://shanejacksonitpro.files.wordpress.com/2015/04/resourcemailbox-1.png?w=300&h=94

When prompted, type your Exchange Online user name and password

https://shanejacksonitpro.files.wordpress.com/2015/04/resourcemailbox-2.png?w=300&h=207

Run the following command:

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri "https://outlook.office365.com/powershell-liveid/" -Credential $UserCredential -Authentication Basic –AllowRedirection

https://shanejacksonitpro.files.wordpress.com/2015/04/resourcemailbox-3.png?w=300&h=94

Run the following command:

Import-PSSession $Session

https://shanejacksonitpro.files.wordpress.com/2015/04/resourcemailbox-4.png?w=300&h=124

You are now connected to Exchange Online via PowerShell

Step 2: Move Resource (Room) Mailbox to Exchange Online via PowerShell

Run the following command:

$OnPremAdmin=Get-Credential

When prompted, enter the on-premises administrator credentials.

Run the following command:

New-MoveRequest –identity “UPN of mailbox to be migrated” -Remote -RemoteHostName “FQDN of your hybrid server(s) e.g. hybrid.yourdomain.com” -RemoteCredential $OnPremAdmin -TargetDeliveryDomain*“yourdomain.mail.onmicrosoft.com”*

https://shanejacksonitpro.files.wordpress.com/2015/04/resourcemailbox-5.png?w=300&h=43

The resource mailbox is now queued for migration.