Azure Pipelines Ubuntu 20.04 hosted image is retired
Removed as of 2025-04-30. Replacement: ubuntu-22.04, ubuntu-24.04, or ubuntu-latest. Source: Upcoming Updates for Azure Pipelines Agents Images.
Check a version:
evergreen check pkg:generic/azure-pipelines/ubuntu-image
The Ubuntu 20.04 hosted image was fully removed on 2025-04-30, per the Azure DevOps blog deprecation plan. The Microsoft-hosted agents page lists that image as retired.
Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>
| Status | Removed |
| Severity | high |
| Ecosystem | ci-images |
| Component | pkg:generic/azure-pipelines/ubuntu-image |
| Affected versions | vers:intdot/20.04 |
| Date from the source | 2025-04-30 |
| Replacement | ubuntu-22.04, ubuntu-24.04, or ubuntu-latest |
| Evidence last seen | 2026-10-21 |
| Reviewed | 2026-10-21 by arminazimi |
| Review due | 2027-10-21 (365 days after the last review) |
| Rule ID | ci-images.azure-pipelines.ubuntu-20.04 |
Sources
- Upcoming Updates for Azure Pipelines Agents Images (accessed 2026-10-21)
- Microsoft-hosted agents for Azure Pipelines (accessed 2026-10-21)
Migration
Constraints
- Change only Microsoft-hosted pool.vmImage labels. This removal does not apply to self-hosted Ubuntu 20.04 agents.
- The Ubuntu 20.04 notice names ubuntu-22.04, ubuntu-24.04, or ubuntu-latest. ubuntu-22.04 is scheduled for removal on 2027-04-17, so prefer ubuntu-24.04 or ubuntu-latest when the workload allows it.
Steps
- Retarget the hosted image. Change the reported pool.vmImage from ubuntu-20.04 to ubuntu-24.04 or ubuntu-latest (the notice also allows ubuntu-22.04; see the replacement).
- Align other Azure Pipelines pools. Update every other azure-pipelines.yml pool, including stage and job pools, that still pins ubuntu-20.04. Leave self-hosted pool names unchanged.
Verification
gitlab-ci-lint || circleci config validate: Lint .gitlab-ci.yml with gitlab-ci-lint, or .circleci/config.yml with circleci config validate, when the repository has that file. Azure Pipelines has no equivalent local validator: queue the pipeline and confirm the job uses the replacement vmImage.
Detected by
The ci-images detector. See Detectors and Compatibility.
Related
Other versions of this product
Same ecosystem
- Azure Pipelines macOS 13 Ventura hosted image is retired
- Azure Pipelines macOS 14 Sonoma hosted image is scheduled for removal on 2026-11-23
- Azure Pipelines Windows Server 2019 hosted image is retired
Data
This page is generated from registry/ci-images.json, rule ci-images.azure-pipelines.ubuntu-20.04, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.
Last updated