Hi All,
I am getting the below error, while using the HTTP activity. Attached the code snippet below for reference.
Error: {“error”:“invalid_request”,“error_description”:“AADSTS900144: The request body must contain the following parameter: ‘grant_type’.\r\nTrace ID: e8643bec-a23a-42d2-b42b-b6e6759d7f00\r\nCorrelation ID: 77876c62-15a1-4462-95a4-af88f91c0278\r\nTimestamp: 2021-12-14 11:51:40Z”,“error_codes”:[900144],“timestamp”:“2021-12-14 11:51:40Z”,“trace_id”:“e8643bec-a23a-42d2-b42b-b6e6759d7f00”,“correlation_id”:“77876c62-15a1-4462-95a4-af88f91c0278”,“error_uri”:“https://login.microsoftonline.com/error?code=900144”}
Code Snippet:
Note:- The same is working fine in POSTMAN…Not sure why its saying ‘grant_type’ is missing.
Can you pls help.