Connecting to SharePoint Online

Prev Next

Syniti Knowledge Platform (SKP) allows you to connect to SharePoint Online for the following usage types:

  • File Storage

  • Replication

Configuration Summary

The following table provides a high-level summary of the configurations you need to perform in SharePoint Online if you want to maintain a separate site and drive to integrate with the SKP.

S.No

Configuration Steps

Reference Materials

1

Register a new Azure AD application

  • Name your application as Syniti Drive Integration and note the values for the following fields: Application (client) ID and Directory (tenant) ID

* Register an application in Microsoft Entra ID

* Create a new client secret

* Get a site resource

* Get the document library for a site

* Get driveItem

* Microsoft Graph permissions reference

2

Create Client secret

  1. In the newly created app, access Certificates & secrets

  2. Add a new client secret and copy the secret value.

3

Configure API permissions

  • Sites.Read.All (or Sites.ReadWrite.All for write access)

  • Files.Read.All (or Files.ReadWrite.All)

4

Get SharePoint Site/Drive information

  1. Access your SharePoint site and note the site URL or site ID

  2. To get Drive ID, access the document library and click Library settings

  3. Note the URL parameter RootFolder= or use Microsoft Graph API: GET /sites/{site-id}/drives

5

Create a system datastore connection in the SKP using the SharePoint Online connection properties listed below

* Datastores

* Create a Connection

Connection Properties

Field Name

Description

Tenant ID

required

Enter the Directory (tenant) ID that uniquely identifies your organization in Microsoft Entra ID. This value is required to authenticate requests to your SharePoint tenant.

Client ID

required

Enter the Application (client) ID that uniquely identifies your registered application in Microsoft Entra ID. This ID is used during authentication and authorization.

Client Secret

required

Enter the client secret generated for your application in Microsoft Entra ID. This secret is used to authenticate the application when accessing SharePoint resources securely.

Site URL

required

Enter the URL of the SharePoint Online site.

Drive ID

Enter the unique identifier of the SharePoint drive (document library) that contains the files and folders you want to access. This value determines which drive the application can interact with.

Default Folder

The default folder path within the SharePoint drive. Use / for the root folder.

Extended Properties

Use the + Add Property button to add any additional connection properties.

Related Articles