March 18, 2024
102220 0000 4 - How to use Cloud Shell to fix failed to resize virtual machine at #Azure
Today, I tried to resize the virtual machine at Azure, it failed because of the virtual machine enabled accelerated networking for network interface. If you have the same issues as mine, please follow below steps to use Azure Cloud Shell to disable it and fix the resize virtual machine failed issues.

Today, I tried to resize the virtual machine at Azure, it failed because of the virtual machine enabled accelerated networking for network interface.

If you have the same issues as mine, please follow below steps to use Azure Cloud Shell to disable it and fix the resize virtual machine failed issues.

102220 0000 1 - How to use Cloud Shell to fix failed to resize virtual machine at #Azure

1.Sign in Azure portal.

2.Verify the NIC settings of VM, you will notice the NIC Accelerated networking enabled.

102220 0000 2 - How to use Cloud Shell to fix failed to resize virtual machine at #Azure

4.On the Azure portal, click Cloud Shell.

102220 0000 3 - How to use Cloud Shell to fix failed to resize virtual machine at #Azure

5.if you are the first time to use Cloud Shell, it will pop up Welcome page. On the Welcome to Azure Cloud Shell page, click PowerShell.

102220 0000 4 - How to use Cloud Shell to fix failed to resize virtual machine at #Azure

6.On the you have no storage mounted page, click Show advanced settings.

102220 0000 5 - How to use Cloud Shell to fix failed to resize virtual machine at #Azure

7.On the you have no storage mounted page, configure below settings, click Create storage.

  • Subscription: Select subscription, in my case is Microsoft Azure Sponsorship.
  • Cloud Shell region: Select region of Cloud Shell, in my case is West US 2
  • Resource group: Select Create new, type resource group name, in my case is CloudShellRG.
  • Storage account: Select Create new, type storage account name, in my case is cloudshellwestus2.
  • File share: Select Create new, type file share name, in my case is cloudshellfs.

102220 0000 6 - How to use Cloud Shell to fix failed to resize virtual machine at #Azure

8.Verify Cloud Shell connecting terminal succeeded.

102220 0000 7 - How to use Cloud Shell to fix failed to resize virtual machine at #Azure

9.Run below cmdlet to disable NIC network Accelerated networking of VM.



$nic=Get-AzNetworkInterface -Name <NICNAME> -ResourceGroupName <RGNAME>


$nic.EnableAcceleratedNetworking = $True


$nic | Set-AzNetworkInterface


102220 0000 8 - How to use Cloud Shell to fix failed to resize virtual machine at #Azure

10.Verify the NIC settings of VM, you will notice the Accelerated networking disabled.

102220 0000 9 - How to use Cloud Shell to fix failed to resize virtual machine at #Azure

11.The resize VM failed issues fixed.

102220 0000 10 - How to use Cloud Shell to fix failed to resize virtual machine at #Azure

Hope you enjoy this post.

Cary Sun

Twitter: @SifuSun

Web Site: carysun.com

Blog Site: checkyourlogs.net

Blog Site: gooddealmart.com

ca16fbd3199de5f66b829b87082fb970?s=80&d=retro&r=g - How to use Cloud Shell to fix failed to resize virtual machine at #Azure

Author: Cary Sun

Cary Sun has a wealth of knowledge and expertise in data center and deployment solutions. As a Principal Consultant, he likely works closely with clients to help them design, implement, and manage their data center infrastructure and deployment strategies.
With his background in data center solutions, Cary Sun may have experience in server and storage virtualization, network design and optimization, backup and disaster recovery planning, and security and compliance management. He holds CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1999. Cary is also a Microsoft Most Valuable Professional (MVP), Microsoft Azure MVP, Veeam Vanguard and Cisco Champion. He is a published author with several titles, including blogs on Checkyourlogs.net, and the author of many books.
Cary is a very active blogger at checkyourlogs.net and is permanently available online for questions from the community. His passion for technology is contagious, improving everyone around him at what they do.

Blog site: https://www.checkyourlogs.net
Web site: https://carysun.com
Blog site: https://gooddealmart.com
Twitter: @SifuSun
in: https://www.linkedin.com/in/sifusun/
Amazon Author: https://Amazon.com/author/carysun

Leave a Reply