An administrator is configuring security for an Azure Storage account named storage1 to comply with a corporate security policy. The policy dictates that all access keys must be disabled, and shared key access must be blocked. The administrator sets the allowSharedKeyAccess property to false on storage1. A developer named User1 is assigned the Storage Blob Data Reader role scoped to a container named archive in storage1. User1 needs to generate a Shared Access Signature (SAS) token that allows an external application to read blobs from the archive container. The external application cannot authenticate using Microsoft Entra ID. User1 attempts to generate a SAS token, but the token is rejected by the storage account. You need to configure the resource permissions to ensure that User1 can successfully generate a functional SAS token to access the container while maintaining the principle of least privilege. Which action should you perform?
- Assign User1 the Storage Blob Delegator role at the storage account level, and have User1 generate a User Delegation SAS.Answer
- BAssign User1 the Storage Account Contributor role at the resource group level, and have User1 generate an account SAS.
- CAssign User1 the Reader role at the subscription level, and have User1 generate a service SAS.
- DAssign User1 the Storage Blob Data Reader role at the storage account level, and have User1 generate a User Delegation SAS.