Troubleshoot errors using management groups
When you create and work with management groups you might run into errors. This article describes various general errors that might occur, and it suggests ways to resolve them.
Most errors are the result of an issue while running a command with management groups. When a command fails, the SDK provides details about the failure. This information indicates the issue so that it can be fixed and a later command succeeds.
Customers with a large
resource hierarchy may get the
following message when querying the
Management Groups - Get REST API with a
combination of $expand
and $recurse
parameters:
The response of the message was too large. Use another API or other workarounds. See https://aka.ms/mg/responsesize for more info.
The Get management group REST API doesn't return results if the payload is larger than 15 MB. This REST API is intended to get details for a single management group.
There are several methods of dealing with a response that is too large:
- Use the Management Groups - Get Descendants REST API. This API supports pagination.
- If looking for a single management group, remove the
$expand
and$recurse
parameters from the request to reduce the response size.
If you didn't see your problem or are unable to solve your issue, visit one of the following channels for more support:
Get answers from Azure experts through Azure support.
If you need more help, you can file an Azure support incident. Go to the Azure support site and submit your request.