Custom naming automatically created DevTest resources

Alex Tripp 1 Reputation point

Hi all,
We have a strict naming convention in our organisation.
We are introducing DevTest Labs.
We are deploying using ARM templates.
I am able to name the vNetwork and associated subnets, and the DevTest Lab itself.
However, storage accounts, key vaults, shared networking (Public IP, Availability set and load balancer) are using the lab name and random numbers.
Any one else managed to address this issue?

Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
261 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. kobulloc-MSFT 25,071 Reputation points Microsoft Employee

    Hello, @Alex Tripp !

    Azure does not support renaming resources or resource groups (although this has been a popular request) so the types of resource names that you are describing where names are based on your configuration values but have additional characters are to be expected.

    When it comes to resource groups there is a bit of a workaround. You are able to move resources from one group to another so you can create a new resource group with the name you want, move your resources to that new resource group, and then delete the old resource group: