- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
11-04-2025 09:35 PM
Hi All,
I am trying to deploy Azure-1FW-3-Interfaces-existing-environment using following ARM template
However, deployment fails due to following error. Availability set created with 'Aligned' SKU and Managed 'YES'
"code": "OperationNotAllowed",
"target": "VMC-fw-001",
"message": "Addition of a VM with managed disks to non-managed Availability Set or addition of a VM with blob based disks to managed Availability Set is not supported. Please create an Availability Set with 'Aligned' SKU in order to add a VM with managed disks to it."
}
11-05-2025 05:05 PM
I found a solution. Existing script was creating unmanaged disks. Whereas Azure has deprecated it with availability zone.
Therefore In above script if you remove "storageAccountName" "storageAccountExistingRG".
Also under "osDisk" replace "vhd" section with following, (Premium or Standard)
"managedDisk": {
"storageAccountType": "Premium_LRS"
}
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

