SharePoint List & Attachment
Prerequisites
Before connecting, you'll need:
- SharePoint List URL -- The full URL of your SharePoint list
- Example: https://yourcompany.sharepoint.com/sites/MySite/Lists/MyList
- You can copy this from your browser's address bar when viewing the list in SharePoint
- Azure AD App Registration (for App-Only method) -- Your IT/Azure admin can provide:
- Tenant ID -- Your Microsoft 365 tenant identifier (GUID format)
- Client ID -- The Application (client) ID from Azure AD App Registration
- Client Secret -- Required only when Include List Attachments is unchecked
Connection Methods
There are two ways to connect your SharePoint List:
Method 1: App-Only Authentication (Recommended for automated/service access)
Use this when you have Azure AD App Registration credentials (Tenant ID, Client ID).
Steps:
- Select SharePoint List as the provider
- Fill in the form:
Field Required Description SharePoint List URL Yes Full URL of your SharePoint list Tenant ID Yes Your Microsoft 365 tenant ID Client ID Yes Azure AD App Registration client ID Include List Attachments Optional Check this to include file attachments from list items Client Secret Conditional Required when Include List Attachments is unchecked - Click Connect
- The System Validates your credentials and connects to SharePoint.
- Your list is automatically detected and the connection is complete.
Important notes on "Include List Attachments":
- Checked (Attachments ON): The system connects via SharePoint REST API using certificate-based authentication. This allows fetching file attachments attached to list items. You do not need to provide a Client Secret.
- Unchecked (Attachments OFF): The system connects via Microsoft Graph API using Client Secret. This is faster for lists without attachments. You must provide a Client Secret.
Method 2: OAuth Authentication (Sign in with Microsoft)
Use this when you don't have App Registration credentials and want to connect using your personal Microsoft account.Steps:
- Select SharePoint List as the provider
- Fill in the form:
Field Required Description SharePoint List URL Yes Full URL of your SharePoint list - Leave Tenant ID, Client ID, and Client Secret empty
- Click Connect
- A Microsoft sign-in popup appears --sign in with your Microsoft 356 account
- Grant the requested permissions.
- Your list is automatically detected and the connection is complete
Note: OAuth tokens expire periodically. The system automatically refreshes them, but if your organization has strict token policies, the connection may need to be re-authenticated occasionally.
How to Find Your SharePoint List URL
- Open your SharePoint site in a browser
- Navigate to the list you want to connect
- Copy the URL from the browser address bar
- The URL should look like: https://yourcompany.sharepoint.com/sites/SiteName/Lists/ListName
> Tip: Make sure the URL includes the full path up to the list name. URLs ending in /AllItems.aspx or with query parameters should be trimmed to just the list path.
Important notes on "Include List Attachments":
- Checked (Attachments ON): The system connects via SharePoint REST API using certificate-based authentication. This allows fetching file attachments attached to list items. You do not need to provide a Client Secret. However, you must upload the certificate (provided by us) to your Azure AD App Registration. Contact your account representative to obtain the certificate file, then upload it under Certificates & secrets > Certificates in your Azure AD App Registration.
- Unchecked (Attachments OFF): The system connects via Microsoft Graph API using Client Secret. This is faster for lists without attachments. You must provide a Client Secret.
When to Use Which Method?
| Scenario | Recommended Method |
|---|---|
| Automated scanning / service account | App-Only |
| You have Azure AD credentials | App-Only |
| You need list item attachments (files) | App-Only with Include List Attachments checked |
| Quick personal connection | OAuth |
| No access to Azure AD admin portal | OAuth |
What Gets Synced?
| Data | Attachments OFF (Graph API) | Attachments ON (REST API) |
|---|---|---|
| List item fields (Title, columns, etc.) | Yes | Yes |
| Item metadata (Created, Modified dates) | Yes | Yes |
| File attachments on list items | No | Yes |
| Attachment file download | No | Yes |
Troubleshooting
| Issue | Solution |
|---|---|
| "Invalid credentials" error | Verify Tenant ID, Client ID, and Client Secret are correct |
| "Access denied" | Ensure the Azure AD app has Sites.Read.All permission (or equivalent) |
| No list items showing | Verify the List URL is correct and the account has read access to the list |
| Attachments not appearing | Make sure Include List Attachments was checked during connection setup |
| OAuth popup blocked | Allow popups for this site in your browser settings |
