Forum Discussion

hassanahtasham's avatar
hassanahtasham
Copper Contributor
Dec 24, 2022

Getting request disallowed by policy error while creating acr.

 

1 Reply

  • The “RequestDisallowedByPolicy” error indicates that an Azure Policy assigned at the subscription or resource group level is preventing the deployment of an Azure Container Registry (ACR). The enforced policy, Allowed resource types, restricts deployments to a defined set of resource types (such as virtual machines, disks, and networking components). Since Microsoft.ContainerRegistry/registries is not included in the permitted list, the creation of an ACR is explicitly blocked.

     

    https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/error-policy-requestdisallowedbypolicy?tabs=azure-cli