Azure naming convention generator_
Generate CAF-compliant Azure resource names for 200+ resource types across 47 regions — live validation against the real Azure limits, batch auditing, breakdown view.
Export as Terraform · Bicep · ARM · PowerShell · Azure CLI · YAML · Markdown · CSV · Azure Policy. Free, no signup, 100% client-side.
and fill in the form
to generate a name
Microsoft's recommended pattern:
{type}-{workload}-{env}-{region}-{instance}
Example: rg-shop-prod-weu-001
Storage (no separators): stshopprodweu001
Anything with a public endpoint must be unique across all of Azure: storage accounts, key vaults, web and function apps, container registries, SQL servers, Cosmos DB, Service Bus, Event Hubs, API Management, Front Door and more. The generator flags them and can add a deterministic suffix.
Storage account: 3–24, lowercase letters and digits only
Container registry: 5–50, letters and digits only
Key vault: 3–24, must start with a letter
Windows VM: 15-character computer name
Container app: 2–32, lowercase
Most other resources: 1–80
sbx sandbox · dev development · tst test
uat user acceptance · acc acceptance
stg staging · prod production
dr disaster recovery · shrd shared platform
Export an Azure Policy definition built from your own pattern and assign it at a management group — audit first, deny once the estate is clean. Validate a whole subscription at once with the batch checker.
Most Azure resources cannot be renamed — you recreate and migrate. That is why the convention is worth settling before the first deployment, and why the validator checks the real per-resource rules rather than a generic pattern.