migrate to new Marketplace Windows Server 2022 images under the new offer by 9 June 2026. Review the .NET 6 image

Farshad 45 Reputation points
2026-06-01T16:09:21.7366667+00:00

Hi

I received the following email from microsoft azure:

In October 2024, we communicated incoming changes for Marketplace Windows Server 2022 images. Aligned with that communication, on 9 June 2026 we’ll deprecate Marketplace Windows Server 2022 images preinstalled with .NET 6, which has reached end of support. Migrate to the new Windows Server 2022 images under the new offer (offerID=windowsserver2022) with the following SKU(s) to avoid disruptions:

  • 2022-DATACENTER
  • 2022-DATACENTER-AZURE-EDITION
  • 2022-DATACENTER-AZURE-EDITION-CORE
  • 2022-DATACENTER-AZURE-EDITION-CORE-SMALLDISK
  • 2022-DATACENTER-AZURE-EDITION-HOTPATCH
  • 2022-DATACENTER-AZURE-EDITION-HOTPATCH-SMALLDISK
  • 2022-DATACENTER-AZURE-EDITION-SMALLDISK
  • 2022-DATACENTER-CORE
  • 2022-DATACENTER-CORE-G2
  • 2022-DATACENTER-CORE-SMALLDISK
  • 2022-DATACENTER-CORE-SMALLDISK-G2
  • 2022-DATACENTER-G2
  • 2022-DATACENTER-SMALLDISK
  • 2022-DATACENTER-SMALLDISK-G2

I would be appreciated if somebody help me.

thanks

Farshad

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.


3 answers

Sort by: Most helpful
  1. Manish Deshpande 8,220 Reputation points Microsoft External Staff Moderator
    2026-06-01T16:48:05.3333333+00:00

    Hello @Farshad

    Thanks for reaching out — this is a great question and you're definitely not alone in receiving this notice. Let me walk you through what's happening and what you actually need to do.

    Microsoft has introduced a new Azure Marketplace offer for Windows Server 2022 (offer ID: windowsserver2022) that no longer includes .NET 6, which officially reached End of Life in November 2024. The old offer (WindowsServer) with .NET 6 pre-installed will be deprecated on June 9, 2026. After that date, your existing VMs will keep running just fine — but you won't be able to create new VMs, reimage, scale out a VMSS, or restore backups using those old image references.

    What you need to do

    The fix is straightforward: update your image reference to point to the new offer. The SKU names stay exactly the same only the offer ID changes.

    Here's what the updated imageReference looks like in an ARM template:

    "imageReference": {
      "publisher": "MicrosoftWindowsServer",
      "offer": "windowsserver2022",
      "sku": "2022-datacenter",
      "version": "latest"
    }
    

    Just swap out "WindowsServer" → "windowsserver2022" and use the same SKU name you were already using (e.g., 2022-DATACENTER, 2022-DATACENTER-AZURE-EDITION, etc.).

    Depending on your setup:

    • Standalone VMs — You can either reimage in-place via the Portal, Azure CLI, or PowerShell, or spin up a new VM from the updated image and migrate your data using disk snapshots or detach/attach.

    • VM Scale Sets (VMSS) — Update the image reference in your ARM template or CLI configuration and run a rolling upgrade. This one is more time-sensitive — VMSS scale-out from deprecated images will be blocked after the enforcement date.

    • If you use Automatic OS Upgrades — You're covered. It handles offer and SKU changes automatically, so no manual action is needed.

    A note on .NET 6

    If any of your applications still depend on .NET 6 at runtime, now is a good time to plan a migration to .NET 8 (LTS) or .NET 10. The new images won't bundle any .NET version at all, so you'd need to handle that deployment yourself going forward.

    Links :

    https://techcommunity.microsoft.com/blog/azurecompute/incoming-changes-for-window-server-2022-marketplace-image-users/4262423

    https://learn.microsoft.com/en-us/azure/virtual-machines/deprecated-images

    https://learn.microsoft.com/en-us/answers/questions/5906242/question-regarding-windows-server-2022-marketplace

    https://learn.microsoft.com/en-us/answers/questions/5895225/net-v6-deprecation-and-windows-server-2022-images

    Thanks,
    Manish.

    Was this answer helpful?

    0 comments No comments

  2. Farshad 45 Reputation points
    2026-06-01T16:46:42.0633333+00:00

    I have VM server 2022 with .NET 9.0. I think this VM will not be affected.

    Was this answer helpful?

    0 comments No comments

  3. AI answer

    2026-06-01T16:10:01.9166667+00:00

    The email is about deprecation of Azure Marketplace Windows Server 2022 images that come preinstalled with .NET 6. These images are being replaced by new Windows Server 2022 images under a new offer (offerID=windowsserver2022) that no longer include a bundled .NET runtime.

    Key points from the provided information:

    1. .NET 6 support timeline on Windows Server 2022 Marketplace images
    • .NET 6 reached end of support on November 12, 2024.
    • Microsoft continues to provide security updates for .NET 6 only within the Azure Marketplace Windows Server 2022 media for an additional 6 months, through May 13, 2025.
    • .NET 6 will then be removed from the Marketplace media. The documentation states this removal date as June 10, 2025, with a note that the date may move and a new date will be announced.
    • After removal, Windows Server 2022 Marketplace images will no longer include any .NET version by default (.NET 8 and later are not bundled with the image).
    1. Impact on existing and future VMs
    • Existing Windows Server 2022 VMs created from images that included .NET 6 will not automatically lose .NET 6; however, those images are being deprecated and will no longer be offered for new deployments.
    • New Windows Server 2022 images under the new offer (offerID=windowsserver2022) will not include .NET 6 or .NET 8 by default. Any .NET runtime required by applications must be installed and managed separately.
    1. Required actions
    • Applications currently relying on the preinstalled .NET 6 runtime on Windows Server 2022 images must:
      • Upgrade to .NET 8 to remain on a supported runtime. Microsoft explicitly states that to stay supported, workloads must move to .NET 8 before the .NET 6 end-of-support date.
      • Adjust deployment processes so that .NET is installed as part of the application or VM provisioning, because future Windows Server 2022 images will not include .NET.
    1. Recommended tools and guidance
    • For upgrading and deploying .NET applications on the new images:
      • Use Azure Pipelines guidance for building, testing, and deploying .NET apps: “Build, test, and deploy .NET Core apps - Azure Pipelines”.
      • Use .NET Upgrade Assistant to help migrate applications from .NET 6 (or earlier) to .NET 8: “Overview of the .NET Upgrade Assistant - .NET Core”.
    1. Practical migration approach
    • Create or select new Windows Server 2022 VMs from the new offer (offerID=windowsserver2022) and the appropriate SKU (such as 2022-DATACENTER or 2022-DATACENTER-AZURE-EDITION, etc.).
    • As part of VM provisioning (ARM/Bicep, Terraform, Azure Portal, or custom scripts):
      • Install the required .NET runtime (preferably .NET 8) explicitly.
      • Deploy and validate the application against the new runtime.
    • Once validated, migrate workloads from the old VMs (based on the deprecated .NET 6-preinstalled images) to the new VMs.

    This ensures compliance with the .NET 6 end-of-support policy and avoids disruption when the old Windows Server 2022 images are deprecated and removed from Azure Marketplace.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer 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.