You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

ICS to SharePoint Online REST API

Accepted answer
edited Apr 22, 2021 7:38AM in Integration 6 comments


Creating a REST connection from OIC to SharePoint Online


Hi Experts,

I am creating a REST connection in OIC to access using SharePoint Online REST API. Please find the connection details in the attached document.

The Access Token request which we are using is as below :

-X POST -H "Content-Type: application/x-www-form-urlencoded" -d 'grant_type=client_credentials&client_id= CLIENT_ID@TENANT_ID&client_secret= CLIENT_SECRET&resource=OBJECT_ID /';

The connection is failing with the below error:

Unable to test connection REST_API.
  • CASDK-0004: Failed to authenticate against the application with the credentials provided; Invalid token usage. Can be used either in headers or in query params

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!