Hi Jacob, good morning to you and hope you doing well. Really appreciated that you follow up my query. My objective is if the OS disk is crash and we need to restore the VM. And it is attach to availability-set, how it should be done.
I combine the MS doc and seems to work using the powershell. I’m still very new Just a month old to Powershell and Azure. Trying to learn and digest. U guide thought me a lot.
What I did was I create the specialized disk to manage disk using the following guide.
Create a new VM by attaching a specialized disk as the OS disk using Powershell. A specialized disk is a copy of VHD…docs.microsoft.com
then create the VM, and have no error with manage availability set.
Have a good day!