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.
1.Sign in Azure portal.
2.Verify the NIC settings of VM, you will notice the NIC Accelerated networking enabled.
4.On the Azure portal, click Cloud Shell.
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.
6.On the you have no storage mounted page, click Show advanced settings.
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.
8.Verify Cloud Shell connecting terminal succeeded.
9.Run below cmdlet to disable NIC network Accelerated networking of VM.
$nic=Get-AzNetworkInterface -Name &amp;amp;lt;NICNAME&amp;amp;gt; -ResourceGroupName &amp;amp;lt;RGNAME&amp;amp;gt; $nic.EnableAcceleratedNetworking = $True $nic | Set-AzNetworkInterface
10.Verify the NIC settings of VM, you will notice the Accelerated networking disabled.
11.The resize VM failed issues fixed.
Hope you enjoy this post.
Web Site: carysun.com
Blog Site: checkyourlogs.net
Blog Site: gooddealmart.com
Author: Cary Sun
Cary Sun is a 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 1999.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
http://www.carysun.com http://www.checkyourlogs.net http://gooddealmart.com