> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Policy Exemptions

List all policy exemptions.

<Note>
  External Documentation

  To learn more, visit the [Azure documentation](https://learn.microsoft.com/en-us/rest/api/policy-authorization/policy-exemptions/list?view=rest-policy-authorization-2023-04-01\&tabs=HTTP).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter       | Description                                                                                                                                                                                                              |
  | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Filter          | The filter to return results by. For more information see [Azure documentation](https://learn.microsoft.com/en-us/rest/api/policy/policy-exemptions/list?view=rest-policy-2022-07-01-preview\&tabs=HTTP#uri-parameters). |
  | Subscription ID | The ID of the azure subscription to use.                                                                                                                                                                                 |
</div>

## Example Output

```json theme={"dark"}
{
	"value": [
		{
			"properties": {
				"policyAssignmentId": "/providers/Microsoft.Management/managementGroups/DevOrg/providers/Microsoft.Authorization/policyAssignments/CostManagement",
				"policyDefinitionReferenceIds": [
					"Limit_Skus"
				],
				"exemptionCategory": "Waiver",
				"displayName": "Exempt demo cluster",
				"description": "Exempt demo cluster from limit sku",
				"metadata": {
					"reason": "Temporary exemption for an expensive VM demo"
				}
			},
			"systemData": {
				"createdBy": "string",
				"createdByType": "User",
				"createdAt": "2020-07-01T01:01:01.1075056Z",
				"lastModifiedBy": "string",
				"lastModifiedByType": "User",
				"lastModifiedAt": "2020-07-01T02:01:01.1075056Z"
			},
			"id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyExemptions/TestVMSub",
			"type": "Microsoft.Authorization/policyExemptions",
			"name": "TestVMSub"
		},
		{
			"properties": {
				"policyAssignmentId": "/providers/Microsoft.Management/managementGroups/DevOrg/providers/Microsoft.Authorization/policyAssignments/LimitPorts",
				"exemptionCategory": "Mitigated",
				"displayName": "Exempt jump box open ports",
				"description": "Exempt jump box open ports from limit ports policy",
				"metadata": {
					"reason": "Need to open RDP port to corp net"
				}
			},
			"systemData": {
				"createdBy": "string",
				"createdByType": "User",
				"createdAt": "2020-07-01T01:01:01.1075056Z",
				"lastModifiedBy": "string",
				"lastModifiedByType": "User",
				"lastModifiedAt": "2020-07-01T02:01:01.1075056Z"
			},
			"id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyExemptions/TestVNetSub",
			"type": "Microsoft.Authorization/policyExemptions",
			"name": "TestVNetSub"
		}
	]
}
```

## Workflow Library Example

[List Policy Exemptions with Azure and Send Results Via Email](https://library.blinkops.com/workflows/list-policy-exemptions-with-azure-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-policy-exemptions-with-azure-and-send-results-via-email/canvas" />
</div>
