I have an Availability Zone set to my deployed VMSS, I would like to know how I can add and change Availability Zone to my current vmss
I have been looking around to see an option to change it but somehow, I can’t find it.
Use different availability Zone
>Solution :
You can’t add an existing VM to an availability set after it’s created.
VMs must be created within the availability set to make sure they’re correctly distributed across the hardware.
A VM can only be added to an availability set when it is created. To change the availability set, you need to delete and then recreate the virtual machine.
Please refer to the below documents for more information :-
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/tutorial-availability-sets
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/change-availability-set
Let me know if the above solution resolved your issue!