11

Anyone have any idea on how i can rename azure resources?

For example: I have a schedule job collection. I would like to rename the collection to get better organized. In fact, i also would like to rename Azure Resource Groups.

1
  • 1
    I'm pretty sure it can't be done, at least not in the web portal. It may be possible with PowerShell.
    – joeqwerty
    May 19, 2016 at 21:40

3 Answers 3

5

Using the new portal, you can move a resources in a resource group to another resource group. The capability only became available recently. You can read more about it here: Move resources to new resource group or subscription

1
  • although this answers only part of the question, there is a thread about renaming resources, feel free to vote as this should exist
    – Guillaume
    Sep 17, 2019 at 6:00
2

Unfortunately it cannot be done. Neither on resource name or on resource group name.

The correct naming ruling put in place from the very beginning is one of the most important aspects. Try to define yourself as early as possible the criteria for that.

If not, working with ARM templates may ease your pain by helping you redeploy "bad" resources faster and easier.

1
  • correct naming ruling? This 'feature' has a name? I this by design and intended functionality? So, it's also not going to change? I'd certainly hope not ...
    – Paul0515
    May 20, 2016 at 17:14
2

The Answer is: Yes it not possible (yet?) but there is a mechnismn for doing it by deleting recreating any ressource. Now everybody would say: Are you serroius? Yes it is not that difficult!

The Azure Cli / Powershell allows you to export the whole resourcegroup Definition (except for some resources!).

--> Export the Definition,

--> rename Names in the exportet template

--> Deploy Template

--> Voila! Every resource has it's old configuration except the name.

It takes some time to get familiar to that process, but afterwars you are pretty fast rename, clone, do anything with complete ressources!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .