and more in a single search tool across platforms. Read the announcement here. |
06/22/2023 07:26 AM
Hi Team,
We're trying to setup office365 connection,but connection is failing with below error
2023-06-22T19:32:38+05:30-ecm-{"log":"2023-06-22 14:02:38,819 [http-nio-8080-exec-14] DEBUG services.Office365ImportService - HTTP error code : 400\n","stream":"stdout","time":"2023-06-22T14:02:38.819705857Z"}
2023-06-22T19:32:38+05:30-ecm-{"log":"2023-06-22 14:02:38,819 [http-nio-8080-exec-14] DEBUG services.Office365ImportService - Error Message: {\"error\":\"unauthorized_client\",\"error_description\":\"AADSTS700016: Application with identifier '-SS8Q~IEq4qbrBfe1OeSZutsPzBw2do8SBtj1bn1' was not found in the directory 'Cal Private Bank'. 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 may have sent your authentication request to the wrong tenant.\\r\\nTrace ID: 3085c81b-c24c-46b4-9351-a24e1f540a00\\r\\nCorrelation ID: 885a920e-e788-4963-9c19-63643cc067ff\\r\\nTimestamp: 2023-06-22 14:02:38Z\",\"error_codes\":[700016],\"timestamp\":\"2023-06-22 14:02:38Z\",\"trace_id\":\"3085c81b-c24c-46b4-9351-a24e1f540a00\",\"correlation_id\":\"885a920e-e788-4963-9c19-63643cc067ff\",\"error_uri\":\"https://login.microsoftonline.com/error?code=700016\"}\n","stream":"stdout","time":"2023-06-22T14:02:38.819710155Z"}
I have provided below parameters to establish the connection
CLIENT_ID ,CLIENT_SECRET,TENANT_ID,O365DOMAIN,AZURE_CLIENT_ID,AZURE_CLIENT_SECRET
Is there any additional parameters needed to make connection successful?
06/22/2023 07:50 AM
Based on the Error provided above, It seems like you have entered Client Secret in the Client ID field because Client ID must be in the GUID format. Please verify once again and see if the test connection is getting successful after populating credentials correctly.