How to Fix PST Import SAS URL Generation Server Error 500 in Microsoft 365
Question details
The user needs to generate a SAS URL for a PST import in Microsoft 365 but encounters an internal server error preventing the generation.

- Product
- Microsoft 365
- Device & OS
- not provided
- Scenario
- Attempting to generate a SAS URL to import PST data files into Microsoft 365 tenant mailboxes.
- Observed behavior
- The system returns a Server Error 500 during the SAS URL generation process, even when the correct administrator roles are properly assigned.
Verify that your admin account is assigned the 'Mailbox Import Export' role in Exchange Online, as missing permissions can occasionally cause unexpected portal errors. If your permissions are correct, the issue resides on the server side.
Open a Service Request with Microsoft Support
Because Server Error 500 is a backend service issue affecting Microsoft's Azure storage provisioning, you must contact Microsoft support to investigate backend logs and resolve the error.
A 500 Internal Server Error generally means the problem is on Microsoft's end. This specific issue has been known to occur across multiple new tenants simultaneously, requiring Microsoft engineering to collect diagnostic data and fix the backend SAS URL generation process.
Navigate to the Microsoft 365 admin center at admin.microsoft.com and sign in using your global administrator credentials.
Click on the 'Support' icon in the left-hand navigation pane and select 'Help & support'.
Type 'PST Import SAS URL Generation Error 500' into the search field and press Enter to view potential automated solutions.
If the automated solutions do not work, click the 'Contact support' button to open a formal service request.
Inform the support agent that this is a tenant-level Server Error 500 occurring during SAS URL generation, and request that they review the backend logs or escalate the ticket to engineering.

Try WPS Office for Seamless Document Management
While waiting for Microsoft 365 backend server errors to be resolved, you can ensure your daily productivity remains uninterrupted. WPS Office is a powerful, free, and lightweight alternative for creating, editing, and sharing Word, Excel, and PowerPoint documents.
- 1. Download the Installer: Visit the official WPS Office website and click the free download button for your operating system.
- 2. Install the Software: Run the downloaded installer file and follow the quick on-screen instructions to set up the software.
- 3. Open Your Documents: Launch WPS Office and instantly open your existing Microsoft Office files with perfect formatting preservation.

Frequently Asked Questions
What does Server Error 500 mean when importing PST files?
A Server Error 500 indicates an 'Internal Server Error', meaning the Microsoft 365 backend servers failed to process your request to generate the Azure storage SAS URL. It is a system-side issue rather than a configuration error on your device.
Do I need special permissions to generate a SAS URL for PST import?
Yes, your administrator account must be assigned the 'Mailbox Import Export' role in Exchange Online. Without it, you will not be able to access the PST import functionality at all.
Can I fix the PST Import Error 500 by myself?
Generally, no. Because the error involves backend Azure storage provisioning failures on Microsoft's end, it typically requires a Microsoft support agent to review backend logs and escalate the issue to their engineering team.




