To add a SharePoint Connection, navigate the Side Menu>Connected Data>Connections.
More information on how to add a Connection can be found here, Adding Data Connections.
On the Connections page
- Click the ADD CONNECTION button on the top right to bring up a list of connections
- Click the SharePoint option
Setting up your Connection
There are two different authentication types that are supported for SharePoint namely:
User Account Authentication
The simplest and recommended way of connecting your SharePoint site is by using your SharePoint user account credentials. We recommend creating a dedicated SharePoint user specifically for use by our platform, as you can then restrict access as needed and clearly see what changes our Connectors make to your site.
App-Only Principal Authentication
The App-Only principal authentication involves a more complicated setup process to get up and running and we only recommend this approach if your corporate policy does not permit providing user credentials.
Full Microsoft article on how to set up SharePoint App-Only authentication can be seen here. Granting access using SharePoint App-Only
To grant access using SharePoint App-Only authentication, you need to set up tenant permissions.
First, navigate to your SharePoint site (e.g. https://yourcompany.sharepoint.com), next open up the appregnew.aspx page (e.g. https://yourcompany.sharepoint.com/_layouts/15/appregnew.aspx). Once the page has finished loading click on the Generate button next to the Client Id and Client Secret text fields to generate valid client id and client secret credentials. Fill in the remaining required text fields as indicated in the screenshot below.
The client id and client secret need to be stored as you’ll require them in the next step.
You need to grant permissions to the newly created principal. This can merely be done via the appinv.aspx page on your SharePoint administrator site which can be reached via https://yourcompany-admin.sharepoint.com/_layouts/15/appinv.aspx. Once the page has finished loading, add your client id in the App Id text field and click on the Lookup button to search for your newly created principal account.
Grant the required permissions in the App’s Permissions Request XML text field as indicated below:
<AppPermissionRequests AllowAppOnlyPolicy=“true”>
<AppPermissionRequest Scope=“http://sharepoint/content/tenant“ Right=“FullControl” />
<p style='box-sizing: border-box; margin: 0px; font-size: 13px; line-height: 18px; word-break: normal; overflow-wrap: break-word; color: rgb(24, 50, 71); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;