Azure resource naming rules
Length limits, uniqueness scopes and naming profiles for 204 Azure catalogue entries, with examples and links to the generator.
Open the Azure, AWS and GCP name generator
A naming convention helps a team recognise resources. Azure naming restrictions decide whether a resource name is accepted. A recommended prefix alone does not establish validity.
Supported Azure naming profiles
The catalogue contains 204 entries across 14 CAF categories, with 205 profiles because Windows and Linux VM hostname variants share one entry. 169 local profiles have documented checks; 36 reference-only profiles require manual provider review. Entries include service-kind variants and naming aliases, not 204 distinct ARM resource types. App Service and VM profiles use a conservative ASCII subset. Checks do not establish name availability, reserved-word acceptance, subscription permissions or policy compliance.
| Resource | Length | Scope | Local profile |
|---|---|---|---|
| AI Search | 2–60 | See provider reference | 2–60 characters; ARM reference naming constraints: string Constraints: Pattern = ^(?=.{2,60}$)[a-z0-9][a-z0-9]+(-[a-z0-9]+)*$ (required) Scope: See provider reference. documented · Provider reference ^(?=.{2,60}$)[a-z0-9][a-z0-9]+(-[a-z0-9]+)*$ |
| Foundry Tools (multi-service account) | 2–64 | resource group | 2–64 characters; Alphanumerics and hyphens Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Foundry account | 2–64 | resource group | 2–64 characters; Alphanumerics and hyphens Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Foundry account project | 2–64 | See provider reference | 2–64 characters; ARM reference naming constraints: string Constraints: Min length = 2 Max length = 64 Pattern = ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$ (required) Scope: See provider reference. documented · Provider reference ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$ |
| Foundry hub | 3–33 | resource group | 3–33 characters; Alphanumerics, hyphens, and underscores Scope: resource group. documented · Provider reference ^[A-Za-z0-9_\-]+$ |
| Foundry hub project | 3–33 | resource group | 3–33 characters; Alphanumerics, hyphens, and underscores Scope: resource group. documented · Provider reference ^[A-Za-z0-9_\-]+$ |
| Azure AI Video Indexer | 3–50 | See provider reference | 3–50 characters; ARM reference naming constraints: string Constraints: Min length = 3 Max length = 50 Pattern = ^[A-Za-z0-9-]+$ (required) Scope: See provider reference. documented · Provider reference ^[A-Za-z0-9-]+$ |
| Azure Machine Learning workspace | 3–33 | resource group | 3–33 characters; Alphanumerics, hyphens, and underscores Scope: resource group. documented · Provider reference ^[A-Za-z0-9_\-]+$ |
| Azure OpenAI Service | 2–64 | resource group | 2–64 characters; Alphanumerics and hyphens Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Bot service | 2–64 | global | 2–64 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. Scope: global. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Computer vision | 2–64 | resource group | 2–64 characters; Alphanumerics and hyphens Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Content moderator | 2–64 | resource group | 2–64 characters; Alphanumerics and hyphens Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Content safety | 2–64 | resource group | 2–64 characters; Alphanumerics and hyphens Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Custom vision (prediction) | 2–64 | resource group | 2–64 characters; Alphanumerics and hyphens Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Custom vision (training) | 2–64 | resource group | 2–64 characters; Alphanumerics and hyphens Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Document intelligence | 2–64 | resource group | 2–64 characters; Alphanumerics and hyphens Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Face API | 2–64 | resource group | 2–64 characters; Alphanumerics and hyphens Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Health Insights | 2–64 | resource group | 2–64 characters; Alphanumerics and hyphens Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Immersive reader | 2–64 | resource group | 2–64 characters; Alphanumerics and hyphens Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Language service | 2–64 | resource group | 2–64 characters; Alphanumerics and hyphens Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Speech service | 2–64 | resource group | 2–64 characters; Alphanumerics and hyphens Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Translator | 2–64 | resource group | 2–64 characters; Alphanumerics and hyphens Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Azure Analysis Services server | 3–63 | resource group | 3–63 characters; Lowercase letters and numbers Start with a lowercase letter. Scope: resource group. documented · Provider reference ^[a-z0-9]+$ |
| Azure Databricks Access Connector | 1–not published | See provider reference | 1–unpublished characters; Provider reference does not publish complete naming restrictions. Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Azure Databricks workspace | 3–64 | resource group | 3–64 characters; Alphanumerics, underscores, and hyphens Scope: resource group. documented · Provider reference ^[A-Za-z0-9_\-]+$ |
| Azure Data Explorer cluster | 4–22 | global | 4–22 characters; Lowercase letters and numbers Start with a letter. Scope: global. documented · Provider reference ^[a-z0-9]+$ |
| Azure Data Explorer cluster database | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string Constraints: Pattern = ^.*$ (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^.*$ |
| Azure Data Factory | 3–63 | global | 3–63 characters; Alphanumerics and hyphens Start and end with alphanumeric. Scope: global. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Azure Digital Twin instance | 3–63 | See provider reference | 3–63 characters; ARM reference naming constraints: string Constraints: Min length = 3 Max length = 63 Pattern = ^(?!-)[A-Za-z0-9-]{3,63}(?<!-)$ (required) Scope: See provider reference. documented · Provider reference ^(?!-)[A-Za-z0-9-]{3,63}(?<!-)$ |
| Azure Stream Analytics | 1–not published | See provider reference | 1–unpublished characters; Provider reference does not publish complete naming restrictions. Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Synapse Analytics private link hub | 1–45 | resource group | 1–45 characters; Lowercase letters and numbers Scope: resource group. documented · Provider reference ^[a-z0-9]+$ |
| Synapse Analytics SQL Dedicated Pool | 1–60 | workspace | 1–60 characters; Can't contain <>*%&:\/?@- or control characters Can't end with . or space. Can't contain reserved words. Scope: workspace. documented · Provider reference ^[^<>\*%\&:\\/\?@\-\x00-\x1f\x7f]+$ |
| Synapse Analytics Spark Pool | 1–15 | workspace | 1–15 characters; Letters and numbers Start with a letter. End with letter or number. Can't contain reserved words. Scope: workspace. documented · Provider reference ^[A-Za-z0-9]+$ |
| Synapse Analytics workspace | 1–50 | global | 1–50 characters; Lowercase letters, hyphens, and numbers Start and end with letter or number. Can't contain -ondemand. Scope: global. documented · Provider reference ^[a-z0-9\-]+$ |
| Data Lake Store account | 3–24 | global | 3–24 characters; Lowercase letters and numbers Scope: global. documented · Provider reference ^[a-z0-9]+$ |
| Event Hubs namespace | 6–50 | global | 6–50 characters; Alphanumerics and hyphens Start with a letter. End with letter or number. Scope: global. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Event hub | 1–256 | namespace | 1–256 characters; Alphanumerics, periods, hyphens, and underscores Start and end with letter or number. Scope: namespace. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Event Grid domain | 3–50 | resource group | 3–50 characters; Alphanumerics and hyphens Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Event Grid namespace | 3–50 | See provider reference | 3–50 characters; ARM reference naming constraints: string Constraints: Min length = 3 Max length = 50 Pattern = ^[a-zA-Z0-9-]*$ (required) Scope: See provider reference. documented · Provider reference ^[a-zA-Z0-9-]*$ |
| Event Grid subscription | 3–64 | resource group | 3–64 characters; Alphanumerics and hyphens Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Event Grid topic | 3–50 | domain | 3–50 characters; Alphanumerics and hyphens Scope: domain. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Event Grid system topic | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Fabric Capacity | 3–63 | See provider reference | 3–63 characters; ARM reference naming constraints: string Constraints: Min length = 3 Max length = 63 Pattern = ^[a-z][a-z0-9]*$ (required) Scope: See provider reference. documented · Provider reference ^[a-z][a-z0-9]*$ |
| HDInsight - Hadoop cluster | 3–59 | global | 3–59 characters; Alphanumerics and hyphens Start and end with letter or number. Scope: global. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| HDInsight - HBase cluster | 3–59 | global | 3–59 characters; Alphanumerics and hyphens Start and end with letter or number. Scope: global. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| HDInsight - Kafka cluster | 3–59 | global | 3–59 characters; Alphanumerics and hyphens Start and end with letter or number. Scope: global. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| HDInsight - Spark cluster | 3–59 | global | 3–59 characters; Alphanumerics and hyphens Start and end with letter or number. Scope: global. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| HDInsight - Storm cluster | 3–59 | global | 3–59 characters; Alphanumerics and hyphens Start and end with letter or number. Scope: global. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| HDInsight - ML Services cluster | 3–59 | global | 3–59 characters; Alphanumerics and hyphens Start and end with letter or number. Scope: global. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| IoT hub | 3–50 | global | 3–50 characters; Alphanumerics and hyphens Can't end with hyphen. Scope: global. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Provisioning services | 3–64 | resource group | 3–64 characters; Alphanumerics and hyphens End with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Provisioning services certificate | 1–64 | provisioningServices | 1–64 characters; Alphanumerics, hyphens, periods, and underscores Scope: provisioningServices. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Power BI Embedded | 3–63 | region | 3–63 characters; Lowercase letters or numbers Start with lowercase letter. Scope: region. documented · Provider reference ^[a-z0-9]+$ |
| Time Series Insights environment | 1–90 | resource group | 1–90 characters; Can't use: '<>%&:\?/# or control characters Scope: resource group. documented · Provider reference ^[^'<>%\&:\\\?/\#\x00-\x1f\x7f]+$ |
| App Service environment | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| App Service plan | 1–60 | resource group | 1–60 characters; Alphanumeric, hyphens, and Unicode characters that can be mapped to Punycode Scope: resource group. Conservative local profile. conservative · Provider reference ^[A-Za-z0-9\-]+$ |
| Azure Load Testing instance | 1–64 | global | 1–64 characters; Can't use: <>*&@:?+/\,;=.|[]" or space Can't start with underscore, hyphen, or number. Can't end with underscore or hyphen. Scope: global. Conservative local profile. conservative · Provider reference ^[A-Za-z][A-Za-z0-9_-]*[A-Za-z0-9]$ |
| Availability set | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Azure Arc enabled server | 1–54 | See provider reference | 1–54 characters; ARM reference naming constraints: string Constraints: Min length = 1 Max length = 54 Pattern = ^[a-zA-Z0-9-_\.]{1,54}$ (required) Scope: See provider reference. documented · Provider reference ^[a-zA-Z0-9-_\.]{1,54}$ |
| Azure Arc enabled Kubernetes cluster | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Azure Arc private link scope | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string Constraints: Pattern = [a-zA-Z0-9-_\.]+ (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference [a-zA-Z0-9-_\.]+ |
| Azure Arc gateway | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string Constraints: Pattern = [a-zA-Z0-9-_\.]+ (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference [a-zA-Z0-9-_\.]+ |
| Batch account | 3–24 | Region | 3–24 characters; Lowercase letters and numbers Scope: Region. documented · Provider reference ^[a-z0-9]+$ |
| Cloud service | 1–15 | resource group | 1–15 characters; Can't use spaces, control characters, or these characters: ~ ! @ # $ % ^ & * ( ) = + _ [ ] { } \ | ; : . ' " , < > / ? Can't start with underscore. Can't end with period or hyphen. Scope: resource group. Conservative local profile. conservative · Provider reference ^[A-Za-z0-9-]+$ |
| Communication Services | 1–63 | global | 1–63 characters; Alphanumerics and hyphens Can't start or end with hyphen. Can't use underscores. Scope: global. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Disk encryption set | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, and hyphens Scope: resource group. documented · Provider reference ^[A-Za-z0-9_\-]+$ |
| Function app | 2–60 | Global or per domain; see note below. | 2–60 characters; Alphanumeric, hyphens, and Unicode characters that can be mapped to Punycode Can't start or end with hyphen. Scope: Global or per domain; see note below.. Conservative local profile. conservative · Provider reference ^[A-Za-z0-9\-]+$ |
| Compute gallery | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, and periods Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.]+$ |
| Hosting environment | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Image template | 1–64 | See provider reference | 1–64 characters; ARM reference naming constraints: string Constraints: Pattern = ^[A-Za-z0-9-_.]{1,64}$ (required) Scope: See provider reference. documented · Provider reference ^[A-Za-z0-9-_.]{1,64}$ |
| Managed disk (OS) | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, and hyphens Scope: resource group. documented · Provider reference ^[A-Za-z0-9_\-]+$ |
| Managed disk (data) | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, and hyphens Scope: resource group. documented · Provider reference ^[A-Za-z0-9_\-]+$ |
| Notification Hub | 1–260 | namespace | 1–260 characters; Alphanumerics, periods, hyphens, and underscores Start alphanumeric. Scope: namespace. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Notification Hubs namespace | 6–50 | global | 6–50 characters; Alphanumerics and hyphens Start with a letter. End with alphanumeric. Scope: global. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Proximity placement group | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Restore point collection | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Snapshot | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Static web app | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Virtual machine / hostname (Linux, conservative ASCII) | 1–64 | resource group | 1–64 characters; Can't use spaces, control characters, or these characters: ~ ! @ # $ % ^ & * ( ) = + _ [ ] { } \ | ; : . ' " , < > / ? Windows virtual machines can't include periods or end with hyphens. Linux virtual machines can't end with periods or hyphens. Scope: resource group. Conservative local profile. conservative · Provider reference ^[A-Za-z0-9-]+$ |
| VM scale set / hostname (Windows, conservative ASCII) | 1–15 | resource group | 1–15 characters; Can't use spaces, control characters, or these characters: ~ ! @ # $ % ^ & * ( ) = + _ [ ] { } \ | ; : . ' " , < > / ? Can't start with underscore. Can't end with period or hyphen. Scope: resource group. Conservative local profile. conservative · Provider reference ^[A-Za-z0-9-]+$ |
| VM maintenance configuration | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| VM storage account | 3–24 | global | 3–24 characters; Lowercase letters and numbers Scope: global. documented · Provider reference ^[a-z0-9]+$ |
| Web app | 2–60 | Global or per domain; see note below. | 2–60 characters; Alphanumeric, hyphens, and Unicode characters that can be mapped to Punycode Can't start or end with hyphen. Scope: Global or per domain; see note below.. Conservative local profile. conservative · Provider reference ^[A-Za-z0-9\-]+$ |
| AKS cluster | 1–63 | resource group | 1–63 characters; Alphanumerics, underscores, and hyphens Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_\-]+$ |
| AKS system node pool | 1–12 | managed cluster | 1–12 characters; Lowercase letters and numbers Can't start with a number. Scope: managed cluster. documented · Provider reference ^[a-z0-9]+$ |
| AKS user node pool | 1–12 | managed cluster | 1–12 characters; Lowercase letters and numbers Can't start with a number. Scope: managed cluster. documented · Provider reference ^[a-z0-9]+$ |
| Container app | 2–32 | resource group | 2–32 characters; nLowercase letters, numbers, and hyphens Start with a letter and end with alphanumeric. Scope: resource group. documented · Provider reference ^[a-z0-9\-]+$ |
| Container apps environment | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string Constraints: Pattern = ^[-\w\._\(\)]+$ (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[-\w\._\(\)]+$ |
| Container apps job | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string Constraints: Pattern = ^[-\w\._\(\)]+$ (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[-\w\._\(\)]+$ |
| Container registry | 5–50 | global | 5–50 characters; Alphanumerics Scope: global. documented · Provider reference ^[A-Za-z0-9]+$ |
| Container instance | 1–63 | resource group | 1–63 characters; Lowercase letters, numbers, and hyphens Can't start or end with hyphen. Consecutive hyphens aren't allowed. Scope: resource group. documented · Provider reference ^[a-z0-9\-]+$ |
| Service Fabric cluster | 4–23 | region | 4–23 characters; Lowercase letters, numbers, and hyphens Start with lowercase letter. End with lowercase letter or number. Scope: region. documented · Provider reference ^[a-z0-9\-]+$ |
| Service Fabric managed cluster | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Cosmos DB account (generic) | 3–44 | global | 3–44 characters; Lowercase letters, numbers, and hyphens Start with lowercase letter or number. Scope: global. documented · Provider reference ^[a-z0-9\-]+$ |
| Cosmos DB for Apache Cassandra account | 3–44 | global | 3–44 characters; Lowercase letters, numbers, and hyphens Start with lowercase letter or number. Scope: global. documented · Provider reference ^[a-z0-9\-]+$ |
| Cosmos DB for MongoDB account | 3–44 | global | 3–44 characters; Lowercase letters, numbers, and hyphens Start with lowercase letter or number. Scope: global. documented · Provider reference ^[a-z0-9\-]+$ |
| Cosmos DB for NoSQL account | 3–44 | global | 3–44 characters; Lowercase letters, numbers, and hyphens Start with lowercase letter or number. Scope: global. documented · Provider reference ^[a-z0-9\-]+$ |
| Cosmos DB for Table account | 3–44 | global | 3–44 characters; Lowercase letters, numbers, and hyphens Start with lowercase letter or number. Scope: global. documented · Provider reference ^[a-z0-9\-]+$ |
| Cosmos DB for Apache Gremlin account | 3–44 | global | 3–44 characters; Lowercase letters, numbers, and hyphens Start with lowercase letter or number. Scope: global. documented · Provider reference ^[a-z0-9\-]+$ |
| Cosmos DB for PostgreSQL cluster | 3–40 | See provider reference | 3–40 characters; ARM reference naming constraints: string Constraints: Min length = 3 Max length = 40 Pattern = ^(?![0-9]+$)(?!-)[a-z0-9-]{3,40}(?<!-)$ (required) Scope: See provider reference. documented · Provider reference ^(?![0-9]+$)(?!-)[a-z0-9-]{3,40}(?<!-)$ |
| Azure Managed Redis | 1–60 | See provider reference | 1–60 characters; ARM reference naming constraints: string Constraints: Pattern = ^(?=.{1,60}$)[A-Za-z0-9]+(-[A-Za-z0-9]+)*$ (required) Scope: See provider reference. documented · Provider reference ^(?=.{1,60}$)[A-Za-z0-9]+(-[A-Za-z0-9]+)*$ |
| Azure SQL Database server | 1–63 | global | 1–63 characters; Lowercase letters, numbers, and hyphens Can't start or end with hyphen. Scope: global. documented · Provider reference ^[a-z0-9\-]+$ |
| Azure SQL database | 1–128 | server | 1–128 characters; Can't use: <>*%&:\/? or control characters Can't end with period or space. Scope: server. documented · Provider reference ^[^<>\*%\&:\\/\?\x00-\x1f\x7f]+$ |
| Azure SQL Elastic Job agent | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Azure SQL Elastic Pool | 1–not published | See provider reference | 1–unpublished characters; Provider reference does not publish complete naming restrictions. Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| MySQL server (legacy) | 3–63 | global | 3–63 characters; Lowercase letters, hyphens, and numbers Can't start or end with hyphen. Scope: global. documented · Provider reference ^[a-z0-9\-]+$ |
| PostgreSQL flexible server | 3–63 | See provider reference | 3–63 characters; ARM reference naming constraints: string Constraints: Min length = 3 Max length = 63 Pattern = ^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)* (required) Scope: See provider reference. Conservative local profile. conservative · Provider reference ^[a-z0-9]+(?:-[a-z0-9]+)*$ |
| SQL Managed Instance | 1–63 | global | 1–63 characters; Lowercase letters, numbers, and hyphens Can't start or end with hyphen. Scope: global. documented · Provider reference ^[a-z0-9\-]+$ |
| App Configuration store | 5–50 | global | 5–50 characters; Alphanumerics and hyphens Can't contain a sequence of more than two hyphens. Can't start with or end with a hyphen. Scope: global. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Maps account | 1–98 | resource group | 1–98 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. Scope: resource group. partial · Provider reference ^[A-Za-z0-9_.\-]+$ |
| SignalR | 3–63 | global | 3–63 characters; Alphanumerics and hyphens Start with a letter. End with letter or number. Scope: global. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Web PubSub | 3–63 | See provider reference | 3–63 characters; ARM reference naming constraints: string Constraints: Min length = 3 Max length = 63 Pattern = ^[a-zA-Z][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]$ (required) Scope: See provider reference. documented · Provider reference ^[a-zA-Z][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]$ |
| Azure Managed Grafana | 2–30 | See provider reference | 2–30 characters; ARM reference naming constraints: string Constraints: Pattern = ^[a-zA-Z][a-z0-9A-Z-]{0,28}[a-z0-9A-Z]$ (required) Scope: See provider reference. documented · Provider reference ^[a-zA-Z][a-z0-9A-Z-]{0,28}[a-z0-9A-Z]$ |
| Managed DevOps Pool | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string Constraints: Pattern = ^[a-zA-Z0-9][a-zA-Z0-9-.]*$ (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9][A-Za-z0-9.\-]*$ |
| API Management service | 1–50 | global | 1–50 characters; Alphanumerics and hyphens Start with a letter and end with alphanumeric. Scope: global. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Integration account | 1–80 | resource group | 1–80 characters; Alphanumerics, hyphens, underscores, periods, and parentheses Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Logic app | 1–43 | resource group | 1–43 characters; Alphanumerics, hyphens, underscores, periods, and parentheses Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Service Bus namespace | 6–50 | global | 6–50 characters; Alphanumerics and hyphens Start with a letter. End with a letter or number. For more information, see Create namespace. Scope: global. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Service Bus queue | 1–260 | namespace | 1–260 characters; Alphanumerics, periods, hyphens, underscores, and slashes Start and end with alphanumeric. Scope: namespace. documented · Provider reference ^[A-Za-z0-9_./\-]+$ |
| Service Bus topic | 1–260 | namespace | 1–260 characters; Alphanumerics, periods, hyphens, underscores, and slashes Start and end with alphanumeric. Scope: namespace. documented · Provider reference ^[A-Za-z0-9_./\-]+$ |
| Service Bus topic subscription | 1–50 | topic | 1–50 characters; Alphanumerics, periods, hyphens, and underscores Start and end with alphnumeric. Scope: topic. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Automation account | 6–50 | resource group & region (See note below) | 6–50 characters; Alphanumerics and hyphens Start with a letter and end with alphanumeric. Scope: resource group & region (See note below). documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Azure Policy definition | 1–64 | scope of definition | 1–64 characters; Display name can contain any characters. Resource name can't use: #<>%&:\?/ or control characters. Can't end with period or space. Scope: scope of definition. documented · Provider reference ^[^\#<>%\&:\\\?/\x00-\x1f\x7f]+$ |
| Application Insights | 1–260 | resource group | 1–260 characters; Can't use: %&\?/ or control characters Can't end with space or period. Scope: resource group. documented · Provider reference ^[^%\&\\\?/\x00-\x1f\x7f]+$ |
| Azure Monitor action group | 1–260 | resource group | 1–260 characters; Can't use: :<>+/&%\?| or control characters Can't end with space or period. Scope: resource group. documented · Provider reference ^[^:<>\+/\&%\\\?\|\x00-\x1f\x7f]+$ |
| Azure Monitor data collection rule | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Azure Monitor alert processing rule | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Data collection endpoint | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Deployment script | 1–90 | See provider reference | 1–90 characters; ARM reference naming constraints: string Constraints: Min length = 1 Max length = 90 (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Log Analytics workspace | 4–63 | resource group | 4–63 characters; Alphanumerics and hyphens Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Log Analytics query pack | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Management group | 1–90 | tenant | 1–90 characters; Alphanumerics, hyphens, underscores, periods, and parentheses Start with a letter or number. Can't end with period. Scope: tenant. documented · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Microsoft Purview instance | 3–63 | See provider reference | 3–63 characters; ARM reference naming constraints: string Constraints: Min length = 3 Max length = 63 Pattern = ^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$ (required) Scope: See provider reference. documented · Provider reference ^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$ |
| Resource group | 1–90 | subscription | 1–90 characters; Underscores, hyphens, periods, parentheses, and letters or digits as defined by the Char.IsLetterOrDigit function Valid characters are members of the following categories in UnicodeCategory: UppercaseLetter, LowercaseLetter, TitlecaseLetter, ModifierLetter, OtherLetter, DecimalDigitNumber. Can't end with period. Scope: subscription. documented · Provider reference ^[\p{L}\p{Nd}_.()\-]+$ |
| Template spec | 1–90 | resource group | 1–90 characters; Alphanumerics, underscores, parentheses, hyphens, and periods Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Azure Migrate project | 1–260 | See provider reference | 1–260 characters; ARM reference naming constraints: string Constraints: Pattern = ^[^<>&:\?/#]{1,260}$ (required) Scope: See provider reference. documented · Provider reference ^[^<>&:\?/#]{1,260}$ |
| Database Migration Service instance | 2–62 | resource group | 2–62 characters; Alphanumerics, hyphens, periods, and underscores Start with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Recovery Services vault | 2–50 | resource group | 2–50 characters; Alphanumerics and hyphens Start with a letter. Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Application gateway | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Application security group (ASG) | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| CDN profile | 1–260 | resource group | 1–260 characters; Alphanumerics and hyphens Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| CDN endpoint | 1–50 | global | 1–50 characters; Alphanumerics and hyphens Start and end with alphanumeric. Scope: global. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Connection | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| DNS forwarding ruleset | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| DNS private resolver | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, and hyphens Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_\-]+$ |
| DNS private resolver inbound endpoint | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, and hyphens Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_\-]+$ |
| DNS private resolver outbound endpoint | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, and hyphens Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_\-]+$ |
| Azure Firewall | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Azure Firewall policy | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| ExpressRoute circuit | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| ExpressRoute direct | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| ExpressRoute gateway | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Front Door (Standard/Premium) profile | 1–260 | resource group | 1–260 characters; Alphanumerics and hyphens Start and end with alphanumeric. Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Front Door endpoint | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Front Door firewall policy | 1–128 | resource group | 1–128 characters; Alphanumerics Start with a letter. Scope: resource group. documented · Provider reference ^[A-Za-z0-9]+$ |
| IP group | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Load balancer (internal) | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Load balancer (external) | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Load balancer rule | 1–80 | load balancer | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: load balancer. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Local network gateway | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| NAT gateway | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Network interface (NIC) | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Network security perimeter | 1–80 | See provider reference | 1–80 characters; ARM reference naming constraints: string Constraints: Max length = 80 Pattern = (^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$) (required) Scope: See provider reference. documented · Provider reference (^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$) |
| Network security group (NSG) | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| NSG security rule | 1–80 | network security group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: network security group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Network Watcher | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Private Link service | 2–64 | resource group | 2–64 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Private endpoint | 2–64 | resource group | 2–64 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Public IP address | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Public IP address prefix | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Route filter | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Route server | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Route table | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Service endpoint policy | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Traffic Manager profile | 1–63 | global | 1–63 characters; Alphanumerics and hyphens Start and end with alphanumeric. Note: A period/dot (.) is not allowed in the profile name. Scope: global. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| User defined route (UDR) | 1–80 | route table | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: route table. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Virtual network | 2–64 | resource group | 2–64 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Virtual network gateway | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Virtual network manager | 1–64 | See provider reference | 1–64 characters; ARM reference naming constraints: string Constraints: Pattern = ^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$ (required) Scope: See provider reference. documented · Provider reference ^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$ |
| Virtual network peering | 1–80 | virtual network | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: virtual network. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Virtual network subnet | 1–80 | virtual network | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: virtual network. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Virtual WAN | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Virtual WAN Hub | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Azure Bastion | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Key vault | 3–24 | global | 3–24 characters; Alphanumerics and hyphens Start with a letter. End with letter or number. Can't contain consecutive hyphens. Scope: global. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Key Vault Managed HSM | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Managed identity | 3–128 | resource group | 3–128 characters; Alphanumerics, hyphens, and underscores Start with a letter or number. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_\-]+$ |
| SSH key | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| VPN Gateway | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| VPN connection | 1–80 | VPN gateway | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: VPN gateway. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| VPN site | 1–not published | See provider reference | 1–unpublished characters; Provider reference does not publish complete naming restrictions. Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Web Application Firewall (WAF) policy | 1–80 | resource group | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| WAF policy rule group | 1–80 | firewall policy | 1–80 characters; Alphanumerics, underscores, periods, and hyphens Start with alphanumeric. End with alphanumeric or underscore. Scope: firewall policy. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Azure Backup Resource Guard | 1–not published | See provider reference | 1–unpublished characters; ARM reference naming constraints: string (required) Scope: See provider reference. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Backup Vault | 2–50 | resource group | 2–50 characters; Alphanumerics and hyphens Start with a letter. Scope: resource group. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| Backup Vault policy | 1–75 | backup vault | 1–75 characters; Alphanumerics and hyphens Scope: backup vault. documented · Provider reference ^[A-Za-z0-9\-]+$ |
| File share | 3–63 | storage account | 3–63 characters; Lowercase letters, numbers, and hyphens Can't start or end with hyphen. Can't use consecutive hyphens. Scope: storage account. documented · Provider reference ^[a-z0-9\-]+$ |
| Storage account | 3–24 | global | 3–24 characters; Lowercase letters and numbers Scope: global. documented · Provider reference ^[a-z0-9]+$ |
| Storage Sync Service | 1–260 | resource group | 1–260 characters; Alphanumerics, spaces, periods, hyphens, and underscores Can't end with period or space. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_. \-]+$ |
| Virtual desktop host pool | 3–64 | resource group | 3–64 characters; Alphanumerics, underscores, periods, and hyphens Start with a letter or number. End with letter, number, or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Virtual desktop application group | 3–64 | resource group | 3–64 characters; Alphanumerics, underscores, periods, and hyphens Start with a letter or number. End with letter, number, or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Virtual desktop workspace | 3–64 | resource group | 3–64 characters; Alphanumerics, underscores, periods, and hyphens Start with a letter or number. End with letter, number, or underscore. Scope: resource group. documented · Provider reference ^[A-Za-z0-9_.\-]+$ |
| Virtual desktop scaling plan | 3–64 | See provider reference | 3–64 characters; ARM reference naming constraints: string Constraints: Min length = 3 Max length = 64 Pattern = ^[A-Za-z0-9@.\-_ ]*$ (required) Scope: See provider reference. documented · Provider reference ^[A-Za-z0-9@.\-_ ]*$ |
| Subscription display name | 1–not published | subscription display label | 1–unpublished characters; Display label only. Azure assigns a subscription GUID; this tool does not generate subscription IDs. Scope: subscription display label. Reference only: complete provider validation unavailable. reference-only · Provider reference ^[A-Za-z0-9_.()\-]+$ |
| Virtual machine / hostname (Windows, conservative ASCII) | 1–15 | resource group | 1–15 characters; Can't use spaces, control characters, or these characters: ~ ! @ # $ % ^ & * ( ) = + _ [ ] { } \ | ; : . ' " , < > / ? Windows virtual machines can't include periods or end with hyphens. Linux virtual machines can't end with periods or hyphens. Scope: resource group. Conservative local profile. conservative · Provider reference ^[A-Za-z0-9-]+$ |
Validate before provisioning
For example, stpaymentsprodeus001 uses concatenated components for a storage account, while rg-payments-prod-eus-001 retains separators. A long workload can push a storage account or Key Vault name over its length limit. The generator reports this rather than silently cutting the name.
Function apps longer than 32 characters deserve a separate host-ID collision review when sharing storage. The resource name can pass its own length check while that operational risk remains.
Sources and review date
Reviewed October 11, 2026 against Microsoft naming restrictions and Microsoft resource abbreviations. Provider documentation takes precedence when rules change.