How to change Virtual network/subnet in Azure?

Samath 121 Reputation points
2020-05-01T19:05:03.477+00:00

Hi,

When I created a VM in Azure I just realized at the end that choose the wrong:Virtual network/subnet

How can I change it once the machine is mounted?

Thanks

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,035 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Laude 86,026 Reputation points
    2020-05-01T19:21:31.573+00:00

    Hi,

    You can change the subnet, but not the virtual network, that a network interface is assigned to, more information here:
    https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface#change-subnet-assignment

    (Please don't forget to mark helpful replies as answer)

    Best regards,
    Leon

    4 people found this answer 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.