Overview
Azure AD authentication in On-Premises environments can be configured in quite a similar manner as in M-Files' cloud environment. Still, there are some caveats to be considered before starting the configuration. This article will describe the options and their pros and cons.Options
There are three options to configure Azure AD in On-Premises environment. The most notable thing to consider is whether we want to enable Azure AD for M-Files Web and Mobile, because their configuration needs to be done completely manually (Option 3).Option 1. Activate vault level logins + select "Use Azure AD for authentication" and "Allow Users and user Groups to be synchronized from Azure AD to M-Files" options in M-Files Admin tool > Vault Properties > Authentication.
This is the easiest way and does not need any plugin installations. On the other hand, it does not support Web or Mobile as is. This option also requires that you have a Premium Subscription in Azure AD.
This registry setting manages whether vault level login accounts are in use on server or not:
| Key | HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server\MFServer |
| Value name | EnableVaultLoginAccounts | |||||
| Value type | REG_DWORD | |||||
| Description | Enables or disables vault-specific login accounts. | |||||
| Default value | 0 | Vault-specific login accounts are disabled. | ||||
| Valid values |
| |||||
Option 2. Use Azure AD Synchronization Plugin without vault level logins for user sync and enable Azure AD authentication from vault properties, as in Option 1.
In this option you don't have to use vault level logins and you don't need to have a Premium subscription in Azure AD, but again you lose Web and Mobile interface with the basic settings.
Configuring Azure Active Directory Synchronization Plugin
Option 3. Full manual configuration with the Azure AD Synchronization plugin.
With this option you can enable Web and Mobile, but there is no automation in the configuration as with the options above.
Federated Vault Authentication with Azure Active Directory.pdf
