Monday 21 June 2021

update url that onpremise azure devops deployment agents connect to e.g. http -> https

 Have to remove and reconfigure.


  1. Remove the existing agent
    1. Look in the services snapin and locate the service, called something like ‘Azure Pipelines Agent (tfs.Group Name.ServerName)’
    2. Have a look at the properties and see where it is installed
    3. Run powershell as an admin
    4. Navigate to the above install location
    5. Service will uninstall, drop out off the tfs front end
  2. Make sure the server can connect to the internet i.e. put proxy settings into IE, cause it has to download some stuff
  3. Get the pool install command from the webfront end
    1. Go to collection Settings -> Deployment pools then click on the appropriate pool
    2. Click Details tab
    3. copy the powershell script

  4. Run the powershell script on the server
    1. When prompted for the authentication type 'integrated'
    2. When prompted for user press enter to use the default
  5. Go back to TFS front end, for each project that uses the deployment group, will need to add the tags to each server again
    1. Go into the project (from web)
    2. Go to Project settings -> Pipelines -> Deployment Groups
    3. Click on the deployment group
    4. On the Target tab add in a Tag for each of the servers


No comments:

Post a Comment