RE: MS Flow related with Dynamics 365
Error test
{
"error": "invalid_request",
"error_description": "AADSTS900144: The request body must contain the following parameter: 'grant_type'.\r\nTrace ID: 730e9cf9-7ab2-4f4b-8cae-a169464d9d00\r\nCorrelation ID: 03362bf5-c825-4402-b6e2-c8d2cc0c7b5c\r\nTimestamp: 2019-11-12 14:37:53Z",
"error_codes": [
900144
],
"timestamp": "2019-11-12 14:37:53Z",
"trace_id": "730e9cf9-7ab2-4f4b-8cae-a169464d9d00",
"correlation_id": "03362bf5-c825-4402-b6e2-c8d2cc0c7b5c",
"error_uri": "login.microsoftonline.com/error
}
Flow part for token http post request below:
client_id=@{variables('Client_id')}&client_secret=@{variables('Secret_id')}& resource=zvdevenv1ad3d34ff4d5a2c3devaos.cloudax.dynamics.com&grant_type=client_credentials&