Unable to upgrade the deployment. The requested VM size ‘A9’ may not be available in the resources supporting the existing deployment


While working with Azure Site Recovery manger and performing failover test for many, many times I faced several issues. Below is one issue and workaround I would like to share with you.

Failover scenario:

  • AD and DNS server (Group 1)
    • 2 vCPU
    • 3 GB RAM
    • 40GB HDD
    • Azure VM size – A2
  • DB server (Group 2)
    • 4 vCPU
    • 32 GB RAM
    • 200 GB disk
    • Azure VM size – A9
  • APP server (Group 3)
    • 2 vCPU
    • 6 GB RAM
    • 60GB HDD
    • Azure VM size – DC

I created recovery plan with three groups (see above) and each VM in failover scenario has default VM sizes configured in Azure. Group 1 failed over successfully, only group 1 🙁 . Servers from remaining groups got below error while failover to Azure.

Update-AzureVM : Compute.CannotUpgradeDeploymentToNewRoleSize : Unable to upgrade the deployment. The requested VM size ‘A9’ may not be available in the resources supporting the existing deployment. Please try again later, try with a different VM size or smaller number of role instances, or create a deployment under an empty hosted service with a new affinity group or no affinity group binding.

What had happen is when recovery plan consists of VMs in different sizes and first VM in recovery plan has small size (like AD and DNS server in my case) then Azure services automatically “assign” all VMs from recovery plan to services where only small VMs can be created. I hope it make sense what I’ve wrote above 😉

What is the work around – change default Azure VM size for first VM from recovery to the biggest VM size in recovery plan.

How to change VM Azure size for protected virtual machines.

  • Log in to Azure management portal
  • Got to Recovery Services –> Protected Items –> VMM clouds
  • click on VMM cloud  and from virtual machines tab choose VM to change size for
  • On configure tab choose Azure VM size from drop down menu
Change Azure VM size

Change Azure VM size

0 0 votes
Article Rating

Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur holds VMware Certified Design Expert certification (VCDX #077).

Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x

FOR FREE. Download Nutanix port diagrams

Join our mailing list to receive an email with instructions on how to download 19 port diagrams in MS Visio format.

NOTE: if you do not get an email within 1h, check your SPAM filters

You have Successfully Subscribed!

Don't miss any posts. Subscribe To Our Newsletter!!

Join our mailing list to receive the latest news and updates from www.vmwaremine.com.

You have Successfully Subscribed!

Pin It on Pinterest