Response from /oauth2/v2.0/token does not include Refresh Token

Tobias Kuess 26 Reputation points
2022-11-08T12:00:57.827+00:00

Hello,

we're currently gettin our access & refresh tokens via ADAL 4J but want to transition to the Auzre AD Rest APIs. Unfortunately, unlike stated in the documentations, the endpoint which yields an access token does not include a refresh token. We are calling the followung URL:

POST https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token

with the following parameters:

  • client_id, client_secret of the application
  • grant_type: password
  • scope: user.read

why is the refresh token missing? Unfortunately the refresh token is very important for our frontends.

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,702 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,088 questions
{count} votes

0 additional answers

Sort by: Most helpful