Syncronize content from your MS Sharepoint and Teams document libraries to Paradigm
This page contains the setup guide and reference information for the Microsoft SharePoint source connector.
Info: The Microsoft SharePoint source connector pulls data from a specified SharePoint Document library and folder. If configured with the recursive option, it will include all subfolders in the sync. All files in the specified folder and subfolders will be considered.
Prerequisites
- Tenant ID - Azure AD tenant identifier
- Client ID - Azure AD application identifier
- Client Secret - Azure AD application secret
- Site Name - Name of the SharePoint site
- Folder Path - Url to the folder you want to sync
Setup guide
The Microsoft SharePoint source connector supports authentication through the application-level OAuth client credentials flow (Microsoft's equivalent to Google's service account approach).
Step 1: Create an Azure AD application
- Login to the Azure Portal
- Click the upper-left menu icon and select Azure Active Directory
- Select App Registrations
- Click New registration
- Register an application:
- Name: Enter a name for your application
- Supported account types: Select Accounts in this organizational directory only
- Click Register
- Record the Application (client) ID and Directory (tenant) ID which will be used for authentication
Step 2: Generate a Client Secret
- From your registered application page, select Certificates & secrets
- Click New client secret
- Provide a description and select an expiry period (e.g., 1 year)
- Click Add
- IMPORTANT: Copy the generated client secret value immediately - you won't be able to see it again
Step 3: Assign API Permissions
- From your registered application page, select API permissions
- Click Add a permission
- Select Microsoft Graph
- Select Application permissions
- Add the following permissions:
- Sites.Read.All
- Files.Read.All
- Click Add permissions
- Click Grant admin consent for [your organization] to activate the permissions
Step 4: Configure the SharePoint Connector in Paradigm Admin
-
Navigate to the Datasource section in your Paradigm admin interface
-
Create a new datasource of type SharePoint
-
Add your credentials in the required fields:
-
tenant_id: Your Azure AD tenant identifier
-
client_id: Your Azure AD application identifier
-
client_secret: Your Azure AD application secret
-
site_name: Name of your SharePoint site
The site name is basically the title of your SharePoint site
-
-
Click on
New import
to configure a new import configuration.- In the Filter criteria, specify the following:
-
folder_path: Paste the URL of the SharePoint folder you want to sync.
// should look like something like that:
<https://mysharepointtenant.sharepoint.com/sites/CommunicationSiteParadigmTest/Shared%20Documents/Forms/AllItems.aspx?id=%2Fsites%2FCommunicationSiteParadigmTest%2FShared%20Documents%2F0%20%2D%20Folder%20level%200&viewid=4ac924c4%2D7e2f%2D58ce%2D8d2b%2D96aedd9a5e25>(To synchronize an entire document library, set "
root
" in the folder_path) -
recursive: Enable or disable subfolder syncing (defaults to
True
)
-
- Workspace: Select where the files will appear
- Frequency: Set how often synchronization should occur
- Priority: Set the relative importance compared to other import configurations
- In the Filter criteria, specify the following:
-
Click
SAVE
and wait for the tests to complete.
You're All Set! ✅
Key Features of the SharePoint Connector
Incremental Synchronization
The connector uses Microsoft's delta API to efficiently sync only changed files between runs. This approach:
- Reduces bandwidth and processing requirements
- Captures all file changes (creations, updates, deletions)
- Maintains state between synchronization runs via a delta token
Authentication & Access
- Uses application-level authentication (not user-specific)
- Captures changes made by all users within the SharePoint site
- Automatically handles token renewal for continuous operation
Limits and Considerations
- The connector respects configured document limits (DATASOURCES_MAX_DOC_PER_IMPORT)
- Checks file size limits before connecting
( MAX_DOCUMENT_SIZE ) - Filters by supported MIME types
- The recursive option determines whether subfolders are included (default to yes)
Troubleshooting
If you encounter connection issues:
- Verify that all credentials (tenant_id, client_id, client_secret) are correct
- Ensure the application has been granted admin consent for the required permissions
- Confirm the site_name is correct and accessible to the application
- Check that the folder_path exists within the specified site
- For specific error messages, consult the
import session page
for detailed information
For persistent issues, please contact the development team with specific error messages and timestamps.