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;amp;amp;amp;lt;NICNAME&amp;amp;amp;amp;amp;gt; -ResourceGroupName &amp;amp;amp;amp;amp;lt;RGNAME&amp;amp;amp;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 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
Amazon Author: https://Amazon.com/author/carysun
You must log in to post a comment.