Support Portal

for ProcessRobot and WinAutomation

Start a new topic

SharePoint Online API POST

Hi


Am using the Invoke Web Service in the Process Designer to try obtain the access token to for SharePoint Online


I'm using the following article as a guide:

https://global-sharepoint.com/sharepoint-online/in-4-steps-access-sharepoint-online-data-using-postman-tool/


I've tested the process in PostMan and it works.


However when I use the "Invoke Web Service" in WinAutomation, I receive the following error:


{"error":"invalid_request","error_description":"AADSTS900144: The request body must contain the following parameter: 'grant_type'.\r\nTrace ID: 8555ebc5-03cb-4274-9137-3861e00a5f00\r\nCorrelation ID: 95064861-b87a-44c4-bc4c-1c2aa06433ae\r\nTimestamp: 2020-05-25 21:07:02Z","error_codes":[900144],"timestamp":"2020-05-25 21:07:02Z","trace_id":"8555ebc5-03cb-4274-9137-3861e00a5f00","correlation_id":"95064861-b87a-44c4-bc4c-1c2aa06433ae","error_uri":"https://accounts.accesscontrol.windows.net/error?code=900144"}


I've tried various formats for the Request Body, but keeping getting the above error.


Could anyone please advise the format of the Request Body?


Login or Signup to post a comment