Add the ability to rename a VM. The VM name is what appears in Azure, not the DNS name.
Changing a VM's name should not affect the VM in any way. If you need a unique identifier for a VM that does not change, I suggest using a GUID rather than the VM's name in Azure.
Already suggested here:
This needs to be easier. We clone systems using ZERTO into Azure all the time. Well, the name that gets applied is a derivation of the original system name with a date stamp or something. I need to rename it to what the new servername will be.
any updates on it?
How is this not possible already?
Add the ability to rename a VM. Changing a VM's name should not affect the VM in any way.
Joe Irvine commented
Unreal, this is a basic thing...
Leonardo Cursi commented
Elan Shudnow commented
+1 that this should be added as a capability.
This should be a standard feature. Please consider implementing this and/or attaching the Name field as a tag.
Ken H commented
This is something that should be easy but it's not.
Michael Corning commented
Andrii Shagov commented
Re-naming is a "must have", and not only for VMs, but everything.
Justin King commented
The name should be just a simple tag.
That's how AWs does it.
That's how GCP does it
That's how VMware does it
That's how Hyper-V does it ..
Azure tried to get too clever and guess the intent of the name field. You guys guessed wrong. Use a UUID under the hood and revert this to a tag. Or at least let us add a 'name' tag that visually replaces the name in the console at least.
this is crazy not to have this ability.
in AWS it is as simple as changing the tag for 'Name' on the instance
John Bruijntjes commented
Basic feature, just implement
David Lean commented
I realise that it is possible to write a powershell script that identifies all resources in a VM (disk nic). Deletes the VM, Then recreates the VM with a new name. It runs in less than a minute.
It is also possible to do something similar to rename disks. (copy to new name, delete old & reattach)
As I could write a Rename-AzureRmVM & Rename-AzureRMManagedDisk function in a short period of time. (less than 4.5 years) Perhaps the Azure team might consider doing the same thing, while they are thinking about doing it better in the API.
Carlos Chacon commented
yes this should be allow, please add this feature
this is a must feature
Chris R commented
Are you having trouble figuring out how to do it?
current rename process taking too much time, its one of the key features that;s need to implicate soon.