Skip to content

Commit c05b596

Browse files
authored
Merge pull request #114359 from mumian/0507-tenant
add managementGroups to the supported resources list
2 parents 7b6291e + b30d86d commit c05b596

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

articles/azure-resource-manager/templates/deploy-to-tenant.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ As your organization matures, you may need to define and assign [policies](../..
1414
You can deploy the following resource types at the tenant level:
1515

1616
* [deployments](/azure/templates/microsoft.resources/deployments) - for nested templates that deploy to management groups or subscriptions.
17+
* managementGroups
1718
* [policyAssignments](/azure/templates/microsoft.authorization/policyassignments)
1819
* [policyDefinitions](/azure/templates/microsoft.authorization/policydefinitions)
1920
* [policySetDefinitions](/azure/templates/microsoft.authorization/policysetdefinitions)
@@ -98,13 +99,13 @@ For tenant deployments, there are some important considerations when using templ
9899
* Use the [tenantResourceId()](template-functions-resource.md#tenantresourceid) function to get the resource ID for resources that are deployed at tenant level.
99100

100101
For example, to get the resource ID for a policy definition, use:
101-
102+
102103
```json
103104
tenantResourceId('Microsoft.Authorization/policyDefinitions/', parameters('policyDefinition'))
104105
```
105-
106+
106107
The returned resource ID has the following format:
107-
108+
108109
```json
109110
/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
110111
```

0 commit comments

Comments
 (0)