You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Helps you troubleshoot access token signature validation errors and provides solutions in some scenarios.
4
-
ms.date: 08/06/2025
4
+
ms.date: 08/08/2025
5
5
ms.reviewer: willfid
6
6
ms.service: entra-id
7
7
ms.custom: sap:Developing or Registering apps with Microsoft identity platform
@@ -24,7 +24,7 @@ When a resource provider validates an access token's signature, signature valida
24
24
25
25
## Step 2: Validate the audience claim of the access token
26
26
27
-
If you send a Microsoft Graph access token to a non-Microsoft Graph resource provider, you will get a signature validation error. Only Microsoft Graph can validate such token. The value of a Microsoft Graph token's `aud` claim is one of the following:
27
+
If you send a Microsoft Graph access token to a non-Microsoft Graph resource provider, you get a signature validation error. Only Microsoft Graph can validate such token. The value of a Microsoft Graph token's `aud` claim is one of the following:
28
28
29
29
-`https://graph.microsoft.us`
30
30
-`https://graph.microsoft.us/`
@@ -48,7 +48,7 @@ If you use a Microsoft authentication library like Microsoft Authentication Libr
48
48
49
49
If you have configured a tenant ID, the `MetadataAddress` would be `https://login.microsoftonline.com/{tenant-id}/v2.0/.well-known/openid-configuration`. If you have configured an `Authority` like `https://login.microsoftonline.us/{tenant-id}`, the `MetadataAddress` would be `https://login.microsoftonline.us/{tenant-id}/v2.0/.well-known/openid-configuration`.
50
50
51
-
The OpenId Connect Metadata endpoint includes the `jwks_uri` property (also known as discovery keys endpoint), which specifies the location of signing keys. Depending on which OpenId Connect Metadata endpoint is used, it will return a different URL for the `jwks_uri` property. Here's a table that provides a few examples:
51
+
The OpenId Connect Metadata endpoint includes the `jwks_uri` property (also known as discovery keys endpoint), which specifies the location of signing keys. Depending on which OpenId Connect Metadata endpoint is used, it returns a different URL for the `jwks_uri` property. Here's a table that provides a few examples:
52
52
53
53
| Metadata endpoint | Discovery keys endpoint |
54
54
| --- | --- |
@@ -122,7 +122,7 @@ Assume that the access token is issued from Microsoft Entra ID instead of Azure
122
122
123
123
We don't recommend using both OAuth2 and SAML for the same application. To resolve this issue, keep your application separate for OAuth2 and SAML by using one of the following methods:
124
124
125
-
- Create a new app registration for OAuth2 (recommended method)
125
+
- Create a new app registration for OAuth2 (recommended method).
126
126
- Convert the enterprise application to use OAuth2 only.
127
127
128
128
To do so, disable SAML SSO by setting the `preferredSingleSignOnMode` property on the `servicePrincipal` to `null` or `oidc`.
@@ -136,7 +136,7 @@ We don't recommend using both OAuth2 and SAML for the same application. To resol
136
136
137
137
Make sure you set the OpenId Connect Metadata configuration based on whether the access token is issued from Microsoft Entra ID or Azure AD B2C, or if adding `?appid={application-id}`.
138
138
139
-
Generally configuring the Microsoft Entra ID `Instance` and `Tenant`, or `Authority` correctly can resolve signature validation errors.
139
+
Generally, configuring the Microsoft Entra ID `Instance` and `Tenant`, or `Authority` correctly can resolve signature validation errors.
140
140
141
141
- `Instance`
142
142
@@ -154,7 +154,7 @@ Generally configuring the Microsoft Entra ID `Instance` and `Tenant`, or `Author
154
154
155
155
So, `Authority` would be like `https://login.microsoftonline.com/contoso.onmicrosoft.com`.
156
156
157
-
Generally the `MetadataAddress` is built based on the `Instance`/`Tenant`/`Authority` configuration and will automatically concatenate `/.well-known/openid-configuration` at the end. The following sections provide examples of manually specifying the `MetadataAddress`.
157
+
Generally, the `MetadataAddress` is built based on the `Instance`/`Tenant`/`Authority` configuration and will automatically concatenate `/.well-known/openid-configuration` at the end. The following sections provide examples of manually specifying the `MetadataAddress`.
158
158
159
159
### Example 1: Use Microsoft Identity Web
160
160
@@ -226,7 +226,7 @@ For more details, see [Microsoft Identity Web customization](https://github.com/
0 commit comments