Fix PST Upload Mapping Fails After AzCopy in Microsoft 365
Question details
The user is experiencing a failure when mapping an import CSV file for PST uploads to Microsoft 365, despite the files appearing successfully in Azure Storage Explorer.

- Product
- Microsoft 365
- Device & OS
- not provided
- Scenario
- Importing PST files to Microsoft 365 via the network upload method and AzCopy.
- Observed behavior
- PST files are successfully uploaded to Azure Storage, but the Microsoft 365 import CSV mapping process fails to recognize the files or process the mapping correctly.
Verify that your Microsoft 365 account has the Mailbox Import Export role assigned, as this is required to process PST migration mapping files.
Verify CSV Mapping Fields and Azure Storage Paths
Incorrect file paths, container names, or missing required fields in the CSV mapping file are the primary reasons for PST import failures.
Even if PST files are visible in Azure Storage Explorer, the Microsoft 365 import service cannot process them if the CSV mapping file contains structural errors. The service relies entirely on exact string matches between the CSV entries and the Azure storage paths.
Open your PST import mapping CSV file in a spreadsheet application like Microsoft Excel or WPS Spreadsheet to view the column structure.
Ensure the first row contains exactly these headers: Workload, FilePath, Name, Mailbox, IsArchive, and TargetRootFolder. Check for accidental spaces or spelling errors.
Verify that the FilePath column precisely matches the folder structure inside your Azure Storage container. If your PST files are uploaded to the root of the container, leave the FilePath column entirely blank.
Check that the Name column exactly matches the uploaded PST filenames, including the .pst extension. Ensure there are no trailing spaces.

Seek Specialized Support for AzCopy Issues
If the CSV mapping is completely accurate but the upload process itself is corrupted, the issue may lie with the AzCopy tool rather than Microsoft 365.
Need a Reliable Tool for Editing CSV Mapping Files? Try WPS Office
While resolving Microsoft 365 and Azure server migrations requires specialized administrative tools, configuring your migration spreadsheets doesn't have to be frustrating. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office for creating, editing, and saving CSV mapping files perfectly.
- 1. Install WPS Office: Download and install the free WPS Office suite from the official website.
- 2. Open your mapping file: Launch WPS Spreadsheet and open your Microsoft 365 PST migration CSV file.
- 3. Edit and save seamlessly: Update your Azure container paths and save the file directly in CSV format without losing critical text formatting.

Frequently Asked Questions
Why does Microsoft 365 say it cannot find my PST file during import?
This typically occurs if the FilePath specified in your CSV mapping file does not exactly match the folder structure in your Azure Storage container, or if the PST filename is misspelled. Verify that you have not incorrectly included the container name in the FilePath column.
Should I include the Azure container name in the CSV FilePath column?
No. You should only include the folder path located inside the container. If your PST files are uploaded directly to the root of the Azure container rather than inside a subfolder, you must leave the FilePath column completely blank in the CSV.
Is AzCopy officially supported by Microsoft 365 support teams?
AzCopy is an Azure command-line utility for moving data to and from Microsoft Azure Storage. While it is the recommended method for uploading PST files to Microsoft 365, technical issues strictly related to the AzCopy command tool itself are generally supported via the Azure Storage AzCopy GitHub repository rather than standard Office 365 support.




