Integrating with SharePoint
Azure Setup Step 1: Register an Application in Azure
Drivetrain Setup Step 1: Connect your SharePoint Account Step 2: Import File to Drivetrain
Prerequisites
Admin privileges in Azure Portal
Admin privileges in Drivetrain
The table you want to import should start from the first cell (A1) on the sheet
None of the column headers should be empty
There should only be one table per file
Only .XLSX and .CSV files are supported
Azure Setup
Step 1: Register an Application in Azure
Login to Azure Portal and search for "App Registrations" on the Azure home page.

Click on + New registration

Enter the name as "Drivetrain SharePoint Integration" and select Accounts in this organizational directory only as the supported account types and click Register

On the next page, note down the Application (client) ID and Directory (tenant) ID in a secure document, these will be needed to configure SharePoint in Drivetrain.

On the left navigation menu, under manage click on "Certificates & secrets" and click on + New client secret
Enter the description as "Drivetrain SharePoint App" and select maximum expiry date and click on Add
Note Value and Secret ID of the SharePoint application.

Navigate to API Permissions and click on + Add a Permission and select Microsoft Graph
Under Application Permissions, search files and select files.read and files.ReadWrite.all permissions

After selecting the Files permissions, search for Sites and select Sites.FullControl.All, Sites.Read.All, Sites.ReadWrite.All and click on Add permissions

Once you save the permissions, click on Grant admin consent to apply the permissions.


Go to your SharePoint account, and go to the home page of your site which stores files to be pulled into Drivetrain and get the URL of that site. For eg: your sample URL will be yourcompany.sharepoint.com/sites/YourSiteName

Drivetrain Setup
Step 1: Connect your SharePoint Account
Click on + button on top left corner

Select the SharePoint connector under Spreadsheets category
Enter the details received in SharePoint Setup i.e. Client ID, Client Secret, Tenant ID and Site URL

Once your SharePoint connector is authenticated, you will be redirected back to Drivetrain Connected Integrations page.
To add files, click on ‘Add Data’ and enter the URL of the file you want to import.
Step 2: Import File to Drivetrain
Open SharePoint and navigate to the file you want to import
Copy the URL of the file which needs to be imported

Paste your SharePoint File Link into the field provided and click Add

Please wait for some few mins until the sync is completed, the file you added will now show up in the list of tables on SharePoint connector
FAQ
Last updated
Was this helpful?