# SharePoint

SharePoint (opens new window) is a web-based collaboration, document management and storage system integrated with Microsoft Office. It is primarily used for document management and storage but is highly configurable and usage varies substantially among organizations.

Workato's SharePoint connector enables you to build integrations and automations around SharePoint and other third-party applications.

# API version

The SharePoint connector uses the SharePoint REST API v1 (opens new window).

# How to connect to SharePoint on Workato

To connect SharePoint to Workato, you must have an Azure account. Workato supports the following authentication methods:

# Authorization code grant connection

This method requires the following fields: Subdomain Client ID (optional) Client Secret (optional)

# Step 1: Register the Workato app in SharePoint and generate a client ID and secret

Complete the following steps to register the Workato app and generate a client ID and secret for authorization code grant connections.

2

Select Microsoft Entra ID > App registrations > New registration, under Azure services.

3

Enter a unique name for the application and select a supported account type.

4

Select Web from the Select a platform drop-down.

5

Enter https://www.workato.com/oauth/callback as the Redirect URI and select Register.

6

Select API Permissions > Add a permission from the left-hand menu.

7

Select the SharePoint option, under Commonly used Microsoft APIs.

8

Select the Delegated permissions option.

9

Expand AllSites within the Select permissions options and select the AllSites.Read (Delegated) checkbox.

10

Select Certificates & secrets > New client secret from the left-hand menu.

11

Enter a description for the client secret and set an expiration date for the secret using the Expires drop-down.

12

Select Add to create the client secret.

13

Select the Copy to clipboard icon next to the Value after you create the secret. This is your Client Secret. Save the value in a secrets vault.

14

Navigate to Overview from the left-hand menu and copy the Application (client) ID value. This is your Client ID.

You can now configure your SharePoint connection in Workato, using the API permissions you set up in the Azure Portal.

# Step 2: Complete setup in Workato

1

Log in to your Workato account and navigate to the project where you plan to add your Microsoft SharePoint connection.

2

Click Create > Connection > select Microsoft Sharepoint as your connection.

3

Select the Authorization code grant option from the Authentication type drop-down menu.

4

Provide a unique Connection name that identifies to which SharePoint instance it is connected.

5

Enter your SharePoint subdomain as found in your SharePoint URL. For example, if your SharePoint URL is https://abc.sharepoint.com, the subdomain is abc.

6

Provide the client ID generated in SharePoint by completing the preceding steps.

7

Provide the client secret generated in SharePoint by completing the preceding steps.

Provide the name of the SharePoint site to which you plan to connect in the Site name field. If left blank, Workato connects to your default home site. Use the site name as found in the URL of the site page. For example, if the URL is https://company-name.sharepoint.com/sites/product, the site name is product.

# Client credentials grant connection

This method requires the following values:

  • Subdomain
  • Tenant ID
  • Client ID
  • Certificate
  • Private Key

# Step 1: Register the Workato application in SharePoint

Complete the following steps to register the Workato app and obtain a client ID, secret, and private key for client credentials grant connections.

2

Navigate to Microsoft Entra ID > Manage > App registrations > New registration.

3

Enter a unique name for the application and select a supported account type.

4

Select Web from the Select a platform drop-down.

5

Enter https://www.workato.com/oauth/callback as the Redirect URI and select Register.

6

Select API Permissions > Add a permission from the left-hand menu.

7

Choose SharePoint from the Commonly used Microsoft APIs.

8

Select the Application permissions option.

9

Expand Sites in the Select permissions section and select the Sites.Read.All (Application) checkbox. Ensure that admin consent is granted in the Status column.

10

Select Certificates & secrets > Certificates > Upload certificate from the left-hand menu.

11

Upload a certificate if you already have one. If not, you can generate the certificate locally using tools such as OpenSSL or PowerShell.

12

Select Overview from the left-hand menu and copy the Application (client) ID value. This is your Client ID. Also, copy the Directory (tenant) ID value. This is your Tenant ID.

You can now configure your SharePoint connection in Workato using these required values.

# Step 2: Configure your SharePoint connection in Workato

1

Log in to your Workato account and navigate to the project where you plan to add your Microsoft SharePoint connection.

2

Click Create > Connection > select Microsoft Sharepoint as your connection.

3

Select the Client credentials option from the Authentication type dropdown menu.

4

Provide a unique Connection name that identifies to which SharePoint instance it is connected.

5

Enter your SharePoint subdomain as found in your SharePoint URL. For example, if your SharePoint URL is https://abc.sharepoint.com, the subdomain is abc.

6

Provide the tenant ID generated in SharePoint by completing the preceding steps.

7

Provide the client ID generated in SharePoint by completing the preceding steps.

8

Provide the certificate generated in SharePoint in the preceding steps.

9

Provide the private key string generated in SharePoint by completing the preceding steps.

10

Enter the name of the SharePoint site you plan to connect to in the Site name field. If left blank, Workato connects to your default home site. Use the site name as found in the URL of the site page. For example, if the URL is https://company-name.sharepoint.com/sites/product, the site name is product.


Last updated: 9/5/2024, 6:09:27 AM