Overview
Once Desktop Co-authoring is enabled on a vault, when you attempt to open an Office document for co-authoring, you may receive an error: "Access Denied You do not have access to view this file. Would you like to request for permission on SharePoint?"
If you select Yes, a browser will open to SharePoint with this error: "Access Denied <user> does not have permissions to access this resource."
Solution
There are several known reasons for this error:
- Multiple users signed in
- Vault Admin account is being used
- User does not have an external ID in M-Files
- Capital letter in extension
- Microsoft Office version 2511
Multiple users signed in
This error can occur if multiple users are signed in to Microsoft Office, even if the correct user is currently active:
This is an issue in Microsoft Office, not in M-Files, so there is not currently a timeframe on a fix for this issue. As a workaround, sign out any extra users except for the user that is logged in to M-Files:
This will allow the document to be opened for editing in desktop co-authoring.
Vault Admin account is being used
Vault-level admin accounts have access rights to all objects in a vault, regardless of document-level permissions. This means that a vault admin can view and check out documents (without co-authoring) even if they don't have explicit permission to do so.
The permissions that are shared with SharePoint Embedded to allow a user to co-author a document are pulled from the document itself, not from vault-level. If a document does not explicitly allow a vault admin user to access it, then SPE will not allow this user to co-author the document.
To remedy this, you must modify the document to include the vault admin user in the permissions. For example, change the permissions of the document to 'Full Control for all internal users', or add the vault admin user to a group that has access to the document.
User does not have an external ID in M-Files
This can be checked in M-Files Admin. Go to Vault > Users and add the External ID tab to the view: View > Add/Remove Columns… > select 'External ID' and click 'Add ->' and then OK:
A user needs to have a value in this External ID column in order to use Co-authoring.
If the user does not have this property, verify that user provisioning has been completed in M-Files Manage, see Configuring user provisioning with Microsoft Entra ID.
Capital Letters in File Extension
A second reason this error can appear is due to capital letters in the file extension (for example: "filename.XLSX"). This issue has been fixed in M-Files Client version September 2025 (25.9.15198.5). You need to upgrade the client to that version or later.
As a workaround, check out the document, rename it to change the extension to not have any capital letters, then check the document back in. This will allow you to co-author the document.
Microsoft Office version 2511
There have been some instances where users have reported receiving this error while using Microsoft Office version 2511 (build 19426.20218). If you have this error and this version of Office installed, update to Office version 2512 (build 19530.20144) or later, and verify all of the above solutions.
