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: May 12, 2020 · Use a global access token if you want any user in your environment to be able to connect to the same external system. Click Manage. Click App Builder > Global Access Tokens. On the Global Access Tokens screen, click Add Token. On the Add Global Access Tokens screen, select OneDrive For Business. Click Next.
A few days ago, I was working on a project and needed to know if it was possible to access a user’s Exchange Online calendar using the same access token used to access list data in one of their SharePoint Online site collections. The Microsoft documentation is confusing due to the rapid pace of change with this stuff.
If we get this right, and we’re looking for a return status of 200, then we’re through the door. We’re now going to make a REST call in order to get our access token by adding another HTTP request action. Configure your HTTP call as seen below. Method: POST Uri: https://accounts.accesscontrol.windows.net/<TENANT ID>/tokens/OAuth/2 Headers: Content-Type = application/x-www-form-urlencoded Body: Variable Access Token Request Body