When you create a new Agent Pool in Azure DevOps, you get the following options that can be selected:
- Auto-provision corresponding agent pools in all projects
- Allow all pipelines to use this pool
The second option is kind-of self explaining but what does the first option do?
What’s important to understand is that an agent pool exists at multiple levels, you have one at the organization level and you have one at the project level. The project level pool is not really a new pool but rather an import of the organization level agent pool into your team project. Your Azure pipelines will always target the project level pool.
By selecting the ‘Auto-provision corresponding agent pools in all projects’ checkbox(which is checked by default) the organization agent pool is imported in all your team projects and is accessible there immediately. If you didn’t set this checkbox, you have to import the organization agent pool yourself.
Therefore go to Project Settings > Agent Pools and click on New Agent Pool…
If you select here the ‘Base it on an existing organization agent pool’ option you can import the organization queue yourself.