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
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.
To use this node in KNIME, install the extension AF Utility Nodes from the below update site following our NodePit Product and Node Installation Guide:
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!