Fix SharePoint Migration Tool Azure Queue Error 0x02040015
Question details
The user needs to resolve an issue where the SharePoint Migration Tool stops at 19% due to an Azure queue acquisition failure.
- Product
- SharePoint Migration Tool
- Device & OS
- not provided
- Scenario
- Running a data migration to SharePoint with custom Azure Storage enabled.
- Observed behavior
- The migration process halts at 19% and displays the message 'Package Engine has stopped because acquiring Azure queue failed' along with ErrorCode: 0x02040015.
Ensure you have global administrator or SharePoint administrator privileges and access to the Azure portal to verify your storage account settings.
Verify Azure Storage Configuration and Network Rules
Check if the SharePoint Migration Tool has the correct credentials and network access to your custom Azure Storage.
This error generally occurs when the migration tool is unable to authenticate or reach the Azure queue due to incorrect keys or strict firewall rules.
Log in to the Azure Portal and navigate to the specific Storage Account you are using for the migration.
Click on 'Access keys' in the left menu and confirm the connection strings are correct and currently active.
Go to 'Access Control (IAM)' to ensure your migration account has the necessary queue access permissions, such as the Storage Queue Data Contributor role.
Select 'Networking' and adjust your firewall settings to allow the SharePoint Migration Tool's IP addresses to reach the storage account.
Temporarily Disable Custom Azure Storage
Bypassing the custom Azure Storage option allows the migration to continue using Microsoft's default provisioning.
Submit a Support Request with Migration Logs
If the error persists despite correct configurations, Microsoft Support can analyze the migration logs to pinpoint the underlying queue acquisition failure.
Boost Your Team's Productivity with WPS Office
While you troubleshoot SharePoint migration and Azure configuration errors, ensure your team has reliable tools for their daily work. WPS Office is a powerful, lightweight, and cost-effective alternative to Microsoft Office that easily handles documents, spreadsheets, and presentations without heavy resource demands.
- 1. Download the Installer: Visit the official WPS Office website and click the Free Download button.
- 2. Install the Software: Run the downloaded setup file and follow the on-screen instructions to install.
- 3. Start Working: Launch WPS Office and instantly open your existing Microsoft Office files.

Frequently Asked Questions
What does ErrorCode 0x02040015 mean in the SharePoint Migration Tool?
It indicates that the Package Engine stopped because it failed to acquire the Azure queue. This usually points to misconfigured custom Azure Storage, incorrect access keys, missing permissions, or network firewall blocks.
Can I resume my migration after fixing the Azure Storage settings?
Yes, once you correct the permissions or firewall rules in the Azure portal, you can safely resume the SharePoint Migration Tool task from where it paused (typically around 19%).
Where do I find the SPMT error logs?
You can find detailed migration logs by clicking the 'View Logs' button directly in the SharePoint Migration Tool interface, or by navigating to the SPMT app data folder located at C:\Users\[Username]\AppData\Roaming\Microsoft\SPMT\Logs on your local drive.




