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"}

GitHub | dadoonet | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 996#247013355

    GitHub | 7 months ago | dadoonet
    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"}
  2. 0

    Client Secret Error

    GitHub | 12 months ago | dongheechoi
    java.util.concurrent.ExecutionException: com.microsoft.aad.adal4j.AuthenticationException: {"error_description":"AADSTS90014: The request body must contain the following parameter: 'client_secret or client_assertion'.\r\nTrace ID: xxxxx\r\nCorrelation ID: xxxxx\r\nTimestamp: 2016-05-03 12:22:12Z","error":"invalid_request"}
  3. 0

    Getting error regarding usage of application was not consented

    GitHub | 6 months ago | olra0001
    java.util.concurrent.ExecutionException: com.microsoft.aad.adal4j.AuthenticationException: {"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"}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    how can I fix ClassCastException in azure-activedirectory-library-for-java?

    Stack Overflow | 11 months ago | Vanddel
    com.microsoft.aad.adal4j.AuthenticationException: {"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"}
  6. 0

    Authenticate and get token for Azure Data Catalog using Java

    Stack Overflow | 3 weeks ago | Pavan Kakathkar
    com.microsoft.aad.adal4j.AuthenticationException: {"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 consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant. Trace ID: some_id Correlation ID: some_id Timestamp: 2017-04-06 09:57:01Z","error":"invalid_resource"}

    1 unregistered visitors

    Root Cause Analysis

    1. 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()
    2. com.microsoft.aad
      AuthenticationContext$1.call
      1. com.microsoft.aad.adal4j.AdalTokenRequest.executeOAuthRequestAndProcessResponse(AdalTokenRequest.java:107)[adal4j-1.1.2.jar:1.1.2]
      2. com.microsoft.aad.adal4j.AuthenticationContext.acquireTokenCommon(AuthenticationContext.java:818)[adal4j-1.1.2.jar:1.1.2]
      3. com.microsoft.aad.adal4j.AuthenticationContext.access$100(AuthenticationContext.java:66)[adal4j-1.1.2.jar:1.1.2]
      4. com.microsoft.aad.adal4j.AuthenticationContext$1.call(AuthenticationContext.java:174)[adal4j-1.1.2.jar:1.1.2]
      5. com.microsoft.aad.adal4j.AuthenticationContext$1.call(AuthenticationContext.java:163)[adal4j-1.1.2.jar:1.1.2]
      5 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_60]
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_60]
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_60]
      4. java.lang.Thread.run(Thread.java:745)[?:1.8.0_60]
      4 frames