Integrations / SharePoint
SharePoint
Most Microsoft 365 organisations keep their shared documents in SharePoint: HR policies on the HR site, contract templates in Legal's library, sales collateral in a team site. The answers are in those files, but finding the right paragraph still means opening documents one by one, and copying them into another tool creates a second version that goes stale.
The SharePoint integration connects a SharePoint library or a folder inside it to one Ragirag team. Ragirag keeps the team's knowledge base in step with it: new files are indexed, edited files are re-indexed, and files that are deleted or moved out stop being used in answers. Members ask questions in plain language and see which files each answer came from.
What is synced
- Every PDF, Word document (DOCX) and plain-text file in the connected library or folder and in all of its subfolders.
- Libraries of any SharePoint site the connected account can open: pick the site, then the library, then optionally a folder.
- A link back to the original file, shown next to the document in Ragirag.
What is skipped
- Other formats such as older Word files (.doc), Excel, PowerPoint, images and archives. They are listed as skipped with the reason, so nothing is silently missing.
- Files larger than your plan's file size limit, each listed in the sync history with its reason.
How fresh answers stay
Ragirag checks for changes every 15 minutes, with no action needed from anyone. A team admin can also press Sync now to pick up a change right away, at most once a minute.
When a file is edited, Ragirag replaces the old passages with the new ones, so an answer never mixes two versions. The document keeps its confidential flag and the people granted access. If the connected folder or library itself is deleted or no longer readable, Ragirag stops and deletes nothing until an admin looks at it.
Permissions Ragirag asks for
- Read items in all site collections and all files you can access (Sites.Read.All, Files.Read.All). Ragirag needs to list sites, libraries and folders so you can pick one, then read its files to index them. The access is read-only and delegated: Ragirag sees only what the signed-in account can see, and never creates, edits, moves or deletes anything.
- Sign you in and read your profile (openid, email, User.Read). Shown to team admins so they can see which Microsoft account the source is connected with. Work and school accounts only.
Who can see what
SharePoint permissions are not copied into Ragirag. Once a library is connected, every member of the team can ask about every file in it, including files they could not open in SharePoint. The team is the access boundary.
To restrict a sensitive file, a team admin marks it confidential in Ragirag and grants access to named people. That setting survives later edits of the file.
Revoking, reconnecting and disconnecting
- The Microsoft refresh token is encrypted with AES-256-GCM before it is stored and is never shown again, not even to admins. Microsoft replaces it each time it is used; Ragirag stores the new one before using it.
- If access is withdrawn on Microsoft's side, the connection shows Access lost. Documents already synced keep answering questions but stop updating until an admin reconnects. If the admin who connected it leaves the team or is no longer an admin, syncing stops at once.
- Disconnecting removes every document synced from the source from Ragirag, including its indexed passages, and deletes Ragirag's stored token. Microsoft offers no way for an app to revoke a single grant, so to withdraw it entirely, remove Ragirag under My Apps (myapps.microsoft.com). Nothing changes in your files.
The full data flow, from sync to answer, is on the security page.
Plans
Available on all plans, Free included. Synced files count toward the plan's document limit: a source that would take your organisation over it is not synced at all, rather than cut off part way, until it is smaller or the plan is upgraded. See every limit on the pricing page.
Set it up
- Connect SharePoint. A team admin opens the team's Documents page and chooses Connect SharePoint. Ragirag explains that SharePoint permissions are not mirrored, then opens Microsoft's sign-in.
- Sign in with a work or school account. The admin signs in with the Microsoft 365 account that can see the files and accepts the read-only access. Personal Microsoft accounts are not supported.
- Choose the library. Back in Ragirag, the admin picks a site, then a library, and optionally a folder inside it. The first sync starts right away.
- Ask questions. Members ask questions in the team's chat. Answers cite the synced files and stay current as they change.
Questions
Does our Microsoft 365 admin need to approve Ragirag?
The permissions Ragirag asks for do not require admin consent, so a user can usually connect on their own. Some organisations only allow users to approve apps from verified publishers or turn off user consent entirely; in that case your Microsoft 365 admin approves Ragirag once.
Can a team connect SharePoint and OneDrive?
Yes. A team can connect one OneDrive folder and one SharePoint library side by side; each syncs on its own and counts toward the same plan limits.
Does Ragirag write anything to Microsoft 365?
No. The access is read-only. Ragirag lists folders and reads files; it never changes, moves, shares or deletes anything.
What happens if someone deletes or moves the connected folder?
Ragirag notices that the folder can no longer be read, stops syncing and keeps every document it already has. A team admin then reconnects or picks another folder.
