Unable to Move Mailboxes to Office 365 because of Corrupted Items

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.

  1. Open PowerShell -> Right Click and Run as administrator
    • Be sure to use PowerShell and not the Exchange Management Shell

     

  2. $Cred = Get-Credential
    • Use Global Admin account for Office 365

     

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

     

  4. Import-PSSession $Session –allowclobber


  5. $remotecred = Get-Credential
    • Use On-Premise account

     

  6. New-MoveRequest -Identity <MailboxOrMailUserIdParameter> -Remote -RemoteHostName ‘msproxy.ul.com’ -RemoteCredential $remotecred -TargetDeliveryDomain <Fqdn> –BadItemLimit 10

http://technet.microsoft.com/en-us/library/dd351123.aspx

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.

Kelsey Epps

Office 365 MVP

Email Me Follow me on Twitter Connect with me on LinkedIN Facebook Me

One thought on “Unable to Move Mailboxes to Office 365 because of Corrupted Items

  1. Mike

    There is a slight error……
    step 2, use the office 365 credentials
    step 5, use the local domain\administrator credentials
    Then it works…. you just had the descriptions backwards….

    Reply

Leave a Reply