Use Cases
- Document Processing: Access documents stored in SharePoint for extraction and analysis
- File Import: Import files from SharePoint into VolansDB for processing
- Enterprise Data Access: Connect to your organization’s document management system
Prerequisites
Before connecting SharePoint to Roe AI, ensure you have:- An Azure AD application with appropriate permissions
- The SharePoint site ID you want to connect
- Admin access to register applications in Azure AD
Register an Azure AD Application
1
Open Azure Portal
Go to Azure Portal and navigate to Azure Active Directory
2
Register Application
Go to App registrations → New registration
- Enter a name (e.g., “Roe AI SharePoint Integration”)
- Select appropriate account type
- Click Register
3
Configure API Permissions
Go to API permissions → Add a permission → Microsoft GraphAdd these Application permissions:
Sites.Read.All- Read items in all site collectionsFiles.Read.All- Read files in all site collections
4
Create Client Secret
Go to Certificates & secrets → New client secret
- Add a description
- Select expiration period
- Click Add and copy the secret value immediately
5
Note Application Details
From the Overview page, copy:
- Application (client) ID
- Directory (tenant) ID
Find Your SharePoint Site ID
The site ID format is:{hostname}:/sites/{site-name}
For example: contoso.sharepoint.com:/sites/ProjectDocs
You can find your site ID in SharePoint Admin Center or by using the Graph API Explorer.
Configure the Connection
Provide the following information to connect SharePoint:Configuration
| Field | Required | Description |
|---|---|---|
| Site ID | Yes | SharePoint site ID (format: {hostname}:/sites/{site-name}) |
Authentication (Sensitive)
| Field | Required | Description |
|---|---|---|
| Client ID | Yes | Azure AD application (client) ID |
| Client Secret | Yes | Client secret for the Azure AD application |
| Tenant ID | Yes | Azure AD directory (tenant) ID |
Test the Connection
Click Test Connection to verify that Roe AI can successfully connect to your SharePoint site. The test will:- Authenticate using your Azure AD credentials
- Verify access to the Microsoft Graph API
- Confirm access to the specified SharePoint site
Available Data
Once connected, agents can access:Files
- Documents stored in the SharePoint site
- File metadata (name, size, content type)
- Files from the document library root
Supported File Types
- Documents: PDF, DOCX, XLSX, PPTX
- Data files: CSV, JSON
- Images: PNG, JPG, GIF
Security & Permissions
Read-Only Access
Roe AI only reads files—no documents are created, modified, or deleted
Application Permissions
Uses Azure AD application permissions for secure, auditable access
Troubleshooting
Invalid Azure AD credentials
Invalid Azure AD credentials
Verify your client ID, client secret, and tenant ID are correct. Client secrets expire—check if yours needs to be regenerated.
Access denied
Access denied
Ensure the Azure AD application has
Sites.Read.All and Files.Read.All permissions, and that admin consent has been granted.Site not found
Site not found
Verify the site ID format is correct:
{hostname}:/sites/{site-name}. Check that the site exists and is accessible.No files returned
No files returned
Ensure there are files in the SharePoint document library root. Files in nested folders may require additional configuration.