Monday, 20 July 2026

Bulk Upload Outlook PST in to M365 User Mailbox Using Admin Panel

How to import Office 365 PST files

Follow the steps below on how to import Office 365 PST files step by step:

1. Assign Mailbox Import Export role

You must be assigned the Mailbox Import Export role in Exchange Online to create import jobs in the Microsoft Purview compliance portal and import PST files to user mailboxes. By default, this role isn’t assigned to any role group in Exchange Online.

Assign Mailbox Import Export role in Exchange Online to create import jobs in the Microsoft Purview compliance portal and import PST files to user mailboxes:

  1. Sign in to Exchange Admin Center.
  2. Expand Roles and click on Admin roles.
  3. Select Organization Management

  1. Click on the tab Permissions.
  1. Select Mailbox Import Export role.
  2. Click Save.

Note: It can take up to 24 hours before the change applies. But, most of the time it will work within 1 hour.

Suppose you get the error below after clicking on Save:

We couldn’t save your changes. Please try again.

An excellent alternative way to add the Mailbox Import Export role is with PowerShell.

Connect to Exchange Online PowerShell and run the New-ManagementRoleAssignment cmdlet.

PS C:\> New-ManagementRoleAssignment -Role "Mailbox Import Export" -SecurityGroup "Organization Management" -Name "Import Export Org Management"

 

Name                           Role              RoleAssigneeName  RoleAssigneeType  AssignmentMethod  EffectiveUserName

----                           ----              ----------------  ----------------  ----------------  -----------------

Import Export Org Management   Mailbox Import... Organization M... RoleGroup         Direct

2. Create PST import job

To create a PST import job in Microsoft Purview compliance portal, follow these steps:

  1. Sign in to Microsoft Purview compliance portal.
  2. Expand Data lifecycle management and click on Microsoft 365.
  3. Choose Import.
  4. Click on New Import Job.








If you don’t see a New import job, it means that you have to wait before the change in the previous steps applies.

  1. Give the import job a name. Click Next.













      6. Select upload your data. Click Next.













  1. Click on Show network upload SAS URL.













  1. Click on Copy to clipboard to copy the SAS URL. You will need the SAS URL in the next step.













In the next step, you will upload the PST files to Office 365 with AzCopy command-line tool.

Note: Don’t cancel the import job because you need to return to this window and finish the import job. If you cancel the import job, you need to do this job again.

3. Upload PST files to Office 365

  1. Download AzCopy and extract it













2.      Copy the path, open cmd (run as administrator) type cd (change directory) (past the copied path here) hit enter.









1.    3.  Now copy the PST path and SAS url and past here as follows \

azcopy.exe copy "<Source location of PST files>/*" "<SAS URL>"





  1. The output will show like this.

INFO: Scanning...

INFO: Could not read destination length. If the destination is write-only, use --check-length=false on the command line.

100.0 %, 1 Done, 0 Failed, 0 Pending, 0 Skipped, 1 Total, 2-sec Throughput (Mb/s): 26.7263

 Job summary

Elapsed Time (Minutes): 06.21431

Number of File Transfers: 3

Number of Folder Property Transfers: 0

Total Number of Transfers: 3

Number of Transfers Completed: 3

Number of Transfers Failed: 0

Number of Transfers Skipped: 0

TotalBytesTransferred: 1841431012

Final Job Status: Completed

6. Select PST import mapping file

  1. Go back to the PST import job, check both the boxes, and click Next.









  1. Click Select mapping file.
  2. Browse to the PstImportMappingFile.csv file. It must be as look like







4. Click on Validate.








  1. It shows a green text, which means that it’s valid. Click Next.







  1. Review the PST import job. Click Submit.













  1. Upload to the cloud succeeded. Click Done.













You are not finished because there is one last step. That’s to start the PST import to Office 365.

7. Start PST import to Office 365

Before you can start to import the PST file to Office 365, you have to wait for the analysis progress to complete. After that, it will show the Import completed progress and ready to:

  1. Select the checkbox in front of the Import Job.
  2. Click on Import to Office 365 button.













  1. Select No, I want to import everything. Click Next.













  1. Click on Submit.













  1. Upload to the cloud succeeded. Click Done.

You have to wait before Microsoft accepts the request and starts the progress. It’s not possible to force the PST import to Office 365.

8. Verify PST import job completion status

To verify the PST import job status, click on the Import Job in the list view. Then, verify that the PST import job shows the status completed.

You successfully imported a PST file to Office 365.


No comments:

Post a Comment