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.
More resource and cost guardrails ยท About Azure Policy
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)
- Test before applying
- As for every Azure Policy guardrail: how to test before enforcing
- Mechanism
- Azure Policy (built-in definitions): Resources at the scope of the assignment (management group, subscription, resource group) and their children, except notScopes and exemptions
- Taken from
- open source set, 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 typesAWS, Service control policies (SCPs), resource and cost
- Restrict AWS Marketplace subscription changesAWS, Service control policies (SCPs), resource and cost
- Shared reservations owner projectsGoogle Cloud, Organization Policy Service (managed and legacy constraints), resource and cost
- Not allowed resource typesAzure, Azure Policy (built-in definitions), resource and cost
- Allowed virtual machine size SKUsAzure, Azure Policy (built-in definitions), resource and cost
Related pages
Sources
- Allowed resource types, read 10 Nov 2026
- How to test it first, read 10 Nov 2026
Last reviewed 16 Nov 2026.