Skip to content

Commit 597cf01

Browse files
author
Simonx Xu
authored
Merge pull request #8596 from AmandaAZ/Branch-CI4675
AB#4675: Convert blog post to article
2 parents 63c9966 + 79f7ea1 commit 597cf01

2 files changed

Lines changed: 50 additions & 3 deletions

File tree

support/entra/entra-id/toc.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,12 @@
282282
- name: The memberOf API returns null values for properties
283283
href: users-groups-entra-apis/memberof-api-returns-null-properties.md
284284
- name: Getting access denied errors (Authorization)
285-
items:
286-
- name: Add an owner to an application
287-
href: users-groups-entra-apis/add-owner-for-application-microsoft-graph.md
285+
items:
286+
- name: Error "The identity of the calling application could not be established"
287+
href: users-groups-entra-apis/identity-of-calling-application-not-established.md
288+
- name: Add an owner to an application
289+
href: users-groups-entra-apis/add-owner-for-application-microsoft-graph.md
290+
288291
- name: Microsoft Entra User Provisioning and Synchronization
289292
items:
290293
- name: User Sign-in or password Problems
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: The Identity of the Calling Application Could Not Be Established
3+
description: Provides solutions to the identity of the calling application could not be established error when using Microsoft Graph.
4+
ms.date: 04/03/2025
5+
ms.service: entra-id
6+
ms.custom: sap:Getting access denied errors (Authorization)
7+
ms.reviewer: willfid, v-weizhu
8+
---
9+
# Error "The identity of the calling application could not be established"
10+
11+
This article provides solutions to the error message "The identity of the calling application could not be established" when using Microsoft Graph.
12+
13+
## Symptoms
14+
15+
When using Microsoft Graph or some services that rely on it, you encounter the following error message:
16+
17+
> The identity of the calling application could not be established
18+
19+
## Cause
20+
21+
This error occurs because the `oid` and `sub` claims are missing from the access token. The root cause is that the service principal doesn't exist in the tenant or the tenant isn't aware of the application.
22+
23+
## Solution
24+
25+
To resolve this error, add the service principal to the tenant and consent to the permissions required by the application.
26+
27+
You can [build an admin consent URL](/entra/identity/enterprise-apps/grant-admin-consent#construct-the-url-for-granting-tenant-wide-admin-consent) like the following one:
28+
29+
`https://login.microsoftonline.com/{organization}/adminconsent?client_id={client-id}`
30+
31+
Then, sign in with a Global Administrator account of the tenant where you are trying to access resources.
32+
33+
> [!NOTE]
34+
> - Replace `{organization}` with the tenant ID, for example, aaaaaaaaaaaa-bbbb-cccc-1111-22222222.
35+
> - Replace `{client-id}` with the application ID, for example, dddddddddddd-eeee-ffff-3333-44444444.
36+
37+
## References
38+
39+
- [Understanding Microsoft Entra application consent experiences](/entra/identity-platform/application-consent-experience)
40+
- [Overview of permissions and consent in the Microsoft identity platform](/entra/identity-platform/permissions-consent-overview)
41+
- [Retire Service Principal-Less Authentication](/entra/identity-platform/retire-service-principal-less-authentication)
42+
43+
44+
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]

0 commit comments

Comments
 (0)