Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback

Last updated on 14 March 2024 · 3 min read

Admin

Overview

In M-Files cloud environment, SCIM (System for Cross-domain Identity Management) is the preferred option for synchronizing users and user groups from Entra ID (formerly known as Azure AD) into M-Files Manage.

SCIM user sync can be configured on individual vault-level through M-Files Admin, or on subscription level through M-Files Manage. 

  • When syncing users on the vault-level, you need one SCIM application in Entra ID per document vault. 
  • When syncing users via M-Files Manage, you only need one SCIM application in Entra ID.

However, in both cases there are some situations where you need to build a new SCIM application in Entra ID.

Solution

When a SCIM application syncs a group from Entra ID to M-Files for the first time, the application pushes the group members into M-Files and M-Files assigns IDs to the group and the users included in the group. The SCIM application stores the M-Files IDs in the application's own internal state. Based on the M-Files IDs, the SCIM application can match Entra ID groups and users with the corresponding M-Files groups and users even if the group/user details in Entra ID change. This also means that each SCIM application can only be used with one end-point (one vault or Manage) and the end point must not be changed after the application has gathered M-Files IDs from one endpoint.

You need to create a new SCIM application to replace an older application in these situations:

  • When you create a SCIM application with incorrect attribute mappings and start the initial provisioning cycle before noticing the error in the mappings, the application may store incorrect data based on the incorrect attribute mappings. There is no way to fully flush the incorrect data from the application in Entra ID, so you need to stop/delete the incorrectly configured application and create a new one to replace it.
  • When you decommission a document vault and create a new vault, you cannot re-use the old vault's SCIM application for the new vault or for Manage, as the application already contains an internal state with the original vaults' IDs, which will not match with the IDs in the new vault.
  • You cannot use a SCIM application to do a one-time import of users and groups into one vault and then change the same application to do a one-time import to another vault, since the application's internal state already contains the IDs of the users and groups from the first vault. You need to create separate SCIM applications for each vault.

Notes regarding M-Files Manage 

  • If you use M-Files Manage and you want to keep using vault-level user sync, you need to enable the option in M-Files Manage that says users are synced on the vault-level. You must not sync users via both Manage and vault-level at the same time.
  • When switching from vault-level SCIM provisioning to Manage-level SCIM provisioning, you must first stop/delete all the vault-specific SCIM applications in Entra ID and disable that vault-level provisioning via the vault Properties dialog in M-Files Admin, then build a new SCIM application that uses Manage as the endpoint. Again, do not re-use any of the vault-specific applications by changing their endpoint to point to Manage.

Refer to M-Files Manage User Guide for more details on how to configure SCIM for Manage.

Still need help?