---
title: "GET /{scope}/providers/Microsoft.Authorization/roleAssignments"
method: GET
path: "/{scope}/providers/Microsoft.Authorization/roleAssignments"
---

# GET /{scope}/providers/Microsoft.Authorization/roleAssignments

`GET /{scope}/providers/Microsoft.Authorization/roleAssignments`

Gets role assignments for a scope.

## Path parameters

- `scope` string, required

## Query parameters

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

## Response `200`

The request has succeeded.

- RoleAssignmentListResult — Role assignment list operation result.
  - `value` RoleAssignment[] — Role assignment list.
    - `id` string — The role assignment ID.
    - `name` string — The role assignment name.
    - `type` string — The role assignment type.
    - `properties` RoleAssignmentPropertiesWithScope — Role assignment properties with scope.
      - `scope` '/' | '/keys' — The role scope.
      - `roleDefinitionId` string — The role definition ID.
      - `principalId` string — The principal ID.
  - `nextLink` string — The URL to use for getting the next set of results.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.dev/azure/apis/keyvault-administration.md) · [All operations](https://skmtc.dev/azure/apis/keyvault-administration/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/keyvault-administration/revisions/207d840b9335/schema)
