Lesstep
Azure Pipelines · agent pools · Checked November 9, 2026

Azure Pipelines: "No pool was specified"

The confusing case is a YAML file that clearly has pool:, a validation that still says no pool was specified, and the same error with another pool or with no pool at all. Then the YAML is usually not the problem: the pipeline itself has lost a setting.

Set the pipeline's Default agent pool for YAML

  1. Open the pipeline and choose Edit.
  2. In the menu with three dots at the top right, choose Triggers, then the YAML tab.
  3. Choose a pool under Default agent pool for YAML, and Save.

When the pipeline is a pull request's build validation, the pull request waits on it: Azure DevOps Pull Requests, a plugin for JetBrains IDEs, lists the pull request's branch policies with their state in IntelliJ IDEA, Rider or PyCharm, and with Pro runs a failed build policy again once the pipeline is fixed. Its Pipelines tab (version 1.0.86 and later) lists the runs of the repositories you have open and opens a failed task's log in the editor, free to read.

Other things to check

Similar messages about pools

Azure DevOps pull requests in IntelliJ IDEA, Rider and PyCharm

Azure DevOps Pull Requests, a plugin by Lesstep for JetBrains IDEs 2024.1 or later and Android Studio, reads the organization, project and repository from your git remote and lists the pull requests that wait for your review in an IDE tool window, on Azure DevOps Services and on Azure DevOps Server. It shows the branch policies of a pull request with their state, so a required build that has not passed is next to its pull request, and with Pro you run a failed or expired build policy again from there. The review inbox is free; voting, commenting, completing and creating are Pro, with a 30-day trial.

Get it on JetBrains Marketplace

Azure DevOps and Azure Pipelines are trademarks of Microsoft Corporation; IntelliJ IDEA, Rider and PyCharm are trademarks of JetBrains s.r.o. This page is not affiliated with or endorsed by Microsoft or JetBrains.

More: There was a resource authorization issue · No agent found in pool which satisfies the specified demands · Build validation · 日本語