Move VM's to another VNET in same region

Ravi Shanker Shukla 21 Reputation points Microsoft Employee
2022-08-08T10:43:52.33+00:00

Hi Team,

Can we move VM's from one vnet to other in the same region and resource group.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,014 questions
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. Jackson Martins 10,606 Reputation points MVP Volunteer Moderator
    2022-08-08T10:48:44.49+00:00

    Hi @Ravi Shanker Shukla
    Unfortunately, it's not possible to change VNET from VM; you can recreate it by deleting the VM but keeping the disks and creating the VM with the new VNET using an existing disk.

    I answered a similar question here in the Q&A.

    https://learn.microsoft.com/en-us/answers/questions/950529/help-with-switching-a-vm-to-another-existing-virtu.html?childToView=950519#answer-950519

    Get in touch if you need more help with this issue.

    --please don't forget to "Accept the answer" if the reply is helpful--

    8 people found this answer helpful.
    0 comments No comments

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.