---
title: "Principals (users, groups, and service principals) that are assigned to this service principal."
method: GET
path: "/{tenantID}/servicePrincipals/{objectId}/appRoleAssignedTo"
tags: ["ServicePrincipalAppRoleAssignedTo"]
---

# Principals (users, groups, and service principals) that are assigned to this service principal.

`GET /{tenantID}/servicePrincipals/{objectId}/appRoleAssignedTo`

## Path parameters

- `objectId` string, required
- `tenantID` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK. The operation was successful.

- AppRoleAssignmentListResult — AppRoleAssignment list operation result.
  - `value` AppRoleAssignment[] — A collection of AppRoleAssignment.
    - `objectId` string — The object ID.
    - `objectType` string, required — The object type.
    - `deletionTimestamp` string, date-time, nullable — The time at which the directory object was deleted.
  - `odata.nextLink` string — The URL to get the next set of results.

## Other responses

- `default` — Error response describing why the operation failed.

## Changes

- **2020-12-12** (1.6) `7b30c6a20ae1` — 1 info
  - endpoint added
- **2018-12-05** (1.6) `7ad94c1e7767` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/azure/apis/graphrbacmanagementclient/changes/:tenantID/servicePrincipals/:objectId/appRoleAssignedTo/get.md)

---

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