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.

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 is an Principal Consultant, He has a strong background specializing in datacenter and deployment solutions, and has spent over 20 years in the planning, design, and implementation of network technologies and Management and system integration.He hold CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1997.Cary is also a Microsoft Most Valuable Professional (MVP) and Cisco Champion, He is a published author with serveral titles, include blogs on Checkyourlogs.net, author for many books. Specialties: CCIE /CCNA / MCSE / MCITP / MCTS / MCSA / Solution Expert / CCA
Blog:
http://www.carysun.com http://www.checkyourlogs.net
Twitter:@SifuSun

About Cary Sun

Cary Sun is an Principal Consultant, He has a strong background specializing in datacenter and deployment solutions, and has spent over 20 years in the planning, design, and implementation of network technologies and Management and system integration.He hold CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1997.Cary is also a Microsoft Most Valuable Professional (MVP) and Cisco Champion, He is a published author with serveral titles, include blogs on Checkyourlogs.net, author for many books. Specialties: CCIE /CCNA / MCSE / MCITP / MCTS / MCSA / Solution Expert / CCA Blog: http://www.carysun.com http://www.checkyourlogs.net Twitter:@SifuSun

Leave a Reply