Skip to main content

How to configure SharePoint on Skypoint AI Studio

Microsoft SharePoint is a collaboration and document management platform that enables teams to securely store, organize, and share content. Integrated with Microsoft 365, it streamlines workflows, enhances productivity, and supports enterprise content management.

This document will guide you through the process of connecting SharePoint to the Skypoint AI.

Prerequisite

You need the following credentials to configure and import data from SharePoint:

  • Client Secret
  • Application (Client) ID
  • Directory (Tenant) ID
  • SharePoint site URL

Users can setup SharePoint datasource on Skypoint AI studio by following the below steps:

  • Azure App Registration: Register an app in Azure AD and generate credentials for SharePoint access.
  • Skypoint AI Studio Setup: Configure SharePoint as a data source using the app credentials and site URL.

Azure App Registration

  1. Sign in to the Azure Portal.

login to azure portal

  1. Search for App Registration in the search bar, as indicated with an arrow.

Search for app registration

  1. Next, click on the New Registration button located at the top left corner, as highlighted.

Click on new registrations

  1. Enter the display name for the application following a standard naming convention, ensuring it begins with a letter and contains only letters or numbers.

Enter display name for application registration

  1. Select the account type by choosing the radio button next to Accounts in this organizational directory only (Skypoint only – single tenant).

  2. Next, click the Register button at the bottom.

The Application Registration page will appear:

  1. Navigate to the Manage tab and select API Permissions from the dropdown menu options.

Click on the manage tab and then api permissions

  1. Then, click on Add a permission, as highlighted.

Add a permission

This action triggers a pop-up that appears on the right side of the webpage.

  1. Click on Microsoft Graph to continue.

Click on microsoft graph

  1. Select Application Permissions.

Select application permissions

  1. Use the search bar to look up for Sites.

Look up for sites

  1. Click on Sites to expand the menu options, and select the checkboxes for the required permissions.

Click on sites

  1. To grant read access permission to Skypoint AIP on the SharePoint datasource, select the checkbox as illustrated in the figure below:

grant read access permission

  1. Next, click on Add Permissions.

  2. The permissions will be added and displayed under the Configured permissions as shown in the figure below:

Permissions gets added and displayed

  1. If the permissions' status displays as Not granted for Skypoint, users should request approval from a global administrator.

Permission not granted for skypoint

  1. To grant admin consent for Skypoint, users with group admin access should:

    a. Click the designated tab indicated by the arrow.

    b. Then by clicking on the Yes button, confirm the changes and grant admin consent.

Granting Admin consent

  1. Post granting admin consent, status gets updated as shown in the figure below:

API permission granted

  1. Next, navigate to the Certificates & secrets module and select New client secret under the Client secrets tab.

Adding new client secret

  1. A form pops up to the right to add/generate a client secret value. Provide a description or just type Client Secret in the description field and set the expiration period according to your requirements or select the recommended duration of 180 days from the drop down.

Adding description and expiry date to client secret

  1. Click the Add button to generate the client secret.

  2. Copy the Client Secret by clicking the copy icon under the Value tab, as illustrated in the figure below.

note
  • Ensure to immediately copy the client secret value, as it will be hidden once you navigate away from the page and cannot be retrieved later.
  • If you forget to copy the client secret value, you can delete the existing client secret and generate a new one by repeating the above steps.

copy the client secret value by clicking on the copy icon

  1. Next, navigate to the Overview module to copy credentials such as the Application (Client) ID and Directory (Tenant) ID.

collect client id and tenant id from overview module

  1. Then, copy The SharePoint site URL up to the identifiable site name, to be used as the site URL in the form when setting up SharePoint on Skypoint AI Studio. (Refer the figure below)

    For example, if the SharePoint site URL is structured as follows: https://ffdinc.sharepoint.com/sites/SharepointTLD/shared%39Documents?Forms?altitems.aspx

    Use the SharePoint site URL up to the identifiable site name: https://ffdinc.sharepoint.com/sites/SharepointTLD

copy sharepoint site url up to the identificable site name

Copy and secure the Client Secret, Application (Client) ID, Directory (Tenant) ID from the Azure Portal, along with the SharePoint site URL, for connecting SharePoint data in SkyPoint AI Studio.

Skypoint AI Studio Setup

Users can setup SharePoint datasource on Skypoint AI studio by following the below steps:

A. Initiate setting up SharePoint on Skypoint AI Studio

  1. Sign in to Skypoint AI Studio.
  2. Navigate to Dataflow and choose Connections.
  3. Click on Set up for SharePoint datasource.

Navigate to dataflow, click on connections

  1. Fill in the required connection details and validate credentials.

Setup sharepoint by filling the required credentials

  1. Click SAVE button to confirm the changes, once the credentials are verified.

Post credentials getting verified click save button

Congratulations! You have successfully set up SharePoint data connections.

B. Add SharePoint data source to ingestion pipeline on Skypoint AI Studio

  1. Go to AI Agents and choose Unstructured Data.
  2. Click on Add Source.

Go to ai agents and then to unstructured data to click on add source

  1. Choose SharePoint as the type of data source.

Select sharepoint as datasource

  1. Add name and display name.
  2. Select connection from the drop-down menu setup earlier.

Add name and display name

  1. Select the storage path by clicking on the folder icon.
  2. Click the drop-down menu to select the ingestion mode.
  3. Next, hit the SAVE button.

Select storage path and ingestion mode

  1. View saved SharePoint datasource under AI Agents as highlighted in the figure below.
  2. Right click on the horizontal ellipsis against the saved data source to complete data ingestion.

Check status for data ingestion

Awesome! You have successfully configured the SharePoint datasource on Skypoint AI.