com.microsoft.aad.adal4j.AuthenticationException: {"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"}

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 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 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 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 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 danilocanel
, 6 months ago
{"error_description":"AADSTS70002: The request body must contain the following parameter: 'client_secret or client_assertion'.\r\nTrace ID: 50d6b211-e780-4dd2-8265-8b9725ba1f00\r\nCorrelation ID: 2e0e8d95-8949-4caa-b735-6aec2d77f2fd\r\nTimestamp: 2017-04-09 21:14:43Z","error":"invalid_client"}
com.microsoft.aad.adal4j.AuthenticationException: {"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"}
at com.microsoft.aad.adal4j.AdalTokenRequest.executeOAuthRequestAndProcessResponse(AdalTokenRequest.java:107)
at com.microsoft.aad.adal4j.AuthenticationContext.acquireTokenCommon(AuthenticationContext.java:818)
at com.microsoft.aad.adal4j.AuthenticationContext.access$100(AuthenticationContext.java:66)
at com.microsoft.aad.adal4j.AuthenticationContext$1.call(AuthenticationContext.java:174)
at com.microsoft.aad.adal4j.AuthenticationContext$1.call(AuthenticationContext.java:163)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

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.