-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
bugSomething isn't workingSomething isn't working
Milestone
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
bugSomething isn't workingSomething isn't working