Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The ManagementGroupSelector user-interface (UI) element lets users select a management group. Use it for management-group-scope deployments.
UI sample
The ManagementGroupSelector element renders a management-group picker.
Schema
{
"name": "managementGroup",
"type": "Microsoft.Common.ManagementGroupSelector",
"constraints": [
{
"isValid": "[not(empty(steps('basics').managementGroup.managementGroupId))]",
"message": "Select a management group."
}
],
"visible": true
}
Sample output
{
"displayName": "Contoso management group",
"managementGroupId": "contoso-mg"
}
Remarks
- The selected value includes
displayNameandmanagementGroupId. - For a management-group-scope deployment, set
view.outputs.kindtoManagementGroupand reference the selected management group with[steps('basics').managementGroup.managementGroupId]. constraintsis an optional array of custom validation rules. Each rule has anisValidexpression and amessage.