---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policydefinitions/{policyDefinitionName}"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policydefinitions/{policyDefinitionName}"
tags: ["PolicyDefinitions"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policydefinitions/{policyDefinitionName}

`GET /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policydefinitions/{policyDefinitionName}`

Gets the policy definition.

## Path parameters

- `policyDefinitionName` string, required
- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK - Returns information about the policy definition.

- PolicyDefinition — The policy definition.
  - `properties` PolicyDefinitionProperties — The policy definition properties.
    - `policyType` 'NotSpecified' | 'BuiltIn' | 'Custom' — The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.
    - `displayName` string — The display name of the policy definition.
    - `description` string — The policy definition description.
    - `policyRule` object — The policy rule.
  - `id` string — The ID of the policy definition.
  - `name` string — The name of the policy definition. If you do not specify a value for name, the value is inferred from the name value in the request URI.

---

[API](https://skmtc.net/azure/apis/policyclient.md) · [All operations](https://skmtc.net/azure/apis/policyclient/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/policyclient/versions/1385b483fa24/schema)
