To add a SharePoint connection, go to the Connections page which is accessible via Menu -> Connected Data -> Connections. You must be an Administrator level user to see this option. 



  • Click the ADD CONNECTION button on the top right of the page to add a new connection.

     
    This will bring up a list of connections from which you can choose.


   

Click on SharePoint to add a new connection.


Setting up your Connection


There are two different authentication types that are supported for SharePoint:

  • User Account authentication
  • App-Only Principal authentication


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. 


/var/folders/yf/4dbjhxmx3xx657c5cbgdx0kc0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/4ZQKt-uPOHhGEXWbIJ6T-528jah0kg8Wlg.png?1606851144

 

App-Only Principal Authentication


The App-Only principal authentication is an older way of authenticating to SharePoint. This 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.


/var/folders/yf/4dbjhxmx3xx657c5cbgdx0kc0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/A4PnXd7Sh_cmL6m1QTAiy3MrhK0zCmLGNA.png?1606851180

 

A 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 a valid client id and client secret credentials. Fill in the remaining required text fields as indicated in the screenshot below.

/var/folders/yf/4dbjhxmx3xx657c5cbgdx0kc0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/oa6BdZR-hXztMWv_-AvCF2Kzk0DhWID6Og.png?1585768720

The client id and client secret need to be stored as you'll require it in the next step.


You need to grant permissions to the newly created principal. This can 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.


/var/folders/yf/4dbjhxmx3xx657c5cbgdx0kc0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/4nDIXyeGt-ugpSLiCESL8YajfohJrG6IRw.png?1585768720

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" />

</AppPermissionRequests>


Once you've created your app permissions request, SharePoint will provide you with a dialog indicating whether you trust YourCompanyApp. Click on the Trust It button to grant the permissions.

/var/folders/yf/4dbjhxmx3xx657c5cbgdx0kc0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/RxqHMWuG64f2xAryWy237ooXn1iX129-Qw.png?1585768720

Once the above steps have been completed, you will be ready to fill in your client id and client secret into your connection on our platform as indicated by the placeholders below (in the example, YourCompanyClientId and YourCompanyClientSecret).


/var/folders/yf/4dbjhxmx3xx657c5cbgdx0kc0000gn/T/com.microsoft.Word/WebArchiveCopyPasteTempFiles/Ak7QMf8POPDB6KyhwMEw_Ca62Ue_i4LZTA.png?1606851209

 

Finally, click the SAVE button on the top right of the page to store your configuration. Your connection will then be verified automatically, and you will see a green checkmark if everything is working. 


 


Go to the top.