MS Dynamics Integration Auth Failure

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":"invalid_grant","error_description":"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","error_codes":[50126],"timestamp":"2022-11-22 19:01:10Z","trace_id":"676bd8fc-ea15-4cbf-8f5c-70bc7f6df400","correlation_id":"60ca3374-619a-4561-93ff-0d224ee52817","error_uri":"https://login.microsoftonline.com/error?code=50126"} [3bade9a7-5e3e-4b35-9281-b29f883e7846]",
"code": "INVALID_CREDENTIALS",
"status": 400,
"messageParams": {},
"details": [],
"errors": []
}
]
}

Cheers

Hi Bryan,

I recommend that you double check that you followed all of the steps for setting up the integration in Azure:

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

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.