---
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.

---

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