The Pandektes SharePoint integration lets users import documents from SharePoint into Pandektes, so they can work with them in chats and projects.
This article is for IT departments and Microsoft 365 administrators. It explains how the integration works, which permissions it requests, how to approve it in Microsoft Entra ID and how data is handled.
Overview
The SharePoint integration respects the permissions of the Microsoft account the user connects.
Pandektes receives read access to the SharePoint content that the user's account is allowed to read. The user chooses which sites to add and which documents to import.
When a user imports a document, Pandektes stores a copy so that the Pandektes agent can search its contents. Access to that copy follows the sharing settings in Pandektes. For example, a document imported into a shared project can be accessible to project members even if they can't access the original in SharePoint.
In short:
Personal connection: Each user connects their own Microsoft 365 account. There is no organisation-wide connection.
Existing permissions: Pandektes can only read what the user can already read in SharePoint.
Read-only access: Pandektes never writes, moves or deletes content in SharePoint.
User-controlled imports: Files are only copied when a user actively selects them. Pandektes does not crawl or index SharePoint in the background.
Pandektes may refresh the user's Microsoft authentication in the background to maintain the connection. This does not involve reading or downloading SharePoint content.
Approving Pandektes in Microsoft Entra ID
Depending on your organisation's Microsoft 365 security settings, administrator approval may be required before users can connect SharePoint to Pandektes.
If approval is required, users may see the following message when attempting to connect:
"SharePoint connection failed. Your organisation may require admin approval for this."
How an administrator can approve the integration
An administrator with the appropriate Microsoft Entra ID permissions can approve the integration through the Microsoft sign-in process.
Sign in to Pandektes using a Pandektes account that can initiate the SharePoint connection.
Go to Settings → Connections.
Under Integrations, find My SharePoint and click Connect.
When the Microsoft sign-in window opens, sign in with a Microsoft 365 account that has the necessary administrator permissions.
Review the permissions requested by Pandektes.
Select Consent on behalf of your organization, if this option is available, and accept the requested permissions.
Once administrator consent has been granted for the requested permissions, users in the organisation can connect their own Microsoft 365 accounts, subject to the organisation's access policies.
Please note: The approval process may vary depending on your organisation's Microsoft Entra ID configuration. If administrator consent cannot be completed through the sign-in process, contact Pandektes support for assistance.
Completing these steps also connects the administrator's own Microsoft account to Pandektes and stores its tokens, in the same way as for any other user. If you only want to grant consent, disconnect afterwards under Settings → Connections → My SharePoint → ⋯ → Disconnect. The organisation-wide consent in Microsoft Entra ID remains in place.
Application details
Administrators can use the following information to identify the integration in Microsoft Entra ID:
Item | Details |
Application name | Pandektes |
Application (client) ID |
|
Application type | Multi-tenant Microsoft Entra ID application |
Authentication | OAuth 2.0 authorisation code flow |
API | Microsoft Graph ( |
Permission type | Delegated permissions only |
The application ID is provided for identification purposes. It does not need to be entered when connecting SharePoint through Pandektes.
The SharePoint integration uses its own Microsoft Entra ID application, separate from any application used for single sign-on (SSO) to Pandektes.
Limiting access to specific users or groups
If you only want certain users to be able to connect SharePoint, you can enable Assignment required for the Pandektes enterprise application in Microsoft Entra ID and assign the relevant users or groups.
This allows your organisation to control which users can access the integration.
Which permissions does Pandektes request?
Pandektes requests the following delegated Microsoft Graph permissions:
Permission | Why it is needed |
| To list and search SharePoint sites and read document libraries, limited to what the user can access. |
| To read the files the user selects, limited to files the user can access. |
| Standard sign-in permissions used to identify the user's Microsoft account. |
| Lets the connection stay active without the user signing in to Microsoft each time. |
No write permissions are requested.
Please note: Although Sites.Read.All and Files.Read.All are named "All", they are delegated permissions. Pandektes can therefore only read what the signed-in user can already read in SharePoint.
The integration does not use application-level permissions that allow access to SharePoint independently of a signed-in user.
Important: The SharePoint permissions are requested during the Microsoft sign-in process. They may therefore not all appear in the application's preconfigured API permissions in Microsoft Entra ID. Administrators should review the permissions presented during the consent process.
What data does Pandektes store?
Data | Details |
Microsoft tokens | The user's Microsoft token cache, including the refresh token, is stored encrypted (AES-256-GCM) in the Pandektes database, with row-level security at company level. |
Connection details | Microsoft tenant ID, account ID, user name (UPN) and connection status. |
Sites | The list of sites the user has added (site ID, name and URL). |
Imported files | A copy of each file the user imports, together with its SharePoint item ID, content tag and hash, last-modified time and web URL. |
File content is only downloaded from SharePoint when a user selects a file and clicks Add files.
Imported files are copies taken at the time of import. They do not update automatically if the original changes in SharePoint.
Where imported files are kept
Files imported into a project stay in the project until they are removed. They are available to the project's members according to the project's sharing settings in Pandektes.
Files imported into a chat are treated as temporary uploads and are deleted automatically after 24–48 hours.
Revoking access
Access can be removed at any time:
By the user in Pandektes: Go to Settings → Connections → My SharePoint → ⋯ → Disconnect. This deletes the stored Microsoft credentials and deactivates the connection and the user's list of sites.
By the user in Microsoft: Remove the Pandektes application's permissions from their Microsoft account, for example through My Apps.
By an administrator in Microsoft Entra ID: Revoke consent for the Pandektes enterprise application or disable the application.
Files that have already been imported into Pandektes are not deleted when access is revoked. Files in projects are kept, and files in chats are deleted after 24–48 hours as usual.
When a user is deleted from Pandektes, all of that user's SharePoint connection data is deleted as well.
Network requirements
The user's browser must be able to reach
login.microsoftonline.comto sign in to Microsoft.All Microsoft Graph requests are made server-side, from Pandektes to
graph.microsoft.com. No Graph requests are made from the user's device.
Security and data protection
How Pandektes stores and processes content once received is governed by your agreement with Pandektes, Pandektes' applicable data processing terms and Pandektes' information security policies.
You can read more about Pandektes' security practices, ISO/IEC 27001:2022 certification and EU-based infrastructure in our Trust Center.
Need help?
If you have questions about the SharePoint integration, permissions or security, contact Pandektes via the chat, at [email protected], or through your contact person at Pandektes.
