# Allowed resource types

Facts read 10 Nov 2026. Page reviewed 16 Nov 2026.

Allowed resource types is an Azure guardrail written in Azure Policy. Denies deployment of any resource type that is not on the allowed list you set in the policy parameter. What it breaks: only resource types that support tags and location are affected unless you duplicate the definition and change its mode to All.

```text
Built-in policy definition: Allowed resource types
Definition ID: a08ec900-254a-4555-9bf5-e42af04b5c5c
Category: General
Supported effects: Audit, Deny, Disabled
policyRule (copied from the repository file):
{
    "if": {
      "not": {
        "field": "type",
        "in": "[parameters('listOfResourceTypesAllowed')]"
      }
    },
    "then": {
      "effect": "[parameters('effect')]"
    }
  }
```

- **Blocks:** Denies deployment of any resource type that is not on the allowed list you set in the policy parameter.
- **Breaks:** Only resource types that support tags and location are affected unless you duplicate the definition and change its mode to All. ([source](https://raw.githubusercontent.com/Azure/azure-policy/master/built-in-policies/policyDefinitions/General/AllowedResourceTypes_Deny.json))
- **Test before applying:** As for every Azure Policy guardrail: [how to test before enforcing](/mechanisms/azure-policy/)
- **Mechanism:** [Azure Policy (built-in definitions)](/mechanisms/azure-policy/): Resources at the scope of the assignment (management group, subscription, resource group) and their children, except notScopes and exemptions
- **Taken from:** [open source set](https://raw.githubusercontent.com/Azure/azure-policy/master/built-in-policies/policyDefinitions/General/AllowedResourceTypes_Deny.json), MIT License, Azure/azure-policy repository, https://raw.githubusercontent.com/Azure/azure-policy/master/LICENSE

## What the source says

"This policy enables you to specify the resource types that your organization can deploy." (read 10 Nov 2026).

On what it breaks: "Only resource types that support 'tags' and 'location' will be affected by this policy."

## Related guardrails

- [Restrict EC2 launches to approved instance types](/guardrails/aws-scp-restrict-ec2-instance-types/): AWS, Service control policies (SCPs), resource and cost
- [Restrict AWS Marketplace subscription changes](/guardrails/aws-scp-restrict-marketplace-subscriptions/): AWS, Service control policies (SCPs), resource and cost
- [Shared reservations owner projects](/guardrails/gcp-orgpolicy-shared-reservations-owner-projects/): Google Cloud, Organization Policy Service (managed and legacy constraints), resource and cost
- [Not allowed resource types](/guardrails/azure-policy-not-allowed-resource-types/): Azure, Azure Policy (built-in definitions), resource and cost
- [Allowed virtual machine size SKUs](/guardrails/azure-policy-allowed-vm-sizes/): Azure, Azure Policy (built-in definitions), resource and cost

## Related pages

- [Not allowed resource types (Azure Azure Policy)](/guardrails/azure-policy-not-allowed-resource-types/)
- [Do not allow deletion of resource types (Azure Azure Policy)](/guardrails/azure-policy-deny-action-delete/)
- [Allowed virtual machine size SKUs (Azure Azure Policy)](/guardrails/azure-policy-allowed-vm-sizes/)

## Sources

- Allowed resource types: https://raw.githubusercontent.com/Azure/azure-policy/master/built-in-policies/policyDefinitions/General/AllowedResourceTypes_Deny.json (read 10 Nov 2026)
- How to test it first: https://learn.microsoft.com/en-us/azure/governance/policy/concepts/assignment-structure (read 10 Nov 2026)

Last reviewed 16 Nov 2026. Canonical: https://cloudgovernancetools.com/guardrails/azure-policy-allowed-resource-types/
