Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I am trying to connect dynamics 365 through talend and i am facing below error can someone please help me out on this issue.
tarting job Test at 18:13 27/02/2020.
[statistics] connecting to socket on port 3676
[statistics] connected
[pool-2-thread-1] INFO com.microsoft.aad.adal4j.UserDiscoveryRequest - [Correlation ID: null] Sent (null) Correlation Id is not same as received (null).
[pool-2-thread-1] INFO com.microsoft.aad.adal4j.AuthenticationAuthority - [Correlation ID: 2ebc9cda-13d1-439a-a64a-0f1a28b6c2a5] Instance discovery was successful
[pool-2-thread-1] ERROR com.microsoft.aad.adal4j.AuthenticationContext - [Correlation ID: 2ebc9cda-13d1-439a-a64a-0f1a28b6c2a5] Request to acquire token failed.
com.microsoft.aad.adal4j.AuthenticationException: {"error_description":"AADSTS90002: Tenant 'organizations' not found. This may happen if there are no active subscriptions for the tenant. Check to make sure you have the correct tenant ID. Check with your subscription administrator.\r\nTrace ID: 160c739d-abf0-47d8-829a-6247ca2b4300\r\nCorrelation ID: 2ebc9cda-13d1-439a-a64a-0f1a28b6c2a5\r\nTimestamp: 2020-02-27 12:43:38Z","error":"invalid_request","error_uri":"https:\/\/login.microsoftonline.com\/error?code=90002"}
at com.microsoft.aad.adal4j.AdalTokenRequest.executeOAuthRequestAndProcessResponse(AdalTokenRequest.java:101)
at com.microsoft.aad.adal4j.AuthenticationContext.acquireTokenCommon(AuthenticationContext.java:832)
at com.microsoft.aad.adal4j.AuthenticationContext.access$100(AuthenticationContext.java:64)
at com.microsoft.aad.adal4j.AuthenticationContext$1.call(AuthenticationContext.java:141)
at com.microsoft.aad.adal4j.AuthenticationContext$1.call(AuthenticationContext.java:130)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in component tMicrosoftCrmInput_4 (Test)
javax.naming.AuthenticationException: com.microsoft.aad.adal4j.AuthenticationException: {"error_description":"AADSTS90002: Tenant 'organizations' not found. This may happen if there are no active subscriptions for the tenant. Check to make sure you have the correct tenant ID. Check with your subscription administrator.\r\nTrace ID: 160c739d-abf0-47d8-829a-6247ca2b4300\r\nCorrelation ID: 2ebc9cda-13d1-439a-a64a-0f1a28b6c2a5\r\nTimestamp: 2020-02-27 12:43:38Z","error":"invalid_request","error_uri":"https:\/\/login.microsoftonline.com\/error?code=90002"}
at org.talend.ms.crm.odata.authentication.OAuthStrategyImpl.init(OAuthStrategyImpl.java:52)
at org.talend.ms.crm.odata.DynamicsCRMClient.init(DynamicsCRMClient.java:128)
at org.talend.ms.crm.odata.DynamicsCRMClient.<init>(DynamicsCRMClient.java:118)
at local_project.test_0_1.Test.tMicrosoftCrmInput_4Process(Test.java:6435)
at local_project.test_0_1.Test.runJobInTOS(Test.java:9086)
at local_project.test_0_1.Test.main(Test.java:8914)
[FATAL]: local_project.test_0_1.Test - tMicrosoftCrmInput_4 com.microsoft.aad.adal4j.AuthenticationException: {"error_description":"AADSTS90002: Tenant 'organizations' not found. This may happen if there are no active subscriptions for the tenant. Check to make sure you have the correct tenant ID. Check with your subscription administrator.\r\nTrace ID: 160c739d-abf0-47d8-829a-6247ca2b4300\r\nCorrelation ID: 2ebc9cda-13d1-439a-a64a-0f1a28b6c2a5\r\nTimestamp: 2020-02-27 12:43:38Z","error":"invalid_request","error_uri":"https:\/\/login.microsoftonline.com\/error?code=90002"}
javax.naming.AuthenticationException: com.microsoft.aad.adal4j.AuthenticationException: {"error_description":"AADSTS90002: Tenant 'organizations' not found. This may happen if there are no active subscriptions for the tenant. Check to make sure you have the correct tenant ID. Check with your subscription administrator.\r\nTrace ID: 160c739d-abf0-47d8-829a-6247ca2b4300\r\nCorrelation ID: 2ebc9cda-13d1-439a-a64a-0f1a28b6c2a5\r\nTimestamp: 2020-02-27 12:43:38Z","error":"invalid_request","error_uri":"https:\/\/login.microsoftonline.com\/error?code=90002"}
at org.talend.ms.crm.odata.authentication.OAuthStrategyImpl.init(OAuthStrategyImpl.java:52)
at org.talend.ms.crm.odata.DynamicsCRMClient.init(DynamicsCRMClient.java:128)
at org.talend.ms.crm.odata.DynamicsCRMClient.<init>(DynamicsCRMClient.java:118)
at local_project.test_0_1.Test.tMicrosoftCrmInput_4Process(Test.java:6435)
at local_project.test_0_1.Test.runJobInTOS(Test.java:9086)
at local_project.test_0_1.Test.main(Test.java:8914)
[statistics] disconnected
Job Test ended at 18:13 27/02/2020. [exit code=1]