I have to automate running UI tests remotely on a VM in Azure pipeline. I can't use build agent for it. I am using vsconsole.exe to execute the test cases.
Now when i run it, through sysinternals psexec, it fails because it need "Active Desktop".(Unable to load DLL 'rasapi32.dll': A dynamic link library (DLL) initialization routine failed.) Is something that i can do for automating that?