Azure Pipelines: "A task is missing. The pipeline references a task called 'X'"
Tasks are installed per Azure DevOps organization, and Microsoft's page on tasks says a pipeline can only use the tasks and task versions that exist there. When a step names one that does not, the run stops, and each missing task gets its own message.
What it looks like
A task is missing. The pipeline references a task called 'Cache'. This usually indicates the task isn't installed, and you may be able to install it from the Marketplace: https://marketplace.visualstudio.com. (Task version 2, job 'compile_ci_build', step ''.)
A task is missing. The pipeline references a task called 'ManualIntervention' with version '0'. This indicates that the specific task version can not be found. (job 'WaitForApproval', step ''.)
- The first form means no task by that name; the second, a name that exists but not in that version.
- When the name is an ID such as
a8515ec8-7254-4ffd-912c-86772e2b5962, the definition refers to the task by its ID, as in pipelines that a project template created; the task belongs to an extension. - The Stack Overflow questions on it for Azure Pipelines have been opened about 43,000 times; the top one 31,000.
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.
The task comes from an extension that is not installed
- Tasks such as Replace Tokens, a Cucumber report or a SonarQube analysis come from extensions in the Visual Studio Marketplace. A pipeline copied from another organization or from a blog post brings the step, not the extension.
- Find the task's extension on the Marketplace and install it in your organization. Microsoft's page on installing extensions says this takes a member of Project Collection Administrators (organization owners are), and that others can request the extension instead.
Built-in or Marketplace tasks are turned off
If even Bash, PowerShell or UsePythonVersion is missing, look at Organization settings > Pipelines > Settings > Task restrictions. Microsoft's page on tasks says built-in tasks, Marketplace tasks, or both can be turned off there; with both off, only tasks uploaded with the Node CLI for Azure DevOps remain.
A classic-only task in YAML
ManualIntervention is for classic release pipelines; its reference page sends YAML to the Manual Validation task, ManualValidation@1, in an agentless job (pool: server).
A version your organization or server does not have
- After the
@you normally give the major version, such asPublishTestResults@2. A full version such asGoTool@0.3.1pins a minor version, and only works if that exact version exists;Npm@1.124.1on one question did not. Go back to the major version. - On Azure DevOps Server, the built-in tasks are the ones that came with your server version. A task or major version from Microsoft's current task reference may not be there; the task assistant in the YAML editor lists what your server has.
The tasks retired on November 24, 2026
Microsoft's retirement announcement (updated October 28, 2026) lists built-in task versions that Azure DevOps Services retires on November 24, 2026. From then on a pipeline that uses one shows a retirement error that does not fail the run; on March 15, 2027 the tasks are removed and the pipelines that still reference them fail. Azure DevOps Server gets its own schedule. Some of the common ones (all 73 with their replacements, and a search for your YAML):
CmdLine@1→CmdLine@2;PowerShell@1→PowerShell@2;CopyFiles@1→CopyFiles@2;ArchiveFiles@1→ArchiveFiles@2DotNetCoreCLI@0and@1→DotNetCoreCLI@2;DotNetCoreInstaller@0and@1→UseDotNet@2NuGet@0,NuGetInstaller@0,NuGetPackager@0,NuGetPublisher@0,NuGetRestore@1→NuGetCommand@2(andNuGetToolInstaller@1)Maven@1and@2→Maven@4;Gradle@1andAndroidBuild@1→Gradle@4AzureCLI@0→AzureCLI@3;AzurePowerShell@1→AzurePowerShell@5;AzureRmWebAppDeployment@2→AzureRmWebAppDeployment@5CacheBeta@0→Cache@2;DownloadPipelineArtifact@0→DownloadPipelineArtifact@2;Xcode@2,@3and@4→Xcode@5- The Xamarin and App Center tasks have no task replacement: the announcement points to .NET for Android and iOS, .NET MAUI, and the store extensions.
Search your YAML for these names now: a new major version can have different inputs, and the announcement asks you to test the change before the removal date.
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: is dependent on a Node version (10) that is end-of-life · No agent found in pool which satisfies the specified demands · Unexpected symbol or Unrecognized value within expression · 日本語