Last updated:
Back to Integrations
OAuth 2.0
Updated 12 June 2026
Overview
Export generated documents from Projan to SharePoint sites, and import existing pages and files as conversation context for AI grounding.
Prerequisites
- Microsoft 365 account with access to the target SharePoint site
- Projan team admin or individual account
Setup Steps
- Go to Settings > Integrations > SharePoint
- Click “Connect SharePoint”
- Sign in with your Microsoft account and authorize the connection
- Select a site and library during export
Permissions Requested
| Scope | Purpose | Access Level |
|---|---|---|
Sites.ReadWrite.All | List sites, read pages, create documents | Read/Write |
Files.ReadWrite.All | Read and write files in document libraries | Read/Write |
offline_access | Refresh tokens without re-auth | System |
Access is always bounded by the connected user’s own SharePoint permissions - Projan cannot see sites the user cannot see.
What Data is Accessed
- Site and document library names
- Pages and files you explicitly attach as context sources
- Documents created by export
Data Storage
- Encrypted access and refresh tokens
- Imported context snapshots stored on the conversation they are attached to
Tokens auto-refresh - no re-authentication needed unless access is revoked in Microsoft Entra.
Disconnecting
Go to Settings > Integrations > SharePoint > Disconnect.
Tokens are purged immediately. Previously exported documents remain in SharePoint unaffected.
Troubleshooting
“No sites found”
- Verify the connected account has access to at least one SharePoint site
“Access denied” on export
- The connected account needs contribute permission in the target document library
Conditional access errors
- Some tenants restrict third-party app access; your IT admin may need to approve the Projan app in Microsoft Entra