Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Common problems

Copilot Chat does not find M-Files documents after Microsoft 365 Storage (SPE) is enabled

Last updated on 13 November 2026

Admin
Desktop Co-authoring

Overview

It is possible that after Microsoft 365 Storage has been enabled for a vault (Microsoft 365 native experiences) Microsoft 365 Copilot Chat returns no results from the vault content. This can happen even if native co-authoring works correctly. It is also possible that after opening a document with co-authoring the document can be found with Copilot Chat.

Troubleshoot

To confirm that you are having this exact issue you can follow these steps:

  1. Open Microsoft Search and disable Copilot from the upper right corner:
  2. Ask Search to find documents from your M-Files vault (note that you need to have permissions to the files on a file level e.g. full control for all internal users). Admin rights like full control of vault are not enough.
  3. You can also try pasting one of the following queries to the search. Those should find all the vault content you have access to.
    • ContainerTypeId:e1a550bf-89f5-4c63-9723-7643c1d03cd6
      • Note that the query will return everything (also some system folders etc. which might be irrelevant to the normal users). 
  • ContainerTypeId:e1a550bf-89f5-4c63-9723-7643c1d03cd6 AND ContentType <> Folder AND contentclass: STS_ListItem_DocumentLibrary
    • The query will ignore the unnecessary content, but you might need to adjust the "Folder" word in the query according to your SharePoint tenant's locale (e.g. Kansio).

If you get results with the chat, it means that the vault content is correctly indexed and this article most likely describes the issue you are having. 

However, if you don't get any results from the chat there might be some other issues in the environment. In that case you should contact M-Files Support to resolve the other issues.

Solution

Microsoft is investigating the issue, and it might get fixed in a future release.

In the meantime, you can use the following workaround to get the copilot to work with your M-Files content.

Workaround

You can use Copilot Studio to create Copilot agents that work with your M-Files content. For that you need to add the SPE container URL to a knowledge source of the agent. You can do that as follows:

  1. Get container URL form SharePoint Admin Center:
    1. Navigate to SharePoint embedded -> active containers.
    2. Open the correct rows from the list. You will recognize the correct rows by the application name: M-Files.
    3. Copy the container URL.
  2. Navigate to Copilot Studio.
  3. Create a new Standard agent (you might need to select Other ways to build -> Agent from the front page).
  4. After adding a name to the agent, click Add knowledge and select SharePoint.
  5. Paste your container URL to the field, click Add and then Add anyway:
  6. If you have multiple containers in SharePoint admin center, you need to do that with all the containers since they have different URLs.

Now the agent should be able to answer your M-Files related questions.

Note that you still need to give instructions to the agent and publish it to your users for the agent to work correctly. You can find more information from Microsoft's documentation: Official Microsoft Copilot Studio documentation - Microsoft Copilot Studio | Microsoft Learn.

Still need help?