Home > Lync > Moving resource Mailbox on premises to O365

Moving resource Mailbox on premises to O365


Open Powershell Windows Azure

Type Credential and input username and password o365

 $cred=Get-Credential

Type for session Exchange Online

PS C:\Windows\system32> $session = New-PSSession -ConfigurationName microsoft.exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication basic -AllowRedirection

Import Session Exchange Online

PS C:\Windows\system32> Import-PSSession $session

Type Credential for administrator Exchange onpremises with the format domain/username

PS C:\Windows\system32> $onpremadmin = Get-Credential

run moving resource mailbox
Identity = Name room Mailbox
Remotehostname = name URL External OWA onpremises
Remote Credential = Credential onpremises

PS C:\Windows\system32> New-MoveRequest -Identity ruang.rapat -Remote -RemoteHostName mail.demagnum.co.id -TargetDeliveryDomain demagnum.mail.onmicrosoft.com -RemoteCredential $onpremadmin -SuspendWhenReadyToComplete -AcceptLargeDataLoss -BadItemLimit 100 -BatchName ruang.rapat

Check Status moving request

PS C:\Windows\system32> Get-MoveRequest -Identity ruang.rapat

if the status detail has autosuspend please continue to moving resource mailbox

PS C:\Windows\system32> Resume-MoveRequest -Identity ruang.rapat

 

Advertisements
Categories: Lync
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: