diff --git a/docs/platform/infra/cloud/azure/azure-integration-scan-group.mdx b/docs/platform/infra/cloud/azure/azure-integration-scan-group.mdx index 07af669cc..41c86425a 100644 --- a/docs/platform/infra/cloud/azure/azure-integration-scan-group.mdx +++ b/docs/platform/infra/cloud/azure/azure-integration-scan-group.mdx @@ -190,7 +190,7 @@ Follow these steps, substituting the management group ID(s) you copied in Step A 3. Make sure you successfully created the role: ``` - az role assignment list --role mondoo-role --scope /providers/Microsoft.Management/managementGroups/YOUR-GROUP-ID + az role definition list --output json --query '[].{roleName:roleName, description:description}' --name "mondoo-role" ``` 4. Assign the created custom role to the app you registered: diff --git a/docs/platform/infra/cloud/azure/azure-integration-scan-subscription.mdx b/docs/platform/infra/cloud/azure/azure-integration-scan-subscription.mdx index 6b53d036f..4b002c374 100644 --- a/docs/platform/infra/cloud/azure/azure-integration-scan-subscription.mdx +++ b/docs/platform/infra/cloud/azure/azure-integration-scan-subscription.mdx @@ -222,7 +222,7 @@ Follow these steps, substituting the subscription ID(s) you copied in Step A for 3. Make sure you successfully created the role: ```bash - az role assignment list --role mondoo-role --scope /subscriptions/YOUR-SUBSCRIPTION-ID + az role definition list --output json --query '[].{roleName:roleName, description:description}' --name "mondoo-role" ``` 4. Assign the created custom role to the app you registered: