when trying to create token for implicit flow getting error

Radha Rajendran 1 Reputation point

Request Id: 211e174d-4bed-4bd5-9e80-0689c8544500
Correlation Id: 0e54da4b-2a6b-4b0d-b4cf-82ff99f1d39d
Timestamp: 2021-08-18T20:57:26Z
Message: AADSTS700051: response_type 'token' is not enabled for the application.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,776 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Vasil Michev 96,516 Reputation points MVP

    As mentioned in the documentation, you need to make sure the implicit flow is enabled first: https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-implicit-grant-flow#send-the-sign-in-request

  2. Radha Rajendran 1 Reputation point

    @Vasil Michev , Thank you for the response. It perfectly works on brower with a login. However when i try to create a token using postman for implicit flow i am getting that error. Let me know how should i generate proper token.

    0 comments No comments

  3. JamesTran-MSFT 36,476 Reputation points Microsoft Employee

    Thank you for your post!

    Based off the error message you received, can you make sure that you enabled Access Tokens and ID Tokens with your Azure AD app registration? I also found within our OAuth2.0 Implicit Grant Flow documentation, that to successfully request an ID token and/or an access token, the app registration in the Azure portal - App registrations page must have the corresponding implicit grant flow enabled, by selecting ID tokens and access tokens in the Implicit grant and hybrid flows section.


    Additional Link that might help with your issue:
    response_type ‘token’ is not enabled for the application in Dynamics 365 and Postman connection

    If you're still having issues, can you share any documentation you followed or any screenshots of your issue, so I can gain a better understanding.

    If you have any other questions, please let me know.
    Thank you for your time and patience throughout this issue.


    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    0 comments No comments