Move a Microsoft Azure VM to a Different Subnet Within a vNet

Mohamed Uvais M picture Mohamed Uvais M · Sep 8, 2016 · Viewed 19.2k times · Source

Can't we Move a Microsoft Azure VM to a Different Subnet Within a vNet using the azure new portal or the azure classic portal ? if not possible through portal then how to do so ?then how to edit the properties of a VM after creation, like moving to a different subnet,, etc.,?

Answer

Ivo Haagen picture Ivo Haagen · Sep 9, 2016

It is possible through the new portal. First I want to ask you if you're using a Classic VM or a Resource manager VM. If you're using the last one you can easily switch between subnets by changing the configuration settings. go to your network interface > Ip configurations and click on the Nic name (see picture below)

View nic Azure

A new tab will open and you can change the Subnet of the nic.

Change Subnet