Closed arnaudlh closed 3 years ago
It actually can only contain 31 chars The name can only contain lowercase letters, numbers, and the hyphen (-) character. It must be between 3-31 characters in length. I think they are reducing every day
but according to the docs it actually can do 44 https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftdocumentdb
As per: https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-manage-database-account#create-database-account-via-portal
The name can only contain lowercase letters, numbers, and the hyphen (-) character. It must be between 3-44 characters in length.
Seems like we need to amend the definition: