-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Labels
Transfer From: Enterprise-Scale ➡️Issue transferred from Azure/Enterprise-ScaleIssue transferred from Azure/Enterprise-Scale
Description
Describe the bug
When deploying, if organizational policies prevent access to storage accounts using keys, the deployment fails. The error message indicates that key-based authentication is not permitted on the storage account. In such cases, the deployment scripts should utilize managed identity for authentication instead of relying on storage account keys.
Steps to reproduce
- Deploy the solution in an environment where policies disallow key-based access to storage accounts.
- Observe deployment failure due to forbidden key-based authentication.
Error sample (sensitive information removed):
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed.",
"details": [{
"code": "ResourceDeploymentFailure",
"message": "Key based authentication is not permitted on this storage account. Status: 403 (Key based authentication is not permitted on this storage account.) ErrorCode: KeyBasedAuthenticationNotPermitted"
}]
Suggestion: Update deployment scripts to use managed identity when access with keys is not allowed by policy.
Metadata
Metadata
Assignees
Labels
Transfer From: Enterprise-Scale ➡️Issue transferred from Azure/Enterprise-ScaleIssue transferred from Azure/Enterprise-Scale
Type
Projects
Status
Done