com.microsoft.aad.adal4j.AuthenticationException: {"error_description":"AADSTS65001: The user or administrator has not consented to use the application with ID '7xxxyyy9-bcf6-4uu1-bzzz6-d279189ea7bf'. Send an interactive authorization request for this user and resource.\r\nTrace ID: cbd15f8a-983b-469f-9e20-bf0c8eee4e0c\r\nCorrelation ID: 213bb116-3617-4b89-8170-a123e072bfb5\r\nTimestamp: 2017-02-10 15:32:12Z","error":"invalid_grant"}

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by shb
, 9 months ago
{"error_description":"AADSTS65001: The user or administrator has not consented to use the application with ID '7xxxyyy9-bcf6-4uu1-bzzz6-d279189ea7bf'. Send an interactive authorization request for this user and resource.\r\nTrace ID: cbd15f8a-983b
via GitHub by dadoonet
, 1 year ago
{"error_description":"AADSTS70001: Application with identifier 'CLIENT_ID' was not found in the directory TENANT\r\nTrace ID: 63c526fa-baad-4c46-b282-d1da9fdd2588\r\nCorrelation ID: e0df865c-7fbd-4980-a567-9faeccbb9ee9\r\nTimestamp: 2016-09-14 14:05:25Z","error":"unauthorized_client"}
via Stack Overflow by Vanddel
, 1 year ago
{"error_description":"AADSTS50034: To sign into this application the account must be added to the windows.net directory.\r\nTrace ID: 408f33c8-0716-476f-916c-7b5fbdca40c2\r\nCorrelation ID: ef2af04b-23a2-4f14-b001-d952374d11f8\r\nTimestamp: 2016-05-17 09:46:10Z","error":"invalid_grant"}
via Stack Overflow by Pranay
, 6 months ago
{"error_description":"AADSTS90002: No service namespace named 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' was found in the data store.\r\nTrace ID: 1c516110-5c3c-4f16-a132-ce22fc2f2a00\r\nCorrelation ID: 59d741c1-ddad-45f3-b9f4-759ba80e870d\r\nTimestamp: 2017-05-02 10:43:08Z","error":"invalid_request"}
via Stack Overflow by Pavan Kakathkar
, 7 months ago
{"error_description":"AADSTS50001: The application named https://abc.onmicrosoft.com/somecode/login/aad was not found in the tenant named tenant_id. This can happen if the application has not been installed by the administrator of the tenant or
via GitHub by olra0001
, 1 year ago
{"error_description":"AADSTS65001: The user or administrator has not consented to use the application with ID <MyAppID>. Send an interactive authorization request for this user and resource.\r\nTrace ID: ----\r\nCorrelation ID: ----\r\nTimestamp: 2016-10-29 15:11:55Z","error":"invalid_grant"}
com.microsoft.aad.adal4j.AuthenticationException: {"error_description":"AADSTS65001: The user or administrator has not consented to use the application with ID '7xxxyyy9-bcf6-4uu1-bzzz6-d279189ea7bf'. Send an interactive authorization request for this user and resource.\r\nTrace ID: cbd15f8a-983b-469f-9e20-bf0c8eee4e0c\r\nCorrelation ID: 213bb116-3617-4b89-8170-a123e072bfb5\r\nTimestamp: 2017-02-10 15:32:12Z","error":"invalid_grant"}
at com.microsoft.aad.adal4j.AdalTokenRequest.executeOAuthRequestAndProcessResponse(AdalTokenRequest.java:108)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.