TechBuzzPro

Import PST to Office 365: Step-by-Step Guide

· 5 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Importing a PST file into Office 365 (now Microsoft 365) lets you migrate old emails, contacts, and calendar items from Outlook or a previous email client into your cloud mailbox. The most reliable method is using the built-in Import service in the Microsoft 365 admin center, which uploads your PST to Azure storage and then delivers it to your mailbox. You'll need global admin or Exchange admin permissions, and the PST files must be accessible from your computer. This guide walks you through the entire process, from preparing your files to verifying the import.

What You'll Need

  • Global admin or Exchange admin permissions in Microsoft 365.
  • PST files saved locally on your computer or a network share.
  • Outlook desktop app installed (to create a mapping file if needed).
  • Azure AzCopy tool (the admin center will give you a download link during the process).
  • A stable internet connection with enough bandwidth to upload large files.

Step-by-Step

  1. Prepare your PST files. Ensure each PST is under 20 GB (Microsoft's recommended limit). If larger, split it using Outlook's export feature. Close Outlook while uploading.
  2. Open the Microsoft 365 admin center. Go to admin.microsoft.com, sign in with your admin account, and navigate to Admin centers > Exchange.
  3. Start the import service. In the Exchange admin center, go to Mail flow > Import (or search for “import” in the search bar). Click + New import job.
  4. Name your job (e.g., “User1 Migration”) and click Next.
  5. Choose the upload method. Select Upload your data (the other option, “Transfer data by shipping drives,” is for large batches). Click Next.
  6. Download the AzCopy tool. The page will show a link to download AzCopy (a command-line tool). Download and install it on the machine where your PST files are stored.
  7. Get the SAS URL. The import page will display a shared access signature (SAS) URL. Copy it – you'll need it for the upload command.
  8. Upload your PST files using AzCopy. Open a command prompt as administrator, navigate to the AzCopy folder, and run the command provided on the screen (it looks like: AzCopy.exe /Source: /Dest: /DestKey: /Pattern:*.pst). Press Enter and wait for the upload to complete. Note: The exact command syntax may vary slightly; follow the one shown in the admin center.
  9. Create a mapping file (CSV). After upload, you'll need a CSV file that tells Microsoft which PST goes to which mailbox. Create a text file with two columns: Workload and FilePath. In the Workload column, type Exchange. In the FilePath column, enter the full path to the PST in Azure (e.g., https://.blob.core.windows.net/import/yourfile.pst). Save it as a .csv file.
  10. Upload the mapping file. Back in the import job wizard, click Choose file and select your CSV file. Click Next.
  11. Verify and submit. Review the job details, then click Submit. The import job will start. You'll see a status of “In progress” or “Completed” depending on the size.
  12. Monitor the job. In the Import section of the Exchange admin center, you can see the status. Once completed, the PST data will appear in the target mailbox (usually within a few hours to a day).

Common Mistakes

  • Using the wrong admin role: You need Exchange admin or global admin; regular user accounts can't create import jobs.
  • Uploading PSTs larger than 20 GB: The import service will fail or time out. Split large files using Outlook's export feature.
  • Incorrect CSV format: The mapping file must have the exact column headers (Workload,FilePath) and no extra spaces. Use a plain text editor like Notepad, not Excel, to avoid hidden characters.
  • Not closing Outlook: If Outlook is running, the PST file may be locked, causing the upload to fail.
  • Copying the SAS URL incorrectly: The URL is long; copy it fully, including the “?” and all parameters. A missing character breaks the upload.

Tips

  • Test with a small PST first to verify the process before migrating large amounts of data.
  • If you have many PSTs, consider using the “ship drives” option for large batches – it's more reliable for huge volumes.
  • Keep the PST files on a local drive rather than a network share to avoid permission issues during upload.
  • After the import, check the mailbox for duplicates. If duplicates appear, you can use Outlook's “Clean Up” feature to remove them.
  • For one-off small imports (a few emails), you can simply open the PST in Outlook and drag items into the Office 365 mailbox – no admin needed.

Troubleshooting

Upload fails with an error: Check that the SAS URL is correct and hasn't expired (they usually expire after 30 days). Re-generate it if needed. Also ensure AzCopy is the latest version.

Import job stuck in “In progress” for days: Large PSTs can take time, but if it's stuck for more than 48 hours, cancel the job and re-submit. Also verify that the CSV file paths match the uploaded files exactly.

Data appears in the wrong mailbox: Double-check the CSV mapping. The FilePath must match the exact blob URL of the uploaded PST. If wrong, you'll need to create a new job.

Items missing after import: Check if the PST contains corrupted items. Open the PST in Outlook and run ScanPST.exe (the Inbox Repair Tool) before re-uploading.

Permission errors: Ensure you're signed in with an account that has the Exchange admin role. If not, contact your IT admin.

Frequently Asked Questions

Can I import a PST without admin rights?

No, the admin center import service requires Exchange admin or global admin. However, you can manually open the PST in Outlook and copy items to your mailbox – this works for small amounts.

How long does the import take?

It depends on the size and your internet speed. A 1 GB PST might take 30 minutes to upload, but the final delivery to the mailbox can take several hours after the upload completes.

Will the import overwrite existing emails in my Office 365 mailbox?

No, it adds the PST items to your mailbox. Duplicates may occur if the same emails already exist, but nothing is deleted.

Can I import PST files from a Mac?

Yes, if you have Outlook for Mac. The PST format is the same, but you'll need to upload from a Windows machine or use the AzCopy tool on Windows. Alternatively, you can export from Mac to Outlook for Windows first.

Is there a limit on the number of PST files I can import?

No, but each PST must be under 20 GB. You can create multiple import jobs, each with up to 1000 PST files.

What happens to the PST file after import?

Once the import job is completed, Microsoft deletes the uploaded PST from Azure storage after 30 days. You can keep your local copy as a backup.