ARM Template fails due to Availability Set

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ARM Template fails due to Availability Set

L1 Bithead

Hi All,

 

I am trying to deploy Azure-1FW-3-Interfaces-existing-environment using following ARM template

https://github.com/PaloAltoNetworks/ReferenceArchitectures/tree/master/Azure-1FW-3-interfaces-existi...

 

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."
}

1 REPLY 1

L1 Bithead

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"

                              }

  • 197 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!