5
votes

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?

2
Do you clear it?starian chen-MSFT

2 Answers

3
votes

I don't think that at this moment, you can RDP into the Hosted Agent.

The best you can do is to use powershell to dump all the configuration that is needed and the debug with that info on hand.

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