This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

M-Files Desktop Client with Azure AD Login

Hi fellows

I set up a new M-Files Server with Azure AD User synchronization (works fine) and set up a Federated Authentication with Azure AD in the Vault Configurations.

Unfortunately, although I used the same Azure AD app and added the respective Web URI's as well as used exactly the same JSON Code in the vault configuration, it does not work properly.

I also adjusted the DNS Configuration in the windows registry.

When adding the vault in the M-Files Desktop Client, the Microsoft Login prompt appears and I can log in. Vaults appear and I can add my desired vault. Everything works fine so far.

However, when I try to open the newly added vault, the normal M-Files Login prompt appears. 

M-Files Web and M-Files Mobile works fine. So it does not seem to be a login problem, but only using the M-Files Desktop, somehow the prompt does not appear.

I use the newest M-Files version.

Any ideas?

Kind regards,

Dario

Parents
  • Hi Darlow, is it possible to share the JSON that you used?
    Off course obfuscating the clientid's and secrets.

  • Hi there

    Of course, see below:

    Copy it as a picture now since my code is reported as Spam...

    I didnt use the integrated MF AD functionalty, but created my own configuration with a own created Azure App.

    It is really strange for me since the authentication and adding a vault in the client works well, but then when trying to log in the respective Microsoft window does not appear.

    Kind regards,

    Dario

  • You have "EnableLogging": "true" in the configs, have you checked the Windows logs to see if there's any additional information there when you try to log in? You should be able to see how far in the OAuth process does it get and if there's some error. Check the logs on both the client computer and the server.

  • Hi Joonas

    When I add the vault, there is no error, just an information.

    When I want to log in into the newly created vault, there is no error/info at all in the event log. I checked it using the MF client on the server (connecting through https). Somehow, M-Files does not even trigger the authentication I think, which is also why the MF login prompt appears and not the Microsoft one.

Reply
  • Hi Joonas

    When I add the vault, there is no error, just an information.

    When I want to log in into the newly created vault, there is no error/info at all in the event log. I checked it using the MF client on the server (connecting through https). Somehow, M-Files does not even trigger the authentication I think, which is also why the MF login prompt appears and not the Microsoft one.

Children