YAML: Using a Private Pool in Build definition | AzureDevOps

Generally the default YAML uses the Azure pipelines agent and you may need to change it.So instead of something like this

To use a private agent, use the one below

pool: DefaultMyPool


I am an Azure DevOps expert who has worked on TFS/Azure DevOps from 2012 as part of my job.