An organization has an Azure subscription containing a resource group named rg-hr. Within rg-hr, there is an Azure Storage account named sthrdocs99 that contains a blob container named salaries. A security group named HR-Auditors must be allowed to read the blobs in the salaries container. An administrator assigns the Reader role to the HR-Auditors group at the storage account level. Members of the group report that they can view the storage account properties in the Azure portal but receive an authorization error when they attempt to list or read the blobs. What role assignment should the administrator configure to allow the HR-Auditors group to read the blobs while adhering to the principle of least privilege?
- Assign the Storage Blob Data Reader role to the HR-Auditors group at the scope of the salaries container.Answer
- BAssign the Contributor role to the HR-Auditors group at the scope of the sthrdocs99 storage account.
- CAssign the Directory Readers Microsoft Entra ID role to the HR-Auditors group.
- DAssign the Reader role to the HR-Auditors group at the scope of the salaries container.
Answer
Assign the Storage Blob Data Reader role to the HR-Auditors group at the scope of the salaries container.
To read blobs using Microsoft Entra ID authentication, a security principal must be assigned a data plane role such as Storage Blob Data Reader. To enforce least privilege, this role should be scoped to the specific blob container (salaries) rather than the entire storage account.
Step-by-Step Solution
Key Concept
Separation of control plane and data plane roles in Azure Storage RBAC assignments using Microsoft Entra ID.