CmdID / az / az deployment / az deployment mg
az deployment mg validate
Validate whether a template is valid at management group. Azure CLI reference
10 options Its page in the Azure CLI reference
Options
--handle-extended-json-format, -jSupport to handle extended template content including multiline and comments in deployment--location, -lThe location to store the deployment metadata.--management-group-id, -mThe management group id to create deployment at.--name, -nThe deployment name.--no-promptThe option to disable the prompt of missing parameters for ARM template.--parameters, -pSupply deployment parameter values.--template-file, -fThe path to the template file or Bicep file.--template-spec, -sThe template spec resource id.--template-uri, -uThe URI to the template file.--validation-levelThe deployment validation level.