Azure-docs: Getting error

Created on 6 Apr 2018  Â·  2Comments  Â·  Source: MicrosoftDocs/azure-docs

When I run your script above, I get the following error:

Parameter 'vault_name' must conform to the following pattern: '^[a-zA-Z0-9-]{3,24}$'.

Please advise


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

cxp doc-bug triaged virtual-machines-linusvc

All 2 comments

@davidjkenner I tested the script and it works fine. The error you are getting is because the keyvault name you chose does not conform to the requirements. If you ran the script as is it will not work. You need to at least put in a KeyVault name of your choice:

# Provide your own unique Key Vault name
keyvault_name=<your_unique_keyvault_name>

Come guidelines for choosing a name:

-Vault name must only contain alphanumeric characters and dashes and cannot start with a number.
-Vault name must be between 3-24 alphanumeric characters.
-The name must begin with a letter, end with a letter or digit, and not contain consecutive hyphens.

I will close this out for now but if you have further issues please reopen and we can continue.

Damm, What a rediculious stupid design!

Was this page helpful?
0 / 5 - 0 ratings