Get SP AccessToken as String

This nodes generates an access token to your Sharepoint using the Sharepoint rest v1 API
For details on the API see: https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-rest-reference
You will have to setup your SharePoint/MS Teams SharePoint: https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/register-sharepoint-add-ins
An example on how to use the rest API manually or through single httpPosts (e.g. with the post node) see: https://global-sharepoint.com/sharepoint-online/in-4-steps-access-sharepoint-online-data-using-postman-tool/
Node Code can be found here: https://github.com/AnotherFraud/AF-Excel-Writer
Note this nodes returns the access token as a visible string variable - use simple the Get Rest Access Token if you do not need to use string variables

Options

Client ID
Client ID of the connection you setup in the appregnew SharePoint service e.g.: https://MySharePointOnlineSiteUrl/_layouts/15/appregnew.aspx Can be found in the SharePoint Website app authorization configuration
Tennant ID
Tennant ID of you SharePoint Can be found in the SharePoint Website app authorization configuration
SharePoint Online Site URL
Enter the url to your SharePoint Normally the URL looks like: mySharePoint.sharepoint.com
Client Secret
Client Secret of the connection you setup in the appregnew SharePoint service e.g.: https://MySharePointOnlineSiteUrl/_layouts/15/appregnew.aspx
Proxy Options
In case you are behind an internet proxy. Here you can set the internet host and credentials

Input Ports

Icon
Optional flow variable input

Output Ports

Icon
SharePoint response

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.