An administrator needs to upload files from an on-premises workstation to an Azure Storage account named stdata2026 using Azure Storage Explorer. The storage account has its firewall configured to restrict access to 'Selected networks'. The administrator's workstation public IP address has been added to the allowed IP ranges of the storage account. The administrator is assigned the Contributor role at the storage account scope. When attempting to upload blobs using Microsoft Entra ID authentication in Storage Explorer, the administrator receives an authorization error.
Which action should the administrator take to resolve this error?
- Assign the Storage Blob Data Contributor role to the administrator's Microsoft Entra ID account.Cevap
- BEnable the 'Allow trusted Microsoft services to access this storage account' setting in the firewall configuration.
- CCreate and connect using a Shared Access Signature (SAS) token that has its expiration date set to two years in the future.
- DEnsure that the administrator is assigned the Reader role at the subscription level.
Cevap
Assign the Storage Blob Data Contributor role to the administrator's Microsoft Entra ID account.
The administrator is attempting to access the storage account's data plane (uploading blobs) using Microsoft Entra ID authentication. Although they have the Contributor role at the storage account scope, this control-plane role does not grant data-plane read/write permissions for blobs. To resolve the authorization error, they must be assigned a data-plane role such as Storage Blob Data Contributor.
Adım Adım Çözüm
Anahtar Kavram
Data plane vs. control plane authorization in Azure Storage