Rename VM or redeploy without lost set up on Azure.

Nasimjon Tohirov 261 Reputation points
2022-06-16T15:36:29.133+00:00

Hi everyone,
I know those kinds of questions have so many, but I want to be sure 100%, I can't do this. Can we change the name of the VM on the Azure portal with PowerShell or another?
If not, can I redeploy without lost setup and configuration IP?

Thanks for advanced.

Regards,
Nasimjon.

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

1 answer

Sort by: Most helpful
  1. benjamin renard 11 Reputation points
    2022-06-17T08:26:31.593+00:00

    To rename a vm, the easiest way is to recreate it.

    save your arm template (vm > export template) and delete the vm (not the disk and not the nic etc)

    then create an arm template in "template spec" blade and change the name and deploy

    2 people found this answer helpful.
    0 comments No comments

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.