-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
When the ManagementGroups
option for Get-AzureSizingInfo.ps1
is specified with a group name the following error occurs:
PS> ./Get-AzureSizingInfo.ps1 -ManagementGroups "Tenant Root Group"
Search-AzGraph: /home/damani/Get-AzureSizingInfo.ps1:429
Line |
429 | … ptionName $(Search-AzGraph -Query "ResourceContainers | where type =~ …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| { "error": { "code": "BadRequest", "message": "Please provide below info when asking for support: timestamp = 2025-01-07T18:19:24.8806098Z,
| correlationId = 393a636d-4dd5-4004-a74f-a03419e82084.", "details": [ { "code": "ManagementGroupsContainInvalidIds", "message":
| "The provided management groups must be valid. Given: 'Tenant Root Group'." } ] } }
In some conditions the script will continue and scan all subscriptions.
Metadata
Metadata
Assignees
Labels
No labels