---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyassignments"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyassignments"
tags: ["PolicyAssignments"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyassignments

`GET /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyassignments`

Gets all the policy assignments for a subscription.

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `$filter` string
- `api-version` string, required

## Response `200`

OK - Returns an array of policy assignments.

- PolicyAssignmentListResult — List of policy assignments.
  - `value` PolicyAssignment[] — An array of policy assignments.
    - `properties` PolicyAssignmentProperties — The policy assignment properties.
      - `displayName` string — The display name of the policy assignment.
      - `policyDefinitionId` string — The ID of the policy definition.
      - `scope` string — The scope for the policy assignment.
    - `id` string — The ID of the policy assignment.
    - `type` string — The type of the policy assignment.
    - `name` string — The name of the policy assignment.
  - `nextLink` string — The URL to use for getting the next set of results.

---

[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)
