Every Azure team needs a naming convention, and Microsoft's Cloud Adoption Framework defines a good one. The annoying part is that the rules are scattered and every resource type is different. Storage accounts: 3 to 24 characters, lowercase, no hyphens, globally unique. Key Vault: 24 characters, and soft delete reserves a deleted vault's name for 90 days. Container registries: alphanumeric only.

I got tired of cross-referencing the docs and still hitting name errors at deploy time, so I put together AzureNamer.

What it does:

Generates CAF compliant names for 204 resource types, each with its real length and character rules applied

Exports the whole set as Terraform, Bicep, JSON, Markdown or CSV