Need to move Azure VM from one Virtual Network

Robin Hitch 165 Reputation points
2023-12-19T05:12:22.4666667+00:00

Need to move Azure VM from one Virtual Network.

IS it possible to change NIC Virtual Network from primary Virtual Network to another Virtual Network ?

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,762 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andreas Baumgarten 123.4K Reputation points MVP Volunteer Moderator
    2023-12-19T06:39:18.7466667+00:00

    Hi @Robin Hitch ,

    is the new subnet in the same vNet with the source subnet?

    Than it's easy to get there:

    Navigate to the NIC of the VM in the Azure Portal.

    Click on IP configurations

    • Verify the private IP Address is assigned dynamic (if it's a static IP Address change to dynamic first)
    • Select the new subnet
    • Click Apply
      snet

    If you want to switch the VM to a subnet in a different vNet you have to delete the VM but keep all Disks!. Create a new VM using the existing Disk(s) and select the new vNet and new subnet in the wizard.

    Details you will find here: Create a VM from a specialized disk


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards Andreas Baumgarten

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.