Overview
This article describes how M-Files handles disabling the login account of a user when the user is disabled in Azure or Local Active Directory.Please note that we have an open improvement related to this with ID 51481: "Disable M-Files login account for AD accounts that are set as disabled". So, in the case of local AD or legacy synchronization plugin, disabling the AD user does not effect the login account.
Solution
For local AD:
The user is disabled in M-Files when it is removed from the final AD synced user group. If the user has not been in any user group, disabling the AD user will not disable the user on M-Files side.For Azure AD:
For the two options detailed in the user guide, under User synchronization:https://www.m-files.com/user-guide/latest/eng/document_vault_authentication.html#document_vault_authentication
The first option, legacy plugin, behaves as Local AD.
The second option, SCIM based, is able to mark login accounts disabled as they are disabled on AAD side. The license, however, is not updated (removed).
