I have an Azure AD application that I created in the App Registrations blade of the Azure Portal. The application has been given access to a Web API (that is actually an Azure AD B2C application). I am attempting to get a token from Azure AD using client credentials (client_id, client_secret and resource). In my dev instance, Azure AD will return my a Azure AD V1 Token, but it my test instance Azure AD is returning me an Azure AD V2 Token.
I am calling https://login.microsoftonline.com//oauth2/token in both instances with the same body input (grant_type, client_id, client_secret and resource).
Why would that endpoint be returning me a V2 token when I am not calling the v2.0 endpoint?
AccessTokenAcceptedVersion
field is the same? – Daniel Dobalian