Powershell command to move mailbox in Office 365

I'm looking to move a mailbox to another Exchange server on Office 365.  

I've done this a couple of times in the past year and wanted to confirm exact syntax for the command.

I believe using New-MoveRequest -Identity 'mail@mail.com' should be enough to initiate the request.  Are there any other parameters required?

Spoke to Microsoft 365 support and they had no idea what I was talking about.

Thanks.
Sean CarrollIT EngineerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MichelangeloSystem Administrator / PostmasterCommented:
This link should clarify prameters and explain hiw to connect a remote powershell session to o365:
https://oddytee.wordpress.com/2015/02/13/moving-mailboxes-in-bulk-to-office-365/
1
Sean CarrollIT EngineerAuthor Commented:
Thanks I know how to connect to Powershell in Office 365.  I was just confirming that was the correct command to use to move a mailbox.
0
MAS (MVE)EE Solution Guide - Technical Dept HeadCommented:
@Sean Carroll
Please explain your end goal maybe we can propose a better solution.
You want to a mailbox from onpremise server to O365?
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Sean CarrollIT EngineerAuthor Commented:
Just from one Exhange server to the other in Microsoft’s backend in Office 365.  I’ve done this before a couple of times in the past, just forgot the exact parameters required with the Powershell cmdlet to complete the move.
0
FOXActive Directory/Exchange EngineerCommented:
Sean- if you are moving the mailbox within o365 you do not have to specify the server.  If it is a big mailbox we will just set some switches to prevent failure

Connect to o365 via powershell then run the following command to move your mailbox

New-MoveRequest -Identity 'defaultemailaddressofthemailbox' -BadItemLimit 200 -LargeItemLimit 10000 -AcceptLargeDataLoss
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Sean CarrollIT EngineerAuthor Commented:
Hi Fox,

Thank you very much for the confirmation and clarification on parameters.

Sean
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.