Microsoft SharePoint OAuth connection guide for Jitterbit App Builder
Prerequisites
- You must have a Microsoft Azure account.
Create an OAuth security provider
Create an OAuth security provider in App Builder before configuring the Azure app registration.
-
Go to IDE > Security Providers.
-
Click + Data Source Authentication. The Provider page opens. Provide the following details:
-
Under Settings:
- Name: Identifies the security provider and appears in the URL. Example:
OAuth - Type: OAuth
- Enabled: Select to enable this security provider.
- Name: Identifies the security provider and appears in the URL. Example:
-
Under Authentication:
- OAuth Grant: Authorization Code
- OAuth Client Authentication: Basic
- OAuth Resource Authentication: Bearer
-
Under Sign In:
- Redirect on Challenge: True
-
-
Click Save.
Create Microsoft Azure app registration
Register an app in Microsoft Azure to obtain the credentials needed to complete the OAuth security provider setup. For an overview of the registration process, see the Microsoft Quickstart: Register an application guide.
-
Go to the Azure portal and sign in.
-
Click Microsoft Entra ID.
-
Navigate to App registrations and click New registration.
-
Enter an App Name. Example:
OAuth -
Under Redirect URI (optional):
- Select Web from the platform list.
- Enter the URI for the security provider:
https://<App-Builder-Instance>/signin-<Security-Provider-Name>
-
Click Register.
-
Click API permissions, then click Add a permission.
-
Click the SharePoint tile and select Delegated permissions.
-
Expand AllSites and enable the following permissions:
- AllSites Manage
- AllSites Read
- AllSites Write
-
Expand Project and enable ProjectRead and ProjectWrite.
-
Click Add permissions.
-
Click Overview. Note the following values — you will need them when configuring App Builder:
- Directory (tenant) ID: Used in the authorization and token endpoint URLs.
- Application (client) ID: Used as the credential user name.
For help locating these values, see How to find your Microsoft Entra tenant ID.
-
Under Client credentials, click Add a certificate or secret.
-
Click + New client secret, enter a Description, select an expiration date, and click Add.
-
Copy the client secret Value immediately — it is only shown once and is needed as the credential password in App Builder.
-
Return to App Builder and open the security provider created earlier.
-
On the Endpoints panel, click + Endpoints and configure the following, substituting your Directory (tenant) ID:
- Authorization Endpoint:
https://login.microsoft.com/<Directory ID>/oauth2/v2.0/authorize/ - Token Endpoint:
https://login.microsoft.com/<Directory ID>/oauth2/v2.0/token/
- Authorization Endpoint:
-
Click + Credential and provide the following:
- Type: Client
- User Name: Application (client) ID from Azure
- Password: Client secret value from Azure
-
Click Save.
-
On the Properties panel, click + Property and enter the following in the Value field:
https://<companyname>.sharepoint.com/.default offline_access -
Click Save.
Create a Microsoft SharePoint datasource
-
Go to IDE > Data Servers.
-
In the Data Servers panel, click + Server. The Server dialog opens. Enter the following information:
- Server Name: Enter a name. Example:
SharePoint - Type: Microsoft SharePoint
- Url: Full path to the company SharePoint directory. Example:
https://<companyname>.sharepoint.com/sites/<directory>
- Server Name: Enter a name. Example:
-
Expand Security Settings and select the OAuth security provider from the Security Provider list.
-
Click Save.
-
In the Data Servers panel, select the server you just created. A tile appears in the right panel. Double-click the tile or click the icon to see advanced options.
-
Under Data Storage Layer, click Import and complete the OAuth flow when prompted. The Import Schema dialog opens.
-
Click the Views tab, locate the schema to import (for example,
Lists), then click Import Schema. -
Exit the Import Schema dialog.
-
Under Business Logic Layer, click Logic. The Rules by Table page opens.
-
In the Tables panel, locate the schema you imported. Click the Results icon to confirm the data.