Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The pipelines team is upgrading the agent software from version 4.x to version 5.x (using .NET 10). We highly recommend upgrading your agents to version 5.x.
Note
The Windows ARM64 agent is now available in public preview for Windows 11. For more information, see the supported operating systems section.
Upgrade to 5.x agent on supported operating systems
If you're running self-hosted agents on newer operating systems supported by .NET 10, the upgrade to the new agent version is automatic if any feature or tasks require a newer version of the agent software.
To manually initiate the update, see Update self-hosted agents.
The following operating systems are supported by the 5.x agent.
Note
See .NET 10 - Supported OS versions for the full list of operating systems.
- Linux
- x64
- Debian 13 and 12
- Fedora 44, 43, and 42
- openSUSE Leap 16.0
- Red Hat Enterprise Linux 10, 9, and 8
- SUSE Enterprise Linux 16.0 and 15.7
- Ubuntu 25.10, 24.04, and 22.04
- Azure Linux 3.0
- CentOS Stream 10 and 9
- Oracle Linux 9 and 8
- ARM64
- Debian 13 and 12
- Fedora 44, 43, and 42
- Red Hat Enterprise Linux 10 and 9
- Ubuntu 25.10, 24.04, and 22.04
- Alpine x64
- Alpine Linux 3.23, 3.22, 3.21
- x64
- macOS
- x64
- macOS 14.0 "Sonoma"
- macOS 15.0 "Sequoia"
- macOS 26.0 "Tahoe"
- ARM64
- macOS 14.0 "Sonoma"
- macOS 15.0 "Sequoia"
- macOS 26.0 "Tahoe"
- x64
- Windows
- x64
- Client OS
- Windows 10
- 21H2, 1809
- Windows 11
- 26H1, 25H2, 24H2
- Windows 10
- Server OS
- Windows Server 2025, 2022, 2019, 2016, 2012 R2, 2012
- Client OS
- ARM64 (public preview)
- Client OS
- Windows 11
- 26H1, 25H2, 24H2
- Windows 11
- Client OS
- x64
Upgrade to 5.x agent on unsupported operating systems
If you're running your self-hosted agents on an operating system that doesn't support .NET 10, you must update your machines to use a newer supported operating system supported by .NET 10. After updating, see Update self-hosted agents for instructions on how to update your agents to the 5.x version.
The following operating systems support self-hosted 4.x agents, but aren't supported by .NET 10 and can't be used to run version 5.x agents.
- Linux
- x64
- Fedora 39 and 40
- openSUSE 15.5 and 15.6
- SUSE Enterprise Linux 15.5
- Alpine x64
- Alpine Linux 3.17 to 3.20
- x64
- macOS
- x64
- macOS 13.0 "Ventura"
- ARM64
- macOS 13.0 "Ventura"
- x64
- Windows
- Client OS
- Windows 10
- 1607
- Windows 11
- 23H2, 22H2, 21H2
- Windows 10
- Client OS
Note
The previous list is a partial list of commonly used operating systems that don't support .NET 10 and the 5.x agent. See .NET 10 - Out of support OS versions for the full list of operating systems that are out of support for .NET 10.
FAQ
What's the difference between the 4.x and 5.x agents?
The 4.x agents use .NET 8, and the 5.x agents use .NET 10.
How can I check if my agents can upgrade to 5.x?
Compare the operating system of your agent with the supported list from the previous Upgrade to 5.x agent on supported operating systems section.
You can also use a script to predict whether the agents in your self-hosted pools can upgrade to 5.x.
How will security issues in the agent be patched going forward?
In general, previous versions of the agent software don't receive patches. Only the 5.x agents get patches. However, some Azure DevOps Server customers still rely on 4.x agents. So, the product team reviews security issues on a case-by-case basis to decide.
What do I need to do when I'm on an unsupported OS?
Migrate to a newer operating system that .NET 10 supports. Otherwise, your agent might attempt to upgrade, and it fails as .NET 10 can't be installed on your OS. The product team will publish some guidance in a follow-up blog post that prevents auto-upgrades of the agent. However, that guidance is only meant to be a temporary solution to give you more time to upgrade your agent machines.
Can I stay on 3.x or 4.x agents if I'm not working on any changes in my project anymore?
No. The pipelines team regularly adds new features to Azure Pipelines, and some of those features might require an update to the agent even though your pipeline doesn't explicitly depend on that feature. When you prevent auto-upgrades of the agent by using the guidance in a follow-up blog, that agent can't be used to schedule the pipeline. If no agent with the required capabilities can be found, the pipeline execution fails.
Do I have to install .NET 10 before installing the 5.x agent software?
You don't have to install .NET 10 on your agent machine before installing and configuring the 5.x agent software. All .NET dependencies the 5.x agent requires are part of the agent itself.
Do I have to build my code using .NET 10 if I'm using the 5.x agent?
The version of .NET used to run the 5.x agent is self-contained in the agent installation and isn't used to build your code. The version of .NET that is used to build your code depends on the pipeline and the version or versions of .NET you have installed onto your agent machine.
I use Azure DevOps Server and not Azure DevOps Services. Does this change impact me?
The latest version of Azure DevOps Server uses the 4.x agent software.
The pipelines team recommends that you update your agent machines to newer operating systems that .NET 10 supports starting now, if you plan to keep up with the Azure DevOps Server releases in the future.
Does Azure DevOps Server support the 5.x agent?
Azure DevOps Server versions support the version of the agent that is deployed with that version. The latest version of Azure DevOps Server uses the 4.x agent software.
| Azure DevOps Server version | Agent version |
|---|---|
| Azure DevOps Server | 4.x |
| Azure DevOps Server 2022.2 | 3.238.0 |
| Azure DevOps Server 2020.1.2 | 3.225.0 |
| Azure DevOps Server 2019.1.2 | 3.225.0 |
Note
Azure DevOps Server 2020 and higher support the 5.x agent software through updates. When those updates are released, this article is updated with the corresponding agent version.
Azure DevOps Server is serviced through security or servicing patches that provide targeted cumulative bug fixes for existing features in the product. For the best and most secure product experience, use the latest, most secure release of Azure DevOps Server. You can download the latest version of the product from the Azure DevOps Server download page.
After installing an Azure DevOps Server update or new version, update your agents.
What is the timeline for agent version 5 deployment?
Agent version 5.x is releasing in 2026.
What happens when a task requires an agent to be updated to agent version 5?
Normally, when a task requires a newer version of the agent, the agent automatically updates itself. For now, while agent version 4 continues to be updated, auto update from agent version 4 to agent version 5 is disabled. Once it's enabled, for operating systems that aren't compatible with agent version 5, agent version 4.x doesn't attempt to update itself to the v5 agent. Instead, a warning is shown informing users they need to upgrade the operating system first: The operating system the agent is running on is <OS>, which will not be supported by the .NET 10 based v5 agent. Please upgrade the operating system of this host to ensure compatibility with the v5 agent. See https://aka.ms/azdo-pipeline-agent-version