Can't deploy a pipeline on dev ops because MS Server 2019 has been phased out.

James Al7 40 Reputation points
2025-11-24T01:19:54.3833333+00:00

Hello all,

Is there a way to change the agent specification for Microsoft Hosted Agent?

Thanksimage 1

image 3

image 2

Azure DevOps
0 comments No comments
{count} votes

Answer accepted by question author
  1. Siddhesh Desai 655 Reputation points Microsoft External Staff Moderator
    2025-11-24T07:55:13.7466667+00:00

    Hello @James Al7,

    Windows Server 2019 has been removed and deprecated from 30th June 2025, Refer this MS Document:

    https://learn.microsoft.com/en-us/azure/devops/release-notes/2025/pipelines/sprint-256-update#windows-server-2019-hosted-image-deprecation-schedule

    In order to select another Agent Specification and Image, Refer the steps below:

    Edit your Release Pipeline > Go to Tasks > Agent Job > In Agent Pool > Select Azure Pipelines > In Agent Specification > Select windows-2022 or windows-latest > And Click on SaveUser's image If you want to make this change in the yaml pipeline, Change the Image to windows-2022,2025 or latest like below:

    trigger:
    - main   # or your branch name
    pool:
      vmImage: 'windows-2022' or vmImage: 'windows-latest'
    
    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.