AI search assistant for SharePoint: Copilot or a custom RAG assistant?

Your people should be able to ask “what is our current travel policy for contractors?” and get one answer, with a link to the document it came from, the approved version, and nothing they are not allowed to see, provided the content behind it is in order. That is what SharePoint AI search should deliver. If your content is mostly text-based files in SharePoint and your users are licensed, Microsoft 365 Copilot and agents in SharePoint usually get there with less effort than anything custom. Where they fall short, for example with scanned archives, content outside Microsoft 365 or strict answer rules, a custom assistant with sources fills the gap.

Why search in SharePoint fails today

  • Too many versions of the truth. “Policy_final”, “Policy_final_v2” and a copy in someone’s team site all match the query. Search cannot tell which one is valid.
  • Permissions that grew by accident. Sites shared with “everyone”, broken inheritance and old guest access mean some people see too much and others cannot find what they need.
  • Scanned PDFs with no text. Signed contracts, certificates and older manuals are often image-only files. Without OCR (optical character recognition), there is nothing for search or AI to read.
  • Keywords instead of questions. People ask in their own words; documents use different terms, so the right file never reaches the first page.

AI does not fix these problems. It reads what search can reach, so duplicates, oversharing and unreadable scans show up in its answers too. Any serious project starts with the content, whichever tool you choose.

What Microsoft 365 Copilot and SharePoint agents do today

Microsoft 365 Copilot answers questions across mail, chats and files. Microsoft states that it only surfaces organisational data the user has at least view permission for, and honours the usage rights of files protected with Microsoft Purview Information Protection (Microsoft Learn).

Agents in SharePoint are focused assistants scoped to chosen sites, pages, libraries or files, such as an HR policy agent. According to Microsoft, they answer questions about content the asker has permission for, and people need either a Microsoft 365 Copilot licence or an organisation that has enabled pay-as-you-go billing for agents in SharePoint (Microsoft Support). With pay-as-you-go, an admin links a billing policy to a security group, so only that group can use the agents (Microsoft Learn).

Copilot connectors bring content from other systems into Microsoft 365. Synced connectors index external items with an access control list, and federated connectors query the source live under the user’s own identity (Microsoft Learn). Microsoft warns that granting a connection access to “Everyone” can lead to oversharing (Microsoft Learn).

When a custom assistant with sources fits better

Comparison of Microsoft 365 Copilot and SharePoint agents with a custom assistant by content, other systems, users and permissions.
  • Large scanned archives. Microsoft describes the semantic index as built from text-based SharePoint files (Microsoft Learn). SharePoint has an OCR service that makes image-based and hybrid PDFs searchable, billed pay-as-you-go, and it processes files uploaded after it is turned on, not the existing archive (Microsoft Learn). Where scans are poor, contain tables, stamps or handwriting, or need fields such as contract dates pulled out, a custom pipeline can recognise, check and structure the text.
  • Knowledge outside Microsoft 365. PLM documentation, service-desk tickets, ERP records or old network drives. Connectors cover some of this; a custom assistant can read from most systems with an API or a regular export and combine them in one answer.
  • Strict answer rules. Answer only from approved, current documents; quote the exact clause; say “not found” rather than guess; prefer the newest valid version; always show the source page. A custom assistant can enforce these and be tested on a fixed question set.
  • Users without Copilot licences. Production staff, field technicians or partners. Pay-as-you-go agents are one route; a custom assistant in Teams or on your intranet is another. They still need an Entra ID account or guest access so answers follow their permissions.

The two are not exclusive: Copilot can cover everyday work while a custom assistant handles one demanding area, such as technical service, quality or contracts.

Permissions: the assistant must see what the user sees

Diagram of how a custom assistant signs users in, reads SharePoint permissions and filters passages by access before writing an answer.

Whatever you choose, answers must follow the permissions of the person asking. In Copilot and SharePoint agents this is built in. A custom assistant must do the same: it signs users in with Microsoft Entra ID, reads the permissions of each SharePoint item and filters retrieved passages by the user’s access before the model writes an answer. Content from other systems carries its access rules into the index where the source exposes them; where it does not, that content is limited to a group that may see all of it. Permission changes are synced on a schedule, so removed access stops showing in answers within the agreed sync interval.

AI also makes oversharing visible: if a salary file is open to the whole company, a good search tool will find it. For organisations licensed for Copilot, Microsoft offers Restricted Content Discovery, part of SharePoint Advanced Management, to keep selected sites out of Copilot and organisation-wide search while owners review access. It changes discoverability, not permissions, so it is a temporary measure rather than a fix (Microsoft Learn).

Governance: decide what counts as an answer

  • Approved sources. Which sites and libraries hold valid content, and which are archives or personal work areas the assistant should ignore.
  • Owners and review dates. Each source has an owner who keeps it current. Where documents carry a review date, expired ones are flagged instead of quoted; where they do not, adding that metadata is part of the pilot.
  • Sensitive content. Sensitivity labels, HR and legal sites, and personal data are agreed upfront, together with your data protection officer.

Data protection and the EU AI Act

Documents in SharePoint contain personal data, from names in meeting notes to employee records. Under the GDPR you remain the controller. For a custom assistant, the processor role, data processing terms, hosting location (an EU region or your own tenant) and the model providers’ data-use terms are agreed with you before any documents are processed.

Under the EU AI Act, an internal assistant that answers questions from company documents is not, by itself, on the Annex III high-risk list, whose obligations apply from 2 December 2027 following the amendment by Regulation (EU) 2026/1744. That changes if it is used for decisions such as recruitment, task allocation or employee evaluation. The transparency duties of Article 50 have applied since 2 August 2026, so people should be told they are interacting with an AI system.

How to start: a pilot on your own questions

  1. Free AI opportunity scan. A 30-minute call about where your knowledge lives, who needs it and what your licences cover, followed by a short note on whether Copilot, a custom assistant or both make sense. A mutual NDA comes first if you want to show real documents.
  2. Pilot. One area, such as quality procedures or service manuals, and a set of real questions with known correct answers from your experts. Where useful, Copilot or a SharePoint agent (test users need Copilot licences or pay-as-you-go) and a custom assistant are tested on the same questions, measured on the share of correct answers, correct source cited and no permission leaks in tests with restricted accounts. The go/stop threshold is agreed before testing.
  3. Rollout. More sources, user sign-in through Entra ID, access in Teams or the intranet, monitoring of answer quality, training and agreed support.

When not to build a custom assistant

  • Copilot already answers well. If your users are licensed and test questions get correct answers with sources, a custom build adds cost without benefit.
  • Permissions have never been reviewed. Run an access review, or use Restricted Content Discovery on sensitive sites, before any AI tool goes live.
  • No one owns the content. If nobody decides which version is valid, the assistant cannot either.

Frequently asked questions

Does SharePoint AI search show people files they are not allowed to open?

It should not. Copilot and SharePoint agents only use content the user can access, and a custom assistant should filter by the same permissions. The real risk is content that is already shared too widely, which is why a permission review belongs in every project.

Do we have to move documents out of SharePoint?

No. SharePoint stays the system of record, and every answer links back to the original file.

How do you handle outdated versions?

By agreeing which libraries hold approved documents, reading status and review-date metadata, and preferring the latest approved version. Where that metadata is missing, we agree a rule with the content owners before the pilot, for example that only the approved library counts.

Related reading: Company knowledge assistant with RAG, Microsoft Copilot vs custom AI, Private LLM, GDPR and on-premise AI, our EU AI Act risk checker, and all our AI guides and free tools.

Updated November 2026