All Articles

Building Self-Service Pipeline to Deploy Self-Hosted Environment Agents on Azure Workloads

A while a go, I wondered how I can create a self-servicing capability to deploy self-hosted environment agents onto my Azure Workloads and thought, why not use the same tool that’s responsible for targeting those environments?!

That’s where I started fiddling around with the Azure DevOps Services REST API and created automation around it to create the required Personal Access Token (PAT) that’s needed for installing an environment agent. This led me to create three articles that does it in phases. If you want to follow these phased tutorials, start your journey on:

  1. The Token Phase, that is responsible for retrieving the PAT through Azure DevOps Services REST API
  2. Creating the pre-pipeline phase
  3. In the end, bringing everything together into one single pipeline