Creating a New Client Secret

Sometimes it can be necessary to create a new client secret because you cannot see its value after the client secret has been created and you have closed the dialog where it is shown. When you create a new client secret, M-Files Manage also creates a new client ID.

Important: Creating a new client secret disables user provisioning. This is because the previous client secret becomes invalid. To enable user provisioning, you must enter the new client secret and client ID to the M-Files app configuration in Microsoft Entra ID.

To create a new client secret for an Entra app gallery user provisioning configuration:

  1. Log in to M-Files Manage at https://manage.m-files.com.
  2. Go to Provisioning > Configuration.
  3. In the Configurations section, find the correct configuration for user provisioning.
  4. Click Create new client secret.
  5. In the confirmation dialog that is opened, click Create.
    Result:M-Files Manage creates new client secret and client ID.
  6. Click the copy icon () for both values that M-Files Manage created and note down the values.
    Note: The client secret is not shown anywhere else when you close the dialog.
To update the values in Entra ID:
  1. Log in to Azure Portal at https://portal.azure.com.
  2. Click Microsoft Entra ID.
  3. If you have more than one tenant, click Manage tenants and select your tenant from the list of available directories.
  4. On your tenant's Entra ID page, go to Enterprise applications.
  5. In the applications list, find and select the M-Files application.
    Result:The application's Overview page is opened.
  6. Go to Provisioning and click Edit Provisioning.
  7. In the Admin Credentials section, enter the new client ID and client secret.
  8. Click Save.
The client secret and client ID in M-Files and Entra ID now match, and user provisioning is enabled.