Issue:
I was building an Azure Virtual machine the other day and came across this error below:
“Changing property ‘osDisk.vhd.uri’ is not allowed.”
Having tried tweaking a number of variables i opted to view the Portal. I could see the VM failed to build previously:
Resolution: Delete the failed Azure virtual machine from the ARM portal and retry.