Use valid VMSS names#
Operational Excellence · Virtual Machine Scale Sets · 2020_06
Virtual Machine Scale Set (VMSS) names should meet naming requirements.
When naming Azure resources, resource names must meet service requirements. The requirements for VMSS names are:
- Between 1 and 64 characters long.
- Alphanumerics, underscores, periods, and hyphens.
- Start with alphanumeric.
- End alphanumeric or underscore.
- VM names must be unique within a resource group.
Consider using names that meet VMSS resource name requirements. Additionally, consider using a resource name that meeting OS naming requirements.
This rule does not check if VMSS names are unique.
Additionally, VMSS computer names have additional restrictions.
Azure.VMSS.ComputerName for details.
Last update: 2022-10-17