Skip to content

Commit 0df309f

Browse files
authored
Merge pull request #46082 from pilor/patch-8
Use correct policyDefinitions resource type
2 parents 499b1cd + 29e52a2 commit 0df309f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-resource-manager/templates/deploy-to-management-group.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ For management group deployments, there are some important considerations when u
5858

5959
* The [resourceGroup()](template-functions-resource.md#resourcegroup) function is **not** supported.
6060
* The [subscription()](template-functions-resource.md#subscription) function is **not** supported.
61-
* The [resourceId()](template-functions-resource.md#resourceid) function is supported. Use it to get the resource ID for resources that are used at management group level deployments. For example, get the resource ID for a policy definition with `resourceId('Microsoft.Authorization/roleDefinitions/', parameters('roleDefinition'))`. It returns the resource ID in the format `/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}`.
61+
* The [resourceId()](template-functions-resource.md#resourceid) function is supported. Use it to get the resource ID for resources that are used at management group level deployments. For example, get the resource ID for a policy definition with `resourceId('Microsoft.Authorization/policyDefinitions/', parameters('policyDefinition'))`. It returns the resource ID in the format `/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}`.
6262
* The [reference()](template-functions-resource.md#reference) and [list()](template-functions-resource.md#list) functions are supported.
6363

6464
## Create policies
@@ -138,4 +138,4 @@ The following example assigns an existing policy definition to the management gr
138138
* To learn about assigning roles, see [Manage access to Azure resources using RBAC and Azure Resource Manager templates](../../role-based-access-control/role-assignments-template.md).
139139
* For an example of deploying workspace settings for Azure Security Center, see [deployASCwithWorkspaceSettings.json](https://github.com/krnese/AzureDeploy/blob/master/ARM/deployments/deployASCwithWorkspaceSettings.json).
140140
* To learn about creating Azure Resource Manager templates, see [Authoring templates](template-syntax.md).
141-
* For a list of the available functions in a template, see [Template functions](template-functions.md).
141+
* For a list of the available functions in a template, see [Template functions](template-functions.md).

0 commit comments

Comments
 (0)