Overview
When you enable Entra ID authentication either via document vault properties or via Login Service, one or two Entrerprise Applications are pushed into your Entra ID tenant. When the applications are pushed into the tenant, you are prompted to log in to your tenant. If you log in with an account that has administrator rights in your Entra ID tenant, then you can grant the applications permission on behalf of all users in your organization to read the users' data from Entra ID.
However, if you do not have access to an Entra ID admin account while pushing the enterprise applications to your Entra tenant, each individual user will have to give their personal consent for the applications to read their data during their first login to M-Files. This may cause confusion and concern to the end users, as we are dealing with a security related issue.
This article gives instructions on how to grant admin consent for the enterprise applications after they have been pushed into your Entra tenant with an account that does not have administrator rights in Entra ID.
Solution
To grant admin consent for an enterprise application that has already been pushed in to Entra ID:
- Go to Enterprise Applications list.
- Access the settings of the M-Files enterprise application that you want to grant access to.
- In the application's settings, go to Security > Permissions.
- Click "Grant admin consent for <directory name>".
- Click through the dialogues that pop up.
The added permissions will not be visible on the application's Permissions page in Entra ID until you refresh the page.
To help you find the correct application from Entra ID, the Application IDs for M-Files enterprise applications are listed below:
- M-Files Login Service has one application: 2187fbc3-ed77-4426-887c-5f02b1ebfafd
- Entra ID authentication enabled via vault properties has two applications:
- 59c4c9ec-8908-4baa-87ad-9c60e829c184
- fad6d532-adcb-4214-85b2-b3e431c68894
