Share via


how to disable accelerated network on azure VM

Question

Thursday, August 2, 2018 9:42 AM

i have enabled Accelerated Networking on Azure Vm..now i want to disable accelerating networking but unable to find a way. since i want to change the size of vm and accelerating network is preventing to change the size.

please suggest.

All replies (6)

Monday, January 21, 2019 1:44 PM ✅Answered | 4 votes

Can confirm this worked and allowed me to change the size of the vm to one that does not support accelerated networking without recreating the NIC:

az network nic update --name <nic_name> --resource-group <resource_group_name> --accelerated-networking false

Thanks for the reference heyko!


Thursday, August 2, 2018 10:30 AM

Could you help us with the error message you get when you try to resize the VM?

Accelerated Networking is supported on most general purpose and compute-optimized instance sizes with 2 or more vCPUs. These supported series are: D/DSv2 and F/Fs

On instances that support hyperthreading, Accelerated Networking is supported on VM instances with 4 or more vCPUs. Supported series are: D/DSv3, E/ESv3, Fsv2, and Ms/Mms

Refer the article for more information.

Suggest you to refer the Enable/Disable Accelerated Networking on Azure VM's.

You may also use this script to Enable/Disable Accelerated Networking on Azure VM's.

You may also want to refer the article which help with Troubleshoot deployment issues with restarting or resizing an existing Windows VM in Azure.

Disclaimer: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet

If this answer was helpful, click “Mark as Answer” or Up-Vote. To provide additional feedback on your forum experience, click here.


Monday, August 6, 2018 6:44 PM

Just checking in if you have had a chance to see the previous response. If this answers your query, do click “Mark as Answer” and Up-Vote for the same.


Friday, October 19, 2018 11:54 PM | 1 vote

I have the same problem.  And no offence, but the original poster gave you all of the information you need.  He currently has a VM instance that supports accelerated networking.  He wants to change to a VM instance that does not support it.  You really don't need to know what the error message says (you should already know the error message reads " Virtual Machine size <size> is not in the allowed list of VM sizes for accelerated networking to be enabled on Network Interface...")

What we need to know is how to disable accelerated networking.  Will you please provide an answer for that question?  Thank you.


Thursday, November 8, 2018 11:14 PM

I just did this.  I found another page where someone suggested this: 

I added a new NIC from the VM networking tab and it seems that accelerated networking is disabled by default. Then I detach the previous NIC (with accelerated networking) and was able to resize my VM.

I used this page for help with creating a new Network Interface:

https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface

Then I used this page to help me add the new Network Interface to my VM (and remove the old one):  

https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface-vm  

I found that I also had to add to my old Network Security Group to this new Network Interface to have security rules for allowing traffic on ports.

I also had to edit the Network Interface to have a public IP address. This article helped:

https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface-addresses


Tuesday, December 11, 2018 1:09 PM | 4 votes

Using the Azure CLI might be a viable solution aswell: 

It explains how to enable Accelerated Networking - but it works the same way to disable it.