Naming Convention
There is always a big discussion about how to implement a naming convention for Azure resources to be deployed. Often this article from the Microsoft Cloud Adoption Framework for Azure is used as a starting point for an organization’s own implementation.
This diagram shows the components of an Azure resource name:

Next Step
But what if you want to manage the naming convention of your environment at scale and during deployment with pipelines? There is a helpful tool to consider - the Azure Naming Tool!
The Azure Naming Tool was developed using a naming pattern based on Microsoft’s best practices. After the organizational components are defined by an administrator, users can use the tool to generate a name for the desired Azure resource.
The most interesting thing is that you can deploy this tool as an API that can be used from within your automation.
Screenshot of Azure Naming Tool v2

