---
title: "GET /{tenantID}/servicePrincipalsByAppId/{applicationID}/objectId"
method: GET
path: "/{tenantID}/servicePrincipalsByAppId/{applicationID}/objectId"
tags: ["ServicePrincipalsByAppId"]
---

# GET /{tenantID}/servicePrincipalsByAppId/{applicationID}/objectId

`GET /{tenantID}/servicePrincipalsByAppId/{applicationID}/objectId`

Gets an object id for a given application id from the current tenant.

## Path parameters

- `tenantID` string, required
- `applicationID` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK. The operation was successful.

- ServicePrincipalObjectResult — Service Principal Object Result.
  - `value` string — The Object ID of the service principal with the specified application ID.
  - `odata.metadata` string — The URL representing edm equivalent.

## Other responses

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

## Changes

- **2019-03-20** (1.6) `f2aae0554c6c` — 1 info
  - endpoint added
- **2019-03-15** (1.6) `7f0682b04553` — 1 breaking
  - api path removed without deprecation
- **2019-03-15** (1.6) `1f1aa107cbf5` — 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/servicePrincipalsByAppId/:applicationID/objectId/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)
