Overview
When using EntraID or Okta for user group synchronization plugin, it uses the User Principal Name (UPN) to create login accounts in M-Files.
A login issue may happen when the same UPN is not configured in the Federated authentication Account Claim settings. In most setups, the UPN and email address are the same, but there are exceptions and if they do not match the user(s) may be unable to log in.
For example:
- UPN: alexK@m-files.com
- Email Address: alex.kramer@m-files.com
In such cases, there is a possibility of login issues if you use “email” claim as AccountClaim setting in federated authentication settings.
Solution
Avoid using the email address claim as the AccountClaim in such cases in Federated authentication settings. Use upn or preferred_username that matches the account name in M-Files.
The references to the plugins in this context:
Importing User Information from Entra ID with the User Synchronization Plugin
