Skip to content
Cloud Governance Tools

Allowed resource types

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."

Sources

  1. Allowed resource types, read 10 Nov 2026
  2. How to test it first, read 10 Nov 2026

Last reviewed 16 Nov 2026.