How to Import PST Files to Microsoft 365 Online Archives
Question details
An administrator needs to migrate multiple PST files directly into users' Microsoft 365 cloud archive mailboxes without using a client-side method like Outlook.

- Product
- Microsoft 365
- Device & OS
- not provided
- Scenario
- Migrating large volumes of legacy email data into online archive mailboxes for multiple enterprise users.
- Observed behavior
- Requires a server-side bulk import method to upload and accurately map PST files to specific users' online archives.
Ensure that you are assigned the Mailbox Import Export role in Exchange Online and that online archiving is explicitly enabled for all target user mailboxes before initiating the import job.
Use Microsoft 365 Network Upload for PST Import
Upload PST files over the network to a temporary Azure Storage location and use a CSV mapping file to import them directly into user archives.
The Microsoft 365 Import service allows administrators to bulk-upload PST files to Microsoft servers via AzCopy. This server-side method bypasses the need for local Outlook clients and bandwidth bottlenecks.
By configuring a specific parameter in the mapping file, you can direct the imported data straight into the users' online archive mailboxes instead of their primary inboxes.
Navigate to the Microsoft Purview compliance portal. Go to Data lifecycle management > Microsoft 365 > Import. Create a new import job, select 'Upload your data', and copy the generated Network SAS URL. Download and install the AzCopy command-line tool.
Open Command Prompt and use the AzCopy tool with the copied SAS URL to upload your folder of PST files to the provided Azure Storage location.
Create a CSV file that maps each uploaded PST file to its corresponding user mailbox. Crucially, set the 'IsArchive' column to 'TRUE' so the data is routed to the online archive.
Return to the compliance portal, upload your completed CSV mapping file, and submit the job. Microsoft 365 will validate the mapping file and begin ingesting the PST data into the specified online archives.

Manage Your Everyday Office Documents with WPS Office
While email migration and server archiving require dedicated Microsoft 365 administrative tools, everyday document creation and management doesn't have to be tied to expensive subscriptions. WPS Office is a lightweight, comprehensive office suite that provides high compatibility with Word, Excel, and PowerPoint files.
- 1. Download and Install: Get WPS Office for free from the official website and install it on your PC or Mac.
- 2. Open Existing Files: Launch WPS Office and directly open your existing Microsoft Word, Excel, or PowerPoint documents.
- 3. Edit and Save: Edit your documents with advanced formatting tools and save them in standard formats for seamless sharing.

Frequently Asked Questions
Can I use the Outlook desktop client to import PST files to the online archive?
Yes, individual users can manually import PST files using Outlook by navigating to File > Open & Export > Import/Export. However, for administrators migrating data for multiple users, the network upload method is significantly faster and more centralized.
What happens if online archiving is not enabled for a target mailbox during the import?
If online archiving is disabled for a user, the import job will fail for that specific PST file. Administrators must enable the archive mailbox in the Exchange admin center prior to starting the PST mapping and import process.
How exactly do I specify the online archive in the CSV mapping file?
In the PST mapping CSV file, you must locate the 'IsArchive' column and enter 'TRUE' for the respective user. This instructs the Microsoft 365 Import service to route the PST contents directly to the user's archive rather than their primary mailbox.
Is there a recommended maximum size for individual PST files when using network upload?
Yes, Microsoft highly recommends keeping individual PST files under 20 GB. Files larger than 20 GB can increase the risk of import failures or cause severe performance degradation during the data ingestion process.




