Problem: When launching the desktop app from PAS admin portal > Desktop Apps, the connection is built successfully but login credential cannot be populated into the login window. For example, the SQL Management Studio is launched while the connection is stuck as no password filled in automatically.
Cause: When deploying the Desktop App there is a command line defined to send out the user name, password, server name and instance name to remote desktop service. e.g. -S {database.FQDN}\{database.InstanceName} -U {user.User} -P {user.Password} If the SQL Management Studio application is not configured to accept this command line then the login credential cannot be filled into the login window automatically.
Resolution: Navigate to the RDS > Connections > the connection name > REMOTEAPP PROGRAMS > published application, e.g. SQL Server Management Studio. Then right click on the published application name to open Properties, go to Parameters then enable option 'Allow any command-line parameters'.
Publish the SQL Server Management Studio application to your remote desktop collection.
Configure SQL Server Management Studio application parameters to Allow any command-line parameters. This enables theInfrastructure Services command line functionality.