Azure AD - Setting the accessTokenAcceptedVersion

Maddock, Geoffrey 1 Reputation point
2022-12-06T22:01:16.51+00:00

In our Azure AD instance, we were using auth code to request a token. Looking at the JWT, it's returning ver: 1.0.

Examining the manifest, we found that it had
accessTokenAcceptedVersion: null

So we changed to:
accessTokenAcceptedVersion: 2

However, even an hour later, we're still getting 1.0 tokens.

Is there another setting here? Might it take longer than an hour for this setting change to propagate?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 37,366 Reputation points Microsoft Employee Moderator
    2022-12-12T17:46:55.027+00:00

    Hi @Maddock, Geoffrey ,

    Following up on the previous comment, the official documentation about the accessTokenAcceptedVersion is Understanding the Azure Active Directory app manifest - Microsoft Entra | Microsoft Learn and Microsoft identity platform access tokens - Microsoft Entra | Microsoft Learn The setting does not force Azure AD to issue a V2 token, but is a setting on a resource app (Web API):

    "Resources need to explicitly configure accesstokenAcceptedVersion to indicate the supported access token format."

    So for some non-customer-owned resource apps, a client app cannot adjust this setting and has to accept whichever version of token is supported by the resource app. The accessTokenAcceptedVersion is a setting for a resource app, instead of for a client app to force a V2 token.

    -

    If the information helped you, please Accept the answer. This will help us and other members of the community who might be researching similar information.

    2 people found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.