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 27 November 2026

Admin

Important information

When you enable user provisioning in M-Files Manage, all the provisioned users first get the license that you set as the default license type for the provisioned users. This applies also if vault-level user synchronization has been previously used. This means that some users can temporarily get a lower license. You can specify the license type for each user group after the user groups have been provisioned.

In Azure, SCIM is unidirectional, and the changes made in Microsoft Entra ID are synchronized to M-Files user and login accounts. However, the opposite is not true. Thus, do not use M-Files to make any changes to groups that are provisioned from Entra ID with SCIM. Changes made to M-Files user accounts will not have any effect in Entra ID.

Prerequisites

Before you set up user provisioning, make sure that these prerequisites are completed.

M-Files requirements:
  • You have the Subscription admin role in M-Files Manage.
  • Entra ID authentication is set up in all the target vaults. For more information, see M-Files and federated authentication.
    Note: When you create a user with Microsoft Entra ID authentication, the username in M-Files Manage must match the user principal name (UPN) in the user's Entra ID home tenant.
  • All vaults in your subscription have user synchronization disabled in M-Files Admin.
Microsoft Entra ID requirements:
  • You have an Microsoft Entra ID Premium license.
  • You have an Entra ID tenant.
  • You have a user account in Entra ID with permission to configure user provisioning (for example, Application Administrator, Cloud Application Administrator, Application Owner, or Global Administrator).

Configuring User Provisioning in M-Files Manage

Before you start, read the important information and prerequisites on the Configuring user provisioning with other identity providers page.

To configure user provisioning in M-Files Manage:

  1. Log in to M-Files Manage at https://manage.m-files.com.
  2. Go to Access control > Provisioning > Configurations.
  3. In Create configuration for user provisioning, select Microsoft Entra app gallery.
  4. Enter the necessary information.
    1. In Configuration name, enter a unique name for the configuration.
    2. Select Default license type for the provisioned users. All the provisioned users first get this license. You can change a user group's license type to a higher one after user groups have been provisioned. If there are not enough available licenses of the default license type in the subscription, all the users do not get a license.
  5. Select Save.
    Result:M-Files Manage creates the tenant URL, token endpoint, client ID, and client secret for your configuration.
  6. Select the copy icon () for each piece of data, that M-Files Manage created, and note down the values.
    Note: The client secret is not shown anywhere else when you close the dialog.

    The client secret is necessary to configure user provisioning in Microsoft Entra ID.

Configuring user provisioning in Microsoft Entra ID

This section tells you how to set up user provisioning in Entra ID with the M-Files application from the Microsoft Entra ID App Gallery.

Note: If your organization uses legacy SCIM provisioning and external IDs are not updated, make sure that Microsoft EntraGallery Application is in use. This enables the updated SCIM provisioning model and adds and synchronizes external IDs correctly.

Setting up the M-Files application

To set up the M-Files application:

  1. Log in to Azure Portal at https://portal.azure.com.
  2. Select Microsoft Entra ID.
  3. If you have more than one tenant, select Manage tenants and select your tenant from the list of available directories.
  4. On your tenant's Entra ID page, go to Manage > Enterprise applications.
  5. Select New application.
    Result:The Microsoft Entra ID App Gallery is opened.
  6. Find and select the M-Files application.
  7. Select Create.
    Result:The application is added to your tenant. The application's Overview page is opened.
  8. Go to Manage > Provisioning.
  9. Select Provisioning again in the left-side navigation menu.
  10. Set Provisioning Mode to Automatic.
  11. In the Admin Credentials section:
    1. In Authentication Method, select OAuth2 Client Credentials Grant.
    2. Enter the data, that you copied after you saved the M-Files Manage configuration for user provisioning, to the related fields:
      • Tenant URL
      • Token Endpoint
      • Client Identifier
      • Client Secret
  12. Select Test Connection to start the connectivity test.
  13. In the Settings section, select Send an email notification when a failure occurs and enter the email address of a person or group who will receive the provisioning error notifications.
  14. Select Save.
Important: The necessary attribute mappings are already available. Do not make changes to them.

Next, you must select users and groups to provision and enable provisioning. Before that, you can specify additional attribute mappings to include additional user information to the information that is synchronized to M-Files Manage.

The next sub-sections tell you how to do these operations.

Selecting users and groups to provision

The last step is to select which users and groups to provision to M-Files.

  1. On the M-Files application's provisioning page in Microsoft Entra ID, select Provisioning in the left-side navigation again.
  2. In the Settings section, open the Scope drop-down menu and select whether you want to provision only the users and groups that you have set to be synchronized or every user and group in your tenant.
    If you do not see the Scope drop-down menu, refresh the page.
    OptionDescription
    Sync only assigned users and groups (recommended) Do step 3 to limit the scope of users and groups to be provisioned. Then, enable provisioning and save.
    Sync all users and groups Go directly to step 4. Enable provisioning and save.
  3. Optional: To limit the scope of users and groups to be provisioned, go to the Users and groups page in the M-Files application and do these steps:
    1. Select Add user/group.
    2. On the Add Assignment pane, select None Selected under Users and groups.
    3. Find and select the users and groups that you want to assign to the application.
    4. Select Select.
    5. On the Add Assignment pane, select Assign.
  4. Set Provisioning Status to On.
  5. Select Save.
The user provisioning is now configured, and the provisioning starts automatically. However, it can take up to 40 minutes before it is started. About 5,000 users per hour can be provisioned.

When user provisioning is completed, make sure that your users have correct external IDs. You can see the external IDs in Access control > Internal users in M-Files Manage. If there is something wrong with the IDs, refer to Plan and troubleshoot UserPrincipalName changes in Microsoft Entra ID in Microsoft Learn.

If there were not enough available licenses of the default license type in the subscription, some of the provisioned users are waiting for a license. You can see the number of users waiting for a license on the Home page of M-Files Manage. In the list of users on the Users page of M-Files Manage, users waiting for a license have a waiting tag in the License type column.

Monitoring your deployment

When you have configured user provisioning, use these Microsoft resources to monitor your deployment:
  • Use the provisioning logs to see which users have been provisioned successfully or unsuccessfully.
  • Check the progress bar to see the status of the user provisioning cycle and how close it is to completion.
  • If the user provisioning configuration seems to be in an unhealthy state, the application goes into quarantine. Learn more about quarantine states here.

Still need help?