Below some quick actions and references about common issues regarding azure VM
I will keep the article updated.
Issue1 – Update or Add an availability group in an existing Azure VM
Changing the availability group in an existing Azure VM is not currently available on the Azure Portal.
the PowerShell script below will update it in automation, very well-done script and a lot of time saving.
https://gallery.technet.microsoft.com/Set-Azure-Resource-Manager-f7509ec4
The script produces the log and the ARM template as well.