Use valid Managed Identity names#
Operational Excellence · User Assigned Managed Identity · Rule · 2021_12 · Awareness
Managed Identity names should meet naming requirements.
Description#
When naming Azure resources, resource names must meet service requirements. The requirements for Managed Identity names are:
- Between 3 and 128 characters long.
- Letters, numbers, underscores, and hyphens.
- Start with letters and numbers.
- Managed Identity names must be unique within a resource group.
Recommendation#
Consider using names that meet Managed Identity naming requirements. Additionally consider naming resources with a standard naming convention.
Notes#
This rule does not check if Managed Identity names are unique.
Links#
- Repeatable infrastructure
- Naming rules and restrictions for Azure resources
- Azure deployment reference
- Recommended abbreviations for Azure resource types