Azure Policy on ManagementGroups #5816
-
Hi, @description('Target Management Group') var mgScope = tenantResourceId('Microsoft.Management/managementGroups', targetMG) resource policyAssignment 'Microsoft.Authorization/policyAssignments@2020-03-01' = { Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I believe that the error is hidden in
|
Beta Was this translation helpful? Give feedback.
-
Thanks for catching. All works |
Beta Was this translation helpful? Give feedback.
I believe that the error is hidden in
policyDefinitionId
underpolicyAssignment
resource. You already have a variable with policy definitionid calledpolicyDefinition