Deprecated Images in Microsoft VM and VMSS

Ramakrishna Abhijeet P 70 Reputation points
2024-02-20T15:40:44.5033333+00:00

I need to know which Sku are going to deprecated from Azure.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,146 questions
Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
347 questions
{count} votes

1 answer

Sort by: Most helpful
  1. kobulloc-MSFT 23,491 Reputation points Microsoft Employee
    2024-02-20T16:07:51.1433333+00:00

    Hello, @Ramakrishna Abhijeet P !

    Which VM images are scheduled for deprecation?

    You may receive an email telling you that one of your VMs is running on an image that will be or has been deprecated. If you haven't received an email, you can perform a search using Azure Resource graph, Azure CLI, or PowerShell:

    https://learn.microsoft.com/en-us/azure/virtual-machines/deprecated-images#how-can-i-identify-the-virtual-machines-and-virtual-machine-scale-sets-in-my-subscription-that-are-running-on-images-that-are-scheduled-for-deprecation

    Azure CLI example:

    List VM with deprecated image at Plan/SKU level.

    az vm show --resource-group $rgName --name $vmName --query "storageProfile.imageReference.exactVersion

    az vm list --query "[?storageProfile.imageReference.sku=='2016-Datacenter'].{VM:id, imageOffer:storageProfile.imageReference.offer, imagePublisher:StorageProfile.imageReference.publisher, imageSku: storageProfile.imageReference.sku, imageVersion:storageProfile.imageReference.version}" List VM with deprecated image at version level.

    az vm list --query "[?storageProfile.imageReference.version=='14393.4402.2105052108'].{VM:id, imageOffer:storageProfile.imageReference.offer, imagePublisher:StorageProfile.imageReference.publisher, imageSku: storageProfile.imageReference.sku, imageVersion:storageProfile.imageReference.version}"

    Before the scheduled deprecation date, you can continue to deploy new VM or scale set instances up until the deprecation date.

    After the scheduled deprecation date, you won't be able to deploy new instances using the affected images.

    • Active VM instances won't be impacted.
    • New VM instances can't be created from any of the impacted images.
    • Existing virtual machine scale sets deployments can't be scaled out if configured with any of the impacted images. When a plan or offer is being deprecated, all existing scale sets deployments pinned to any image within the plan or offer respectively can't be scaled out.

    You can read more in the deprecated images FAQ:

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


    I hope this has been helpful! Your feedback is important so please take a moment to accept answers.

    If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A! User's image