Overview
When you select a document from a SharePoint Online repository in the M-Files Client, you may see an error similar to "Not Found" where the metadata card should be.
For example
Or
There are two common reasons for the metadata card to show "Not Found" when navigating through the files:
- The background users are not properly authenticated - this is the most common one
- Unsupported property types are mapped
Solution
Situation 1 - background users authentication
This is the most common issue.
It will usually be accompanied by an authentication failure error on the connection dashboard in M-Files admin.
Make sure to follow the documentation and ensure the background users applications are created and whitelisted correctly: Installing and Configuring M-Files SharePoint Online Connector.pdf sections 2, 3.1 and 3.2. In section 3.2, try whitelisting the application in both addresses - site and tenant specific - we have seen sometimes one does not function correctly.
This error means that the server cannot find the file the client is looking for, because the server is not authenticated to access the repository or at least the given file. The server is represented to SharePoint by an application set up by the administrator, while the client uses their own credentials.
Starting from M-Files Server 25.4 (April 2025), the error message is improved to be similar to "Please ask your M-Files admin to make sure that the connector settings are correct.".
The error stack from older versions would be similar to the following on the metadata card (note the lines in bold, the file names would be similar and in similar locations):
M-Files Online
Not found.
FSDRequestBuffer.cpp, 1039, Not found. (0x8004000B)
FSDRequestBuffer.cpp, 1164, Not found. (0x8004000B)
FSDRequestBuffer.cpp, 1255, Not found. (0x8004000B)
FSDRequestBuffer.cpp, 1789, Not found. (0x8004000B)
DirectoryEntry.cpp, 582, Not found. (0x8004000B)
FileStreamDownloadableFile.cpp, 427, Not found. (0x8004000B)
DownloadSession.cpp, 273, Not found. (0x8004000B)
RPCMethodCallWithRetry.h, 27, Not found. (0x8004000B)
RPCMethodCallWithRetry.h, 27, Not found. (0x8004000B)
RPCDocumentOperationsFileIO.cpp, 1677, Not found. (0x8004000B)
RPCDocumentOperationsFileIO.cpp, 216, Not found. (0x8004000B)
RPCObjectFileOperationsHelper.cpp, 142, Not found. (0x8004000B)
RPCObjectFileOperationsHelper.cpp, 641, Not found. (0x8004000B)
RPCEventsHelper.cpp, 713, Not found. (0x8004000B)
ExternalRepositoryHelper.cpp, 262, Not found. (0x8004000B)
ExternalRepositoryHelper.cpp, 443, Not found. (0x8004000B)
ExternalRepositoryHelperAide.cpp, 122, Not found. (0x8004000B)
(M-Files 24.12.14341.6 2024-12-19T13:29:19.533Z)
Situation 2 - Unsupported properties
See section 5.1.3 about mapping properties from SharePoint Online to the vault objects: Installing and Configuring M-Files SharePoint Online Connector.pdf.
There are several types of data that are not supported as target properties (built-in value lists, Date, Time, Timestamp at the time of writing).
For example, if you try to map properties such as "Created" and "Last Modified" from SharePoint to the vault, you may be tempted to you Date or Timestamp type properties in the vault, but doing so will result in errors. You will need to use a Text type property.
An easy way to test this is to remove all custom property mappings.
The solution is to make sure that you do not use such mappings.
Starting from M-Files Server 25.4 (April 2025), the error message is improved to be similar to "Please ask your M-Files admin to make sure that the connector settings are correct.".
In this situation, the background users are operational already, there are no other issues or errors, except the following (for older versions):
On the client you see an error similar to this one:
CoScriptObjectFactory.cpp, 579, Not found. (0x8004000B)
ScriptErrorHelper.cpp, 40, Not found. (0x8004000B)
CoScriptObjectFactory.cpp, 549, Not found. (0x8004000B)
ScriptErrorHelper.cpp, 40, Not found. (0x8004000B)
AsyncCaller.cpp, 362, Not found. (0x8004000B)
CoVaultObjectPropertyOperations.cpp, 2141, Not found. (0x8004000B)
ClientVaultObjectPropertyOperationsHelper.cpp, 867, Not found. (0x8004000B)
CoVaultMountingDocumentOperations.cpp, 3125, Not found. (0x8004000B)
VaultStateDocOperations.cpp, 2351, Not found. (0x8004000B)
VaultStateDocOperations.cpp, 2897, Not found. (0x8004000B)
VaultStateDocOperations.cpp, 2927, Not found. (0x8004000B)
IRPCObjectOperations.generated.cpp, 3257, Not found. (0x8004000B)
gRPCClient.cpp, 497, Not found. (0x8004000B)
gRPCClient.cpp, 466, Not found. (0x8004000B)
gRPCClient.cpp, 99, Not found. (0x8004000B)
gRPC.generated.cpp, 14172, Not found. (0x8004000B)
RPCDocumentOperations.cpp, 6517, Not found. (0x8004000B)
MCallInLoop.h, 535, Not found. (0x8004000B)
RPCDocumentOperationsHelper.cpp, 6505, Not found. (0x8004000B)
RPCDocumentOperationsHelper.cpp, 6453, Not found. (0x8004000B)
ExternalRepositoryHelper.cpp, 707, Not found. (0x8004000B)
ExternalRepositoryHelper.cpp, 584, Not found. (0x8004000B)
ExternalRepositoryHelperAide.h, 202, Not found. (0x8004000B)
ExternalRepositoryHelperAide.cpp, 122, Not found. (0x8004000B)
(M-Files 24.12.14341.6 2025-01-13T16:02:33.934Z)
On the server, you will see very long Error type entries in the Windows Event Log with content similar to the following highlighted keywords and lines, that show you which the property ID is.
M-Files Online
Vault ID: {05EA6381-6A4E-4A65-B41D-E77BB023807A}
Index name: Metadata_804d1e5a81f5432c861c1aed1fa41348
Partition:
M-Files indexer could not index the vault : '05EA6381-6A4E-4A65-B41D-E77BB023807A'.
Index name: "Metadata_804d1e5a81f5432c861c1aed1fa41348". Indexing request type: "Default".
Unspecified error.
Indexing the external repository "804d1e5a81f5432c861c1aed1fa41348" of the vault "{05EA6381-6A4E-4A65-B41D-E77BB023807A}" failed.
Unspecified error.
IL:287,Indexing the external repository "804d1e5a81f5432c861c1aed1fa41348" of the vault "{05EA6381-6A4E-4A65-B41D-E77BB023807A}" failed.
The objects found during indexing could not be converted to a format that is compatible with M-Files.
. . . .
Not implemented. (The configuration refers to a property definition (ID 21) of a data type that is currently not supported.)
. . . .
MFiles.ExternalConnectorHost: [Boolean MoveNext()], IL:502, Not implemented. (The configuration refers to a property definition (ID 21) of a data type that is currently not supported.) (0x80004001)
(M-Files 24.12.14341.6 2024-12-19T14:22:04.475Z)
Notes
There are other similar "not found" errors around SharePoint online that you may encounter, which are not related to this one:
- SharePoint Online Connector: Content of the folder is not visible to anybody in M-Files Desktop
- M-Files Desktop: Error when trying to destroy promoted object related to Sharepoint connector
Those have different origin, manifest in a different scenario and have different handling.
Make sure to read the error messages in full, because they may seem similar at a quick glance, so that there are no mistakes which situation you are facing.
