TestExecute: Setting up interactive/auto-logon agent for pipeline testing
I am trying to get tests to run in an Azure pipeline and am running into an issue when running from the pipeline, the agent isn't starting.
If I manually log into the build machine, the agent auto starts and everything works fine.
But I need it to do this automatically via the pipeline tasks.
I see this in the docs and this is currently set up but it won't start automatically:
If you use Team Foundation Server 2018 or later, you can run the agent with the auto-logon enabled. In this case, when the machine where the agent is installed starts, the agent launches and opens an interactive user session on the machine automatically. You enable the auto-logon and specify the user account that will be used to open user sessions when you configure your agent. For detailed information on how to configure agents, see docs.microsoft.com/en-us/azure/devops/pipelines/agents/.
Has anyone encountered this? What can I do?