I have a Azure Pipelines (previously known as VSTS CI/CD pipelines) definition using Hosted Agent. There are cases when the build works locally but fails on hosted agent due to environment configuration differences. It will greatly improve troubleshooting experience if I can remote desktop to the Hosted Agent assigned to my job, like what AppVeyor does. Is it possible for Azure Pipelines as well?
5
votes
2 Answers
3
votes
2
votes
No, you can’t remote desktop to hosted agent, also the hosted agent may different for different builds/release.
You can refer to this article to check hosted agent software: Hosted agents
You also can setup a private build agent for the build: Deploy an agent on Windows