Such an assistant must respect the reading permissions of the person asking, right through to the answer that finally appears on screen. A successful file import is not enough for that. The account the assistant uses to read the files, the search, the text passages, the conversation history and the cache all need to respect the same access boundaries.
An example: a building services engineering firm in Naples with 35 employees keeps all its projects in SharePoint. In this example, each project folder is shared only with its project team, and the HR documents only with management. Salvatore, the office manager, looks after SharePoint on the side. He is to introduce an assistant that answers questions about templates, checklists and ongoing projects.
Key takeaways
- Material a technical connection can read is not automatically material every user may read.
- Keep three permission questions separate: permission for ingestion to collect sources, a reliably authenticated user identity, and which collected material that identity may access.
- As checked on 26 September 2026, Microsoft still describes SharePoint permission-metadata ingestion into Azure AI Search as a preview capability.
- In Copilot Studio the knowledge-source type matters: Microsoft describes SharePoint/OneDrive connections as using delegated authentication and security trimming, and its configured Azure AI Search connection as non-delegated.
The account an assistant uses to read SharePoint may be allowed to read more than any single employee. At the engineering firm, it sees every project folder and the HR folder too. Even if you use such a broadly privileged service account, you still need verified authorization for every single request. The language model itself should not receive restricted content in the first place and then be expected to decide whether to conceal it.
01 / 13
SharePoint knowledge base or a separate RAG system?
Does your team need an AI assistant at all? A SharePoint knowledge base can organise approved pages and files without a separate AI application. First test whether clear ownership, good navigation and the existing search solve your team's problem. If a conversational answer is useful, compare the Microsoft capability available to your organisation with a separate search setup of your own. Adding a search index means you operate another copy of the information and its access rules.
For four typical requirements, the starting point and the evidence look like this:
| Requirement | Starting point to assess | What must be demonstrated |
|---|---|---|
| Find the current staff procedure | SharePoint pages, documents and search | Correct version, useful navigation and intended readers |
| Ask questions of permitted SharePoint material | The available Microsoft assistant or Copilot Studio configuration | Supported content, user authentication, citations and current permissions |
| Search several approved systems together | A multi-source assistant, potentially using RAG | Consistent source identity, access enforcement and deletion across systems |
| Apply custom retrieval or answer rules | A deliberately scoped custom design | A measurable benefit over existing tools and an accountable operator |
Suppose the engineering firm's planning team asks: "Which installation checklist applies?" Then it may need clearer source ownership, here of the checklists, rather than a new model. But if the answer requires both procedures from SharePoint and approved product documentation from another system, a broader search across several systems becomes a candidate. That remains a hypothesis until you have tested both options with the same questions and the same users.
Microsoft documents SharePoint knowledge sources in Copilot Studio together with sign-in and content limitations. Use the supported configuration in the intended tenant. A connection to the source does not on its own give every user access. Microsoft: add SharePoint as a knowledge source, checked on 27 September 2026.
Which sources belong in the assistant, who maintains them and how they are published is covered by the AI knowledge-base guide. Keep those editorial decisions alongside the access tests further down.
02 / 13
Which three permission questions must be kept separate?
A RAG assistant using SharePoint has to answer three separate permission questions:
- First, ingestion needs permission to collect sources.
- Second, the application needs a reliably authenticated user identity. So the assistant must know for sure who is asking.
- Third, the search must determine which collected material that person may access.
These stages can use different accounts and technical mechanisms.
A successful import answers only the first question, and a successful sign-in answers the second. Only targeted questions under different roles show whether the third step works correctly. If Salvatore demonstrates the assistant with his administrator account, he sees everything, and that says nothing about what an intern sees. An administrator demonstration is therefore unsuitable for accepting the permissions.
On top of that comes the right to use the assistant itself. Microsoft distinguishes permission to use a SharePoint agent from rights to its underlying sources. Being allowed to open the agent does not grant access to every connected document. Microsoft: SharePoint agent access.
03 / 13
Direct source access or a copied index: what changes?
There are two routes. In the first, the assistant checks directly in SharePoint for each person. The decision about who may see what then stays as close as possible to SharePoint, the authoritative system. In the second, the assistant builds its own search index and copies the content, and potentially the permission details, into it. You are then also responsible for keeping the copy current and for evaluating the permissions correctly.
An index of your own can support a special search, your own preparation of the documents or a combination of several sources. But it must know which version of a document and which state of the permissions currently apply. The file address alone does not represent this adequately.
For cases where the full SharePoint permission model is required, Microsoft names a remote SharePoint knowledge source as an alternative to copying the access control lists (ACLs) into the index. Whether that option fits your product, your region and your specific task belongs in the review of your setup. Microsoft: SharePoint ACL indexer.
04 / 13
Does Azure AI Search preserve SharePoint permissions automatically?
Does the search take over the permissions from SharePoint by itself? Microsoft still lists the ingestion of SharePoint permission details into Azure AI Search, as checked on 26 September 2026, as a preview capability, meaning a pre-release version. Whether it is supported depends on the exact API version and the indexer features you use. A general claim such as "SharePoint permissions are automatically preserved" is therefore too broad.
How permission changes arrive matters in particular. The documentation describes that changes to item-specific permissions, such as for a single file, are picked up incrementally from a particular preview version onwards. Changes inherited from a parent scope, such as a folder, on the other hand, require an explicit refresh. There are also limitations involving guest users and certain kinds of sharing. Compare the current support table with your actual SharePoint structures. Microsoft: prerequisites and limitations.
These limitations do not rule out an index across the board, but they require a deliberate decision. Is the range of permissions you need supported? What happens to the cases that are not supported? And is a preview capability acceptable for the intended operation?
Record the chosen API and deployment version in the acceptance evidence. A capability announced later does not retroactively establish that an older connection that is already set up behaves the same way. Equally, you should not repeat an old limitation without rechecking it after the actual configuration has changed.
05 / 13
An example of inherited permissions
Suppose the engineering firm's project folder "North School" contains ten documents that inherit their reading permissions from the folder. A building services planner can read the folder at first. Then she moves to another project, and Salvatore removes her permission at the parent folder. The text of the documents stays unchanged.
An import that looks only for changes in the content can miss this revocation. Even an indexer that supports some incremental updates to the access lists may not automatically cover every inherited change. The assistant could then keep giving the planner text from a document she can no longer open in SharePoint.
So the test must reproduce the real inheritance path, in this example through the folder:
- Allow access.
- Have a question about the project answered.
- Revoke the permission at the parent, here the folder.
- Perform the required synchronization.
- Ask the same question again.
Measure from when the assistant stops giving out content. This is a proposed test and does not describe an observed incident at a customer.
06 / 13
Is Copilot Studio a blanket permission guarantee?
If you work with Microsoft's Copilot Studio, the knowledge-source type matters. Microsoft describes SharePoint/OneDrive connections there as using delegated authentication and security trimming. Delegated means that the search runs with the permissions of the person asking. Security trimming means that results without reading permission are hidden. Microsoft describes its configured Azure AI Search connection, on the other hand, as non-delegated and without that automatic user-based filtering. Microsoft: RAG knowledge sources.
So do not transfer the properties of a direct SharePoint source to a custom search index merely because both appear inside the same agent. If an assistant combines several sources, you have to test every route separately. One protected route does not make up for an unprotected second route.
This difference also belongs in quotes and acceptance. Do not settle for a confirmation of "Microsoft integration", but ask to be shown which identity the assistant searches with, how it filters and how it behaves when permissions change.
Got a workflow like this?
Tell me about it. Honest take and a rough price, usually within a day.
07 / 13
Evaluate answers, suggestions and caches together
A permission failure can happen without the whole document text becoming visible. Even a file name such as "Dismissal project manager.docx" in a results list gives something away. Suggested questions, result counts and summaries can also reveal confidential information. So check everything the user can see.
Shared answer caches need particular care. An answer allowed for User A must not reach User B simply because both asked the same question. Suppose Salvatore asks about the status of the "North School" project, and the assistant stores the answer. A colleague without project access asks the same question the next day. So she must not receive the stored answer. The cache must take account of the permission state and the source version, or the application avoids a shared cache for that area.
A conversation that is already running can contain information that should not be reused after a permission is revoked. So test both fresh and existing sessions. Decide whether affected parts are removed from the conversation history, whether the conversation starts again, or whether the assistant temporarily gives no answers for that area.
Also look at the error messages. An "access denied" message should not include a sensitive document title or an internal storage path, unless the person may see both anyway. Error handling belongs within the same boundaries as normal answers.
08 / 13
Which roles and cases belong in a role-based acceptance matrix?
A role-based acceptance matrix for RAG on SharePoint should include at least these roles:
- an ordinary employee, at the engineering firm for example someone from the front office
- a project member
- someone without project access
- an external user, if this access is actually supported and part of the scope
Use made-up confidential content so that a failed test does not expose real secrets.
Test direct sharing, group membership and inheritance separately. Add these change and failure cases to the tests:
- someone changes group
- a permission is revoked
- a source is deleted
- identity resolution fails, so the assistant cannot work out who is asking or which groups they belong to
If the selected connection does not support one of these cases, exclude that case from the approved scope or solve it in another way.
Define the expected outcomes before the test. "The chat did not say anything critical" is not enough as an assessment. An outcome reads, for example: "The restricted text passage was not in the material for the model, its title did not appear, and the shared cache did not return the earlier answer."
Record both cases: when the assistant shows too much and when it refuses too much. An overly narrow filter can stop authorised employees from finding information they need. That is a usability failure, which you fix without weakening the restriction for unauthorised users.
09 / 13
How do you make the initial rollout reproducible?
Work in this order:
- Create a test library. Create a small test library of your own with three documents: one for all test users, one only for the project team and one shared with a single person. Put a different made-up identifier in each document, such as "TEST-BLUE". If an identifier turns up for the wrong person, you know exactly which document slipped through, without using real business information.
- Check permissions in SharePoint. First check the permissions directly in SharePoint. If the sharing there is already wrong, the assistant cannot fix it by carrying it over correctly. Have the same people open the documents, and record both permitted and denied access.
- Check the import. Then import the documents, and have your IT team inspect the search objects that were created. How to do that is described in "For your IT team".
- Ask through the real interface. Only then ask the questions through the interface your employees will use later. This checks sign-in, search filters, how the material for the model is put together and display together. Compare the outcome with direct access in SharePoint. A discrepancy must be explained and fixed before you add more documents.
- Change permissions. Finally, change the permissions in different places: for a single person, for a group membership and on a parent folder. Repeat the acceptance test after each single step. When several changes happen at once, the cause of a failure often remains unclear. Record which technical refresh was needed each time and which delay you actually measured.
This record later becomes the evidence for operation and the basis for the next extension.
10 / 13
Operations and restoration must preserve the boundary
A permission gap can also open up during live operation. Monitor when the permission details were last successfully refreshed. A green import status may refer to the text while the permissions are out of date. The person responsible must be able to see which part of the documents is affected.
After restoring a backup, check whether permissions revoked since the backup have become active again. Suppose Salvatore has to restore a backup of the search index after a failure. He then checks exactly that for every permission revoked since the backup. Do not publish an older index without reconciling the permissions with the current state. For urgent cases, you need a way to remove a source or an area from answers immediately.
Name a person who is responsible for access over its whole lifecycle, including changes another team triggers. Your SharePoint administrators can change permissions without anything changing in the assistant's configuration. If it is agreed who notifies whom and when the permissions are reconciled, this separation within the company does not turn into an invisible technical gap.
State separate propagation targets, meaning target times for how quickly changes reach the assistant, for content changes and for the revocation of permissions if their urgency or technical implementation differs. Record who can block the affected area while an overdue permission refresh is investigated.
The next step is a description of how the data flows, with the identities involved and the state of the permissions at each point. Only then can you decide on evidence whether direct sources, an index of your own or a combination fit. The RAG architecture guide and acceptance plan support this review.
11 / 13
For your IT team
Which metadata should each passage carry?
Each text passage (chunk) in a SharePoint RAG index should carry this metadata:
| Metadata | Purpose |
|---|---|
| Source and document identity | Associate all derivatives with their origin |
| Document version | Tie answers to a specific revision |
| Section or page reference | Make citations inspectable |
| Organizational scope | Prevent cross-organization mixing |
| Allowed user or group references | Enforce reading boundaries |
| Permission-refresh time | Detect stale authorization state |
| Source status | Exclude blocked or deleted material |
When a document is split into chunks, the relevant permissions must reach every searchable object. Protecting the parent file is not enough if its passages are stored without equivalent restrictions.
The same applies to generated summaries. If several documents contribute to a new summary, decide who may read that summary. Inheriting the permissions of the least restricted source is not a safe default.
When you import the test library, check every generated search object for source identity, permissions and version metadata. This includes sections created by additional processing, such as detected tables or summaries. The first line of a document is not an adequate stand-in for the whole file.
Implement security filters deliberately
Alongside its built-in approaches, Azure documents a pattern using stored user or group identifiers and search filters. Under that pattern, the application remains responsible for the correct identity, the metadata and how the filters are built. A text field containing group identifiers is not automatically a complete authorization system. Azure AI Search: security filter pattern.
Derive the filter from the verified identity. Users must not be able to expand their organizational scope through an editable request parameter. Background requests and other search routes need the same boundaries.
Do not treat missing or unclear permission data as permission granted. If group resolution fails, a visible restricted state is better than silently switching to a search without filters. The specific fallback must be agreed by the business and technical owners.
12 / 13
Take the worksheet
Worksheet
Download the editable CSV table
| Situation | Boundary | Test |
|---|---|---|
| No HR access | No HR text in context | Direct and paraphrased question |
| Group access revoked | New answers respect revocation | Search and cache |
| Moved document | Updated rights and reference | Old and new location |
| Shared conversation | No new source entitlement | Second user opens history |
| Missing source | No false availability claim | Link and answer |
Columns to fill in, in the file: Your value / observation, Owner, Next action.
Download the editable CSV table (CSV). Add your own values, owners and open actions. This worksheet contains no measured client results.
13 / 13
Related decisions
These modernagents guides cover related decisions about AI knowledge assistants:
- AI knowledge assistants: sources, access and answers
- Test a RAG knowledge assistant: sources, access and answers
- Keep RAG knowledge current through updates and deletion
- Test RAG security against manipulative source documents
For a workflow review, start with the task, systems involved and typical exceptions. Discuss it with modernagents.



