An administrator successfully logs in to AzCopy using a Microsoft Entra ID account. However, when the administrator attempts to copy files to an Azure Blob storage container, the copy operation fails with an authorization error. The administrator's user account has the Contributor role for the storage account. Which action should the administrator perform to resolve the authorization error?
- Assign the Storage Blob Data Contributor role to the administrator's user account.Answer
- BAssign the Storage Queue Data Contributor role to the administrator's user account.
- CRegenerate the storage account access keys.
- DEnable the 'Allow trusted Microsoft services to access this storage account' setting on the storage account firewall.
Answer
Assign the Storage Blob Data Contributor role to the administrator's user account.
The correct answer is to assign the Storage Blob Data Contributor role. Microsoft Entra ID authorization requires specific data-plane roles for storage data access. Control plane roles like Contributor manage the storage account structure but do not allow writing or reading Blob data directly.
Step-by-Step Solution
Key Concept
Data-plane versus control-plane permissions for Azure Storage using Microsoft Entra ID authentication
Estimated Time:1m 0s