Sometimes migrating mailboxes from on-prem to Exchange Online is easy. But when it comes to moving mailboxes from a GoDaddy managed tenant, getting Admin access to perform the export is almost impossible. Here’s one way that seems to work.
Export mailbox contents
- Log into the Compliance Centre as an account admin (https://compliance.microsoft.com/)
- Select eDiscovery | Core from the left blade
- Create a case
- Apply a search to the case. From the menu bar, select Searches and then + New Search
- Select Specific locations, and then Exchange Mailboxes only
- In Define your search conditions select the date range for mailbox items
- Review the search and click Submit
- Wait until the search you have just submitted completes
- Initiate the export of mailbox items found in the search
- Click on the search you created in step 4 and details should be shown in the right-hand blade
- Click Actions | Export results
- In the Export results blade, leave defaults as they are (particularly Export Exchange content as One PST file for each mailbox
- Click Export
- Download export results (must be done from Edge)
- Click on Exports in the menu bar
- Select the export that you have created in the previous step
- Wait until the export completes (this may take a few hours)
Update folder structure in PST files
The exported PST files will need to be modified so that they have a similar folder structure to the target mailbox. If you open the exported PST, you’ll notice that the Inbox is in a subfolder under <mailbox name>(Primary store)/top of information store/. Simply locate the Inbox and move this to folder root. Repeat this for any other folders that need to come across. Delete any folders that don’t need to come across (like the now empty <mailbox name>(Primary store)/top of information store/ folder).
To make these changes, open the PST in Outlook, made changes, then close the PST.
Note that if this step is not done, a new folder structure will be created in the target mailbox for the imported items, rather than them being merged with the target inbox.
Import mailbox contents
Follow these instructions in the new tenant: https://docs.microsoft.com/en-us/microsoft-365/compliance/use-network-upload-to-import-pst-files?view=o365-worldwide
First step is to create an import job
- Again, log into the Compliance Centre as the account admin (https://compliance.microsoft.com/)
- Select Information Governance | Import
- Note that PST files should be < 20Gb
- Follow the instructions provided
- Download and install AzCopy as per the instructions. Note that:
- If you get an error when trying to upload PSTs with AzCopy, then the SAS URL must be modified to enclose all & in double quotes (ie & becomes “&”). Alternatively, close entire parameter values in closed double quotes.
- You can use this spreadsheet as a template to create AzCopy commands
- Use the /NC2:2 switch on slower upload speeds to avoid timeout. Lowers thread count to 2. More here.
- Check that AzCopy uploaded the correct number of PST files
- Create a mapping file, using this as a template
- Note that the fields FilePath will usually be blank and the TargetRootFolder will usually be / (ie Inbox)
- Select the mapping file and complete the import.
Next step is to run the import job to import into Office 365
- Select the import job you want to import
- Click on Import into Office 365
- Select whether you would like any filters applied (ie only import items from the last 12 months)
- Select OK to commence the import