Skip to main content

AuthorizationFailed: Deployment identity lacks access

Azure couldn't authorise the deployment action. The deployer might lack access at the named scope, or the deployment might require a resource provider that isn't registered.

What to check​

  1. Read the error for the identity, denied action and scope. Make sure the deployment is using the intended user or service principal.
  2. Ask an administrator who can manage access at that scope to verify that the identity has the required Azure role. Grant only the access the deployment needs.
  3. If the error points to a resource provider, check its registration in the target subscription.

Official reference​