Skip to content

Commit 8ab4b74

Browse files
committed
update the article with Acrolinx suggestions
1 parent 81b3d91 commit 8ab4b74

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

support/entra/entra-id/users-groups-entra-apis/error-call-me-endpoint-microsoft-graph.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
---
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.
2+
title: NoPermissionsInAccessToken when calling me endpoint in Microsoft Graph
3+
description: Describes an issue in which the you receive `NoPermissionsInAccessToken` error when you call `/me` endpoint in Microsoft Graph.
44
ms.date: 04/03/2025
55
ms.service: entra-id
66
ms.custom: sap:Getting access denied errors (Authorization)
77
ms.reviewer: willfid, v-weizhu
88
---
9-
# resolve issues with calling the “me” endpoint in Microsoft Graph
9+
# NoPermissionsInAccessToken when calling me endpoint
1010

11-
Microsoft Graph provides various methods to retrieve user information from Azure Active Directory (Azure AD). This includes user attributes, group memberships, email access, and more. However, specific endpoints in Microsoft Graph require particular permissions and contexts to function correctly. This article explains the functionality of the “me” endpoint, restrictions associated with it, common errors when using it improperly, and how to resolve these issues.
11+
This article describes an issue in which the you receive `NoPermissionsInAccessToken` error when you call `/me` endpoint in Microsoft Graph.
1212

1313
## Symptoms
1414

1515
When you try to call the `/me` endpoint from your Microsoft Entra ID-based application that use [client credentials grant flow](/entra/identity-platform/v2-oauth2-client-creds-grant-flow), the following error may occur:
1616

17-
json
17+
·```output
1818
{
1919
"error": {
2020
"code": "NoPermissionsInAccessToken",
@@ -28,10 +28,10 @@ json
2828
}
2929
}
3030
}
31-
31+
·```
3232
## Cause
3333

34-
The `/me` endpoint is designed to allow signed-in users to retrieve their own information. To call the `/me` endpoint, it requires a user context because it uses delegated permissions. This means that a token generated by using the client credentials grant flow cannot use the `/me` endpoint due to the absence of user context information.
34+
The `/me` endpoint is designed to allow signed-in users to retrieve their own information. To call the `/me` endpoint, it requires a user context because it uses delegated permissions. This means that a token generated by using the client credentials grant flow can't use the `/me` endpoint due to the absence of user context information.
3535

3636
Tokens obtained using the client credentials grant flow represent application identities, not user identities. These tokens contain a **roles** claim for application permissions instead of a scp (scopes) claim for delegated permissions. The absence of user context makes it impossible for the `/me` endpoint to determine the user associated with the request.
3737

0 commit comments

Comments
 (0)