In 5.7 there was no "connect as" option in the server link screen in EM Desktop as this option came with the new server user management. In 5.8 I noticed that If I close my desktop, Easymorph remembers how I have lastly connected (my login + the method which is Active Directory in my case). If I disconnect, there is an error message and Easymorph forces me to connect.
The question is : where is this choice stored ? It does not seem to be inside EasyMorph.config.xml like all the other options. Usually when we package EM Desktop in our company, we do something to "prepare" this config file so that the users don't have to configure the server link. But in 5.8 I don't see how I can act on this connection properties. In my case authentication will always be Active Directory and we would like the "connection" to be automatic, without any click.
Since this choice is considered sensitive data (both the selection type and credentials), it's stored in encrypted form per user and cannot be viewed or modified by any external party.
Currently, there is no built-in way to achieve this. However, you might be able to use the auto sign-in migration feature we introduced when we added the concept of users on EasyMorph Server. The Desktop version has an initial transition migration that occurs once. This migration checks if there is an available Active Directory connection for the active ServerLink. If it is present, it automatically creates a session for the Desktop user. This might solve your problem.
The indicator that the migration was run can be found in the EasyMorph.config.xml file, specifically in the <Migrations>...</Migrations> section. You can try deleting the specific migration entry <Migration>2024-08-28 581.DesktopActiveDirectoryAutoSignIn</Migration> to see if Desktop behaves as you need on a fresh install with this configuration.