4
votes

Azure Storage Account name length restriction throws a wrench in what could be something easy. Being able to name my resources per tenant, like rg{tenant-guid} for a resource group, or fa{tenant-guid} for a function app is nice and easy, but a 24-character limit on azure storage accounts really mucks it all up. Why put a requirement for a globally-unique name on Azure Storage Accounts and not allow administrators to use GUID's for naming Azure Storage Accounts?

Partly question, mostly rant.

1

1 Answers

1
votes

This is just a limitation like all the other services . There are different factors considered and this is common with any clound vendor as well.

The only reason these naming restrictions exist are because the storage account name gets put in the URL so it has to be unique and should not contain GUIDs. You can use uniqueString() to generate storage account names