Hi there,
A couple of week ago some collegues and I were testing the Virtual Machine Scale Set service with a generalized custom Image created from a VM within Azure (something basic, WinServer2019, IIS, etc)
After the test of these services we tried to delete the Resource Group with all the components within it. Everything got deleted but the Azure Image.
The error is the following:
Operation 'Image Delete' is not allowed since the Virtual Machine ScaleSet '/subscriptions/XXXX/resourceGroups/XXXXX/providers/Microsoft.Compute/virtualMachineScaleSets/XXXX' is currently using the Image 'VMXXXXX-image-XXXXXX'.
The fact is that the VMSS is deleted and nothing but the Image is in the Resource Group.
I tried using PowerShell, AzureCLI, trying to create a new VMSS over that Image... nothing worked.
It seems that got linked to a ghost VMSS. That happened to some of my collegues too.
Could anyone plase help me on this?
It could be a pain and generate unnecessary charges.
Happy to provide any additional information you may need.
Thanks in advance,



