Creating mailbox batches for Exchange Online migrations

Christian Hans
Christian Hans used Ask the Experts™
In planning to migrate to Office 365 (Exchange Online)
is there a script available to export all the mailboxes from exchange to CSV along with who has permissions to each mailbox so that some kind of batch process could be created making sure that all users are migrated along with the mailboxes they have access to? Someone has to have done this... Id think, no?
Please help and thank you,
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

There is a script available here ( that you can use. Once you run it and get the output,  you will still need to do some work on figuring out the order. I have seen clients use Excel Pivot tables and such to get a working output but it needs some massaging to get it correct.
Most Valuable Expert 2015
Distinguished Expert 2018
The guys at FastTrack used to have a very robust script that enumerates all "dependencies" and spills out a report that you can use to prepare the batches. I'm not sure if we are allowed to redistribute it, but you can probably find some copies on the internet. Or you can just contact the FastTrack team and ask them for help on this :)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial