# RequestDisallowedByPolicy: Resource 'x' was disallowed by policy

**Code:** `RequestDisallowedByPolicy` · **Category:** Azure · **Seen on:** Azure

An Azure Policy assignment denied the request — allowed locations, SKUs, required tags, public network access, etc.

## Meaning

The error includes the policy assignment and definition names. Fix the resource to comply, or ask for an exemption.

## Common causes

- Disallowed region or SKU
- Missing required tags
- Public network access/HTTPS settings violating policy
- Policy assigned at management group level

## Quick fix

1. Read the policy assignment/definition in the error
2. Add the required tags/settings
3. Request a policy exemption if justified

## Detailed fix by platform

### Azure CLI

1. `az policy assignment list --disable-scope-strict-match --query "[].{name:displayName,scope:scope}" -o table`

## How to diagnose

1. **Policy** — Assignment named in the error
2. **Rule** — What it requires (location, tags, SKU)

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/azure/requestdisallowedbypolicy)
