---
type: resource-type
title: PolicyDefinition
description: azure resource type Microsoft.Authorization/policyDefinitions
name: PolicyDefinition
lexicon: azure
resource_type: Microsoft.Authorization/policyDefinitions
---
`Microsoft.Authorization/policyDefinitions`, a resource type of the azure lexicon.

## Properties

- `name` (`string`, required): The resource name
- `properties` (`PolicyDefinition_PolicyDefinitionProperties`, required): The policy definition properties.
- `resources` (`any[]`, optional)

## Attributes

- `id`

## Governed by

- [AZR013](/rules/AZR013.md): Resource missing location — most Azure resources require a location property
- [AZR032](/rules/AZR032.md): Custom policy definition assigned nowhere — a defined but unassigned guardrail enforces nothing
