Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/System setup and customization/Environment setup and maintenance/Security and authentication

M-Files Error Message: "No credentials are available in the security package" (Possible Workarounds Exist)

Last updated on 22 December 2022

Admin

Overview

When a user tries to log into a vault, they get the following error:

No credentials are available in the security package

This may happen to only one or a few users and may happen as soon as they log onto their computer if the "Log in automatically when Windows is started" checkbox is selected in the vault connection settings.

Usually, the user will be prompted to enter their credentials again and that will work. If they are not prompted, opening the vault again is likely to prompt for credentials and entering them should let the user use the vault.

This article lists ideas you can try to solve or work around this issue, and a list of information to provide to M-Files support if you cannot solve it and need to open a ticket.

Ensure Correct Login Exists

Make sure that the problematic user has entered correct credentials and that they match an active M-Files login account on the server.

If the login accounts come from a federated authentication service like Active Directory or Azure Active Directory, check if the user has changed their credentials recently, having them log out and log back into Windows can resolve the error with credentials not being active on the server.

If domain credentials are used, ensure that both the client and the server are connected to the same domain controller. If they are connected to different domain controllers, ensure that both allow the same login with the same credentials.

In case of domain credentials, ensure that the correct domain is present in the Windows login prompt. For example, the username should be something like "MyDomain\MyUser" rather than just "MyUser".

Client Connection Fix / Workarounds

You can try the following steps on the problematic client machine to see if they help the user to connect normally.

If the user can still log in (sometimes it is possible after a few tries), make sure to first have them check-in important work to ensure they do not lose any data.

  • Clear the local cache of the vault (this will cause any objects which have not been checked in to be permanently lost!): https://www.m-files.com/user-guide/latest/eng/Clear_local_cache.html
  • Remove the user credentials from the Windows Credential Manager if they exist there. Restart the machine. The next time they log in, they should be prompted for credentials and entering them correctly should let Windows store them correctly in case there was a problem with the stored credentials.
    • It is important that the user credentials appear in the Windows Credential Manager.
    • They are sometimes lacking the password (which can cause the error) if the user logs onto their computer via a PIN or other MFA method, but without entering their password.
    • Have the user log out and log in to Windows by typing in their password.
    • Using OAuth for authentication may help as it may put credentials in Windows even if the user logs in through other systems (web client for M-Files), or it may add them the first time the user is asked to log into the vault.
  • Try removing and adding back the vault connection, however, note that this may cause all objects not checked in to be lost. Be sure to take a note of the connection properties before removing the old connection. Do not create two connections to the same vault for the same M-Files user. https://www.m-files.com/user-guide/latest/eng/adding_a_vault_connection.html?hl=add%2Cvault%2Cconnection

Further Help

If the suggestions above do not help to resolve the issue and you need to contact M-Files support, please include in your post:

  • The results from trying the ideas above.
  • The answers to the following questions:
    • Was the access and logging working before properly? If yes, what has changed?
    • What is the version of the Windows OS where the M-Files server is running?
    • What is the exact version of the M-Files client and M-Files server?
    • How is the M-Files Client communicating with the M-Files server? What is the protocol and connection type specified in M-Files Desktop settings (HTTPS, TCP/IP, gRPC, etc.)?
    • Does the Test Connection to document vault succeed from the M-Files Desktop Settings?
    • What login authentication is used for the affected user - Windows or M-Files?
    • What kind of user is the affected user - administrator or a normal user?
    • What values does the M-Files server have in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa registry key location for the "Security Packages" key name?

Still need help?