Office 365 Hybrid Remote Move Request

What happends and how does a Remote Move Request work?

There are two ways, Powershell or Exchange Management Console.

 

The Move Requst are initiated from Exchange Online, therefore you need to input your On-Prem Credentials even when you use the EMC on your On-Prem Exchange Server. You only point to the mailbox you would like to move when you right click it and choose New Remote Move Request. So to understand this better we will have a look at how this happends in PowerShell.

As you can see you have start PowerShell and connect to your Office 365 Tenant with Exchange Online Cmdlets. So this what you acctually do when using the wizard for Remote Move Requests in EMC.

 

PowerShell Windows Azure Cmdlet:

 

$LiveCred = Get-Credentials (Office 365 Global Admin User)
$RemCred = Get-Credentials (On-Prem Exchange User with full mailbox rights)

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection

Import-PSSession $Session
New-Moverequest -Identity email@company.com -Remote -RemoteHostName hybridserver.company.com -TargetDeliveryDomain tenantname.mail.onmicrosoft.com -Remotecredential $remcred

Extraa attributes:
-BadItemsLimit X
-LargeItemLimit X

Ehlo!

I am Roy Apalnes, a Microsoft Cloud Evangelist working av Sopra Steria. Main focus in Microsoft Security and Endpoint Management, with a bigger picture in mind.

Featured Posts