When you are unable to move a mailbox to Office 365, due to corrupted items in the mailbox, you can move it with PowerShell and specify how many items you will allow to fail before it will cancel the move request.
Open PowerShell -> Right Click and Run as administrator
- Be sure to use PowerShell and not the Exchange Management Shell
$Cred = Get-Credential
- Use Global Admin account for Office 365
$Session = New-PSSession –ConfigurationName Microsoft.Exchange –ConnectionUri https://ps.outlook.com/powershell/ -Credential $Cred –Authentication Basic –AllowRedirection
Import-PSSession $Session –allowclobber
$remotecred = Get-Credential
- Use On-Premise account
New-MoveRequest -Identity <MailboxOrMailUserIdParameter> -Remote -RemoteHostName ‘msproxy.ul.com’ -RemoteCredential $remotecred -TargetDeliveryDomain <Fqdn> –BadItemLimit 10
Thanks for visiting and reading my posts. I am always looking for more ideas. Please comment or email me with what you would like to see.
Office 365 MVP