Reconfigure agents to connect to a new public url for TFS

Pieter Gheysens
Mar 26, 2019 · 1 min read

In case the public url changes for your connection to a TFS on-prem environment, you might have a lot of work to reconfigure all connected agents.

Image for post
Image for post

Recently I was guiding a customer to expose their TFS environment only via https instead of http and for that reason all existing agents had to be reconfigured. Instead of running the configuration wizard manually for all agents, there’s a better/faster approach to accomplish this.

Scan for the .agent and .credentials files and update the serverUrl and authorizationUrl values.

Afterwards, just restart the service(s) and all agents will reconnect to the TFS environment, ready for picking up the next build/release requests.

Into ALM

Blogging About Application Lifecycle Management with…

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store