Skip to main content

RequestDisallowedByPolicy: Azure Policy blocked the deployment

An assigned Azure policy blocked the requested action because the resource doesn't comply with its rules.

What to check​

  1. Read the error details for the target resource and the policyAssignment and policyDefinition identifiers.
  2. Review the policy rule and update the resource configuration to comply. If you can't read the assignment, ask the administrator responsible for the policy to explain the applicable requirement.

Official reference​

Microsoft Learn: Request disallowed by policy error