How to do it...

To create an Agent Pool, perform the following steps:

  1. Open the Azure DevOps site, for example, <your domain / tenant>.visualstudio.com, and open your project.
  2. Click on the Project settings button on the bottom left of the screen, as follows in the following screenshot:

  1. On the list that pops up, select Agent Pools.
  2. On the Agents Pools page, click on Add pool.
  3. The name should relate to the project; in my case, I chose B13960-AX7DEVR2. Choose a name that is short and makes it easy to determine which project the pool is for.
  1. Uncheck Grant access permission to all pipelines and click on OK. We don't want any existing pipelines to assume access to this pool; we want to have finer control in SCM build servers.
  2. We won't create an Agent at this stage as this is done from the build server.