Hello, @James Nelson !
Is there a deprecation date for the Azure image of Windows Server 2012 R2?
Outside of the Windows Server 2012 R2 end of support on October 13th, 2023 announcement, I have not seen any specific Azure image announcements however Windows Server 2012 is no longer included in the list of Windows Server editions in the documentation so I wouldn't expect for it to remain available for a long period of time.
You can check for Azure images that are scheduled for deprecation using Azure Resource graph:
Example:
resources
|where type == "microsoft.compute/virtualmachines"
//| where properties.storageProfile.imageReference.publisher =~ 'Windows' //optional filter, uncomment this line to filter for a specific publisher.
//| where properties.storageProfile.imageReference.sku =~ '2016-Datacenter' //optional filter, uncomment this line to filter for a specific deprecated SKU (Plan).
//| where properties.storageProfile.imageReference.version == '14393.4467.2106061537' //optional filter, uncomment this line to filter for a specific deprecated version.
|project name, subscriptionId, resourceGroup, ImagePublisher=properties.storageProfile.imageReference.publisher,ImageOffer=properties.storageProfile.imageReference.offer,imageSku=properties.storageProfile.imageReference.sku, imageVersion=properties.storageProfile.imageReference.exactVersion
Additional Reading:
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!