BryanGonzen | 2022-11-22 19:05:50 UTC | #1
Hello
I'm trying to use the MS Dynamics integration, but every time I execute a Data Action test, it returns this error:
We have already validated the URL and it is correct with "https://", we also verified in Azure allowing public access, but we did not get the connection.
On the other hand, in Postman if it connects us and throws us queries.
It would help us a lot to see the reason why it does not connect with Genesys.
{ "message": "There was an issue validating the credentials.", "code": "invalid.credentials", "status": 400, "entityName": "msDynamics", "messageParams": {}, "contextId": "3bade9a7-5e3e-4b35-9281-b29f883e7846", "details": [ { "errorCode": "ACTION.AUTHENTICATION" } ], "errors": [ { "message": "REST call for action execute failed. Message: Request to backend service failed. Response from web service: {\"error\":\"invalidgrant\",\"errordescription\":\"AADSTS50126: Error validating credentials due to invalid username or password.\\r\\nTrace ID: 676bd8fc-ea15-4cbf-8f5c-70bc7f6df400\\r\\nCorrelation ID: 60ca3374-619a-4561-93ff-0d224ee52817\\r\\nTimestamp: 2022-11-22 19:01:10Z\",\"errorcodes\":[50126],\"timestamp\":\"2022-11-22 19:01:10Z\",\"traceid\":\"676bd8fc-ea15-4cbf-8f5c-70bc7f6df400\",\"correlationid\":\"60ca3374-619a-4561-93ff-0d224ee52817\",\"erroruri\":\"https://login.microsoftonline.com/error?code=50126\"} [3bade9a7-5e3e-4b35-9281-b29f883e7846]", "code": "INVALID_CREDENTIALS", "status": 400, "messageParams": {}, "details": [], "errors": [] } ] }
Cheers
Jason_Mathison | 2022-11-22 20:35:21 UTC | #2
Hi Bryan,
I recommend that you double check that you followed all of the steps for setting up the integration in Azure: https://help.mypurecloud.com/articles/register-the-integration-in-azure-active-directory/
If that is all correct, then you may need to ensure that you are using a non-federated service user account: https://learn.microsoft.com/en-us/answers/questions/38035/aadsts50126-invalid-grant-error-validating-credent.html
If those two don't get it working for you then please open a support case.
--Jason
system | 2022-12-23 20:35:40 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 17327