Hi Team,
I have created an Microsoft Dynamics 360 Integration and data action, and the profile I am using
for Dynamics Integration has a Multifactor Authentication and because of which I am getting error
while fetching the response from API. I have pasted the screenshot for the reference.
My organization does not allow to remove the MFA from the Account it is necessary to keep the MFA
so is the anyway to bypass this?
Error-
{
"message": "There was an issue validating the credentials.",
"code": "invalid.credentials",
"status": 400,
"entityName": "msDynamics",
"messageParams": {},
"contextId": "6723b041-3d88-4198-84f6-b5bb8d1a4731",
"details": [
{
"errorCode": "ACTION.AUTHENTICATION"
}
],
"errors": [
{
"message": "REST call for action execute failed. Message: Request to backend service failed. Response from web service: {\"error\":\"invalid_resource\",\"error_description\":\"AADSTS500011: The resource principal named https://orgd03f16ad.api.crm8.dynamics.com/api/data/v9.2/accounts was not found in the tenant named Capgemini Technology Services India Limited. 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 might have sent your authentication request to the wrong tenant. Trace ID: 2d96c0b9-ebec-4b41-8b47-ca0529cd4500 Correlation ID: 62ee677c-87f8-4e09-b209-1f184c5e89d0 Timestamp: 2024-07-27 12:06:35Z\",\"error_codes\":[500011],\"timestamp\":\"2024-07-27 12:06:35Z\",\"trace_id\":\"2d96c0b9-ebec-4b41-8b47-ca0529cd4500\",\"correlation_id\":\"62ee677c-87f8-4e09-b209-1f184c5e89d0\",\"error_uri\":\https://login.microsoftonline.com/error?code=500011\} [6723b041-3d88-4198-84f6-b5bb8d1a4731]",
"code": "INVALID_CREDENTIALS",
"status": 400,
"messageParams": {},
"details": [],
"errors": []
}
]
}
#API/Integrations------------------------------
Shubham Dhareshwar
Capgemini Technology Services SAS
------------------------------