You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys
i'm trying to figure out how i can create a new managementgroup within the root management group. i have a user with global admin permissions and when i click on the root managementgroup IAM i have the following:
hierarchy settings administrator
owner
user access administrator
previously i didn't had that permissions as i believe someone added that account just weeks ago.
anyway, when i try to create a new managementgroup in azure portal, i'm successful, but when i try it with bicep with this script, i get an error:
Tenant scope deployment is not currently supported.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey guys
i'm trying to figure out how i can create a new managementgroup within the root management group. i have a user with global admin permissions and when i click on the root managementgroup IAM i have the following:
previously i didn't had that permissions as i believe someone added that account just weeks ago.
anyway, when i try to create a new managementgroup in azure portal, i'm successful, but when i try it with bicep with this script, i get an error:
Tenant scope deployment is not currently supported.
`
targetScope = 'tenant'
param mgName string = 'mg-${uniqueString(newGuid())}'
resource mgName_resource 'Microsoft.Management/managementGroups@2021-04-01' = {
name: mgName
properties: {}
}
`
which i have from here: [https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/deploy-to-tenant?tabs=azure-cli#required-access]
Can anyone help me what could be wrong?
Thanks and best regards,
Marc
Beta Was this translation helpful? Give feedback.
All reactions