Email Migration

Fix AzCopy Destination Parsing and 403 Errors When Uploading PST Files

Phi Hung VoPhi Hung Vo Nov 22, 2026 869 views

Question details

The user needs to upload a PST file for Microsoft 365 email migration and resolve AzCopy destination parsing or 403 errors.

Fix AzCopy Destination Parsing and 403 Errors When Uploading PST Files
Product
Microsoft 365 PST import and Azure AzCopy
Device & OS
Windows (version not provided)
Scenario
Uploading a PST file to the Microsoft 365 import storage location using the network-upload procedure.
Observed behavior
AzCopy reports a destination parsing error or a 403 Invalid response, even though the local folder has full sharing permissions.
Before you start

Locate the folder containing the PST file and the SAS URL provided for the Microsoft 365 import job. Check your AzCopy version and keep the SAS URL private because it grants access to the upload location.

Solution 1Recommended

Correct the AzCopy source and destination syntax

Use this approach when AzCopy cannot parse the destination or when a command copied from another AzCopy version fails.

1
Check the AzCopy version

Open Command Prompt and run "azcopy --version", or run the executable by its full path if it is not on your PATH. Use the syntax for that version; legacy /Source and /Dest options differ from AzCopy v10 commands.

2
Get the import destination

In the Microsoft Purview portal, open the PST import job and copy its network-upload SAS URL. Use the URL provided for that job rather than an endpoint copied from an example.

3
Run the upload command

For AzCopy v10, run azcopy copy "C:\PSTFiles" "<full SAS URL>" --recursive=true, replacing the folder path and placeholder with your values. Quote both arguments, especially when the local path contains spaces.

4
Remove optional log arguments

If you added an optional verbose log argument to a legacy command, retry without it. If AzCopy is not recognized, specify the executable's full path in quotes.

5
Check the uploaded location

Follow the Microsoft 365 PST import instructions to verify the uploaded files and ensure the storage location matches the path used in the import mapping file.

Correct the AzCopy source and destination syntax
Use the matching upload procedure: If your procedure calls for a directory, provide the folder containing the PST rather than the individual file. Do not combine legacy AzCopy switches with the v10 copy command.
Free Microsoft Office alternative

Work with Office files in WPS Office after your migration

WPS Office is a free, lightweight, easy-to-use alternative for working with Office documents. Its familiar interface and Microsoft Office format support can make moving everyday document work straightforward. It does not repair AzCopy or import PST mailboxes.

Open and edit documents that accompany your email migrationWork with Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTXUse familiar document, spreadsheet, and presentation toolsKeep a lightweight office suite available for everyday work
microsoft office alternative - wps office

Frequently Asked Questions

Should I upload the PST file or its containing folder?

Follow the Microsoft 365 network-upload instructions for your import job. When the procedure calls for a directory, use the folder containing the PST as the AzCopy source.

Why does AzCopy report that it cannot parse the destination?

Check that the destination is the complete SAS URL, enclosed in quotes, and that your command uses the syntax for your AzCopy version. Remove optional log arguments temporarily to rule out a parsing problem.

Does full folder sharing fix a 403 Invalid response?

No. A 403 generally indicates a storage authorization, endpoint, SAS token, or request-format issue. Check the destination URL, token permissions, and expiration instead.

Can I use legacy /Source and /Dest switches with AzCopy v10?

No. AzCopy v10 uses commands such as azcopy copy with source and destination arguments. Run "azcopy --version" in Command Prompt and follow the instructions for that version.