Share via

Resolving AllowedCopyScopeAuthorizationFailure in Azure Storage Container

Abdul 2,655 Reputation points Microsoft External Staff Moderator
2024-07-31T10:21:47.3466667+00:00

Why am I encountering an AllowedCopyScopeAuthorizationFailure error when trying to copy blobs between storage accounts in Azure?
 "PS - Based on common issues that we have seen from customers and other sources, we are posting these questions to help the Azure community."

Azure Blob Storage
Azure Blob Storage

An Azure service that stores unstructured data in the cloud as blobs.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Abdul 2,655 Reputation points Microsoft External Staff Moderator
    2024-07-31T10:23:24.8966667+00:00

    Greetings!

    The AllowedCopyScopeAuthorizationFailure error occurs when the permitted scope for copy operations in your Azure storage account is set to Private link, and the conditions for this setting are not met. Specifically, for the copy operation to succeed, both the source and destination storage accounts must have private links configured to the same virtual network. If these conditions are not met, a 403 Forbidden error is returned because the operation violates the permitted scope.

    In your case, the error was caused by the configuration of the AllowedCopyScope feature. To resolve this issue, you can either ensure that both storage accounts have private links configured to the same virtual network or change the AllowedCopyScope setting to allow copy operations from anywhere. The latter approach was tested and successfully resolved the issue.

    Resources:

    Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.

    Please do not forget to "up-vote" wherever the information provided helps you, as this can be beneficial to other community members.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.