Just tried to register a AzHCI Cluster today.
After a lot of issues we are now stuck where Register-AzStackHCI are creating the RG for Arc.
We have a Policy that requires Tags to be created, but it seems that Register-AzStackHCI does not use the Tags configured on the commandline, and it is not supported to pre-create this RG
From documantation:
If you want to specify the name of the Arc for server resource group, use the additional parameter -ArcServerResourceGroupName <ArcRgName>. Note that the specified <ArcRgName> cannot pre-exist, it must be created by the HCI service.
E.G.
Register-AzStackHCI -SubscriptionId "1111111-1111-1111-1111-111111111111" -ComputerName Server1 -Tag @{AvailabilityHours= "4" ; Criticality= "Critical" ; EnvironmentType = "p" ; FinancialWorkPackageId = "12345" ; owner = "XYZ"}
So we are in a sort of catch22 situation here . . . .