When trying to download content from an Azure storage container, you receive this error:
You are not authorized to perform this operation. Please make sure that you have entered the correct storage account name and a valid access key. This can also occur when attempting to access an expired storage account.
Any error code ending with -276
This error can occur when you click on Download Manifest package in the application.
This error can occur in two situations:
- You are not authorized to access the storage account. This can occur when you configure the migration tool to use your own Azure storage container.
- Your Azure storage container is expired. This can occur with containers provided by Microsoft. The migration tool uses these containers by default unless you configured a container yourself in the options.
Solution #1: Make sure the storage account and access key are valid.
The first step would be to confirm that the storage account name and the access key you entered are valid. The procedure to obtain the storage account and the access key is described here under the "Manage your storage access" keys section.
After re-entering the storage account name and access key, if you still get the " You are not authorized to perform this operation." message, make sure that when you are selecting the access key, you manually select it all. If you try to click 3 times in the box containing the key in order to select all the text, some part of the key may be missing.
Solution #2: Regenerating the access keys
- In your Azure Management Portal, click Storage.
- Click the name of the storage account you want to open.
- Click Manage Keys.
- Click regenerate, and copy the new access key in the migration tool.
Microsoft provides Azure containers for ongoing migrations that expire after 5 days.
There is no way to recover anything from an expired container. To avoid this issue, you can also set up a custom storage account.