Hello, @sns !
Can I use a custom image on an existing Uniform Orchestration Virtual Machine Scale Set?
There are modifications that you can make to Uniform Orchestration Virtual Machine Scale Sets. It's possible to change the image that your scale set uses however there are some limitations with az vmss update
(namely it only supports image upgrades that updates the minor version of an image, ex: Windows Server 1.0 to 1.1):
Alternatively, you may want to change the image your scale set uses. For example, you may want to update or change a custom image used by your scale set. You can change the image your scale set uses by updating the image reference ID property. The image reference ID property is not part of a list, so you can directly modify this property with one of the following commands:
az vmss update \
--resource-group myResourceGroup \
--name myScaleSet \
--set virtualMachineProfile.storageProfile.imageReference.id=/subscriptions/{subscriptionID}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/myNewImage
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!