An organization manages its Azure resources using the following hierarchy:
- Management Group: `MG-Finance`
- Subscription: `Sub-Accounting`
- Resource Group: `RG-Audit`
- Storage Account: `saaudittemplates` (configured to use Microsoft Entra ID authorization for data plane access)
A user named Auditor1 is assigned the Reader role at the `Sub-Accounting` subscription level. Auditor1 is also assigned the Contributor role at the `RG-Audit` resource group level.
Auditor1 attempts to upload a spreadsheet to a blob container named `templates` in `saaudittemplates` using their Microsoft Entra ID credentials but receives an authorization error.
Which action should you perform to allow Auditor1 to upload the file to the container while adhering to the principle of least privilege?
- AAssign the Storage Account Contributor role to Auditor1 at the scope of the `RG-Audit` resource group.
- BAssign the Global Administrator directory role to Auditor1 in Microsoft Entra ID.
- Assign the Storage Blob Data Contributor role to Auditor1 at the scope of the `saaudittemplates` storage account.Answer
- DAssign the Owner role to Auditor1 at the subscription level, and then create an explicit Deny assignment for Auditor1 at the `RG-Audit` resource group scope.