Hi all. Looking for some insight on setting up a Dynamics 365 integration and data action. I set up the integration using the credentials provided by the customer. When doing a test of the data action for that integration I get the following response:
{
"message": "There was an issue validating the credentials.",
"code": "invalid.credentials",
"status": 400,
"entityName": "msDynamics",
"messageParams": {},
"contextId": "2b5b1c14-39ab-4317-8e20-9170210fadc2",
"details": [
{
"errorCode": "ACTION.AUTHENTICATION"
}
],
"errors": [
{
"message": "Failed validation with credentialType: msDynamics due to error: 'Request to backend service failed. Response from web service: {\"error\":\"invalid_client\",\"error_description\":\"AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'.\\r\\nTrace ID: 1b798b65-9451-4ec6-b92f-077540d55000\\r\\nCorrelation ID: 60cad303-779d-46b3-a979-0e0a57dd806d\\r\\nTimestamp: 2021-03-23 18:04:13Z\",\"error_codes\":[7000218],\"timestamp\":\"2021-03-23 18:04:13Z\",\"trace_id\":\"1b798b65-9451-4ec6-b92f-077540d55000\",\"correlation_id\":\"60cad303-779d-46b3-a979-0e0a57dd806d\",\"error_uri\":\https://login.microsoftonline.com/error?code=7000218\} [2b5b1c14-39ab-4317-8e20-9170210fadc2]'",
"code": "INVALID_CREDENTIALS",
"status": 401,
"messageParams": {},
"details": [],
"errors": []
}
]
}
I have a client secret from the customer and added client_secret to the input contract but got the same error. I even tried adding it as a header but no change there. Has anyone come across this before?
Thank you.
#Implementation#Integrations#Unsure/Other------------------------------
Sean McGrath
Avtex Solutions, LLC
------------------------------