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
when trying to create token for implicit flow getting error
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.
3 answers
Sort by: Most helpful
-
-
Radha Rajendran 1 Reputation point
2021-08-19T12:52:06.827+00:00 @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.
-
JamesTran-MSFT 36,541 Reputation points Microsoft Employee
2021-08-24T16:58:34.61+00:00 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 connectionIf 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.