Use valid SQL failover group names

March 21, 2025 ยท View on GitHub

SYNOPSIS

Azure SQL failover group names should meet naming requirements.

DESCRIPTION

When naming Azure resources, resource names must meet service requirements. The requirements for SQL failover group names are:

  • Between 1 and 63 characters long.
  • Lowercase letters, numbers, and hyphens.
  • Can't start or end with a hyphen.
  • SQL failover group names must be globally unique.

RECOMMENDATION

Consider using names that meet Azure SQL failover group naming requirements. Additionally consider naming resources with a standard naming convention.

NOTES

This rule does not check if Azure SQL failover group names are unique.