An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
Hi, Hemant. Thank you for responding to my question.
To clarify, the deployment that fials is indeed targeted at Microsoft.Authorization/roleDefinitions. I'm afraid that splitting the deployment into multiple parts is not an option, since it only contains just this single roleDefinition and nothing else.
I downloaded the deployment in Azure Portal, which contains the following deployment_operation.json:
[
{
"id": "/providers/Microsoft.Management/managementGroups/testmg/providers/Microsoft.Resources/deployments/roledeployment-20261117075032/operations/2B58C92E4C507EEC",
"operationId": "2B58C92E4C507EEC",
"properties": {
"provisioningOperation": "Create",
"provisioningState": "Failed",
"timestamp": "2026-11-17T06:50:42.4548375Z",
"duration": "PT1.9754546S",
"trackingId": "654fe47f-3253-4f94-b76f-c5f607b0bd49",
"statusCode": "BadRequest",
"statusMessage": {
"status": "Failed",
"error": {
"code": "EntitySizeExceeded",
"message": "The entity cannot be created, size exceeds limit of 1024 KB."
}
},
"targetResource": {
"id": "/providers/Microsoft.Management/managementGroups/testmg/providers/Microsoft.Authorization/roleDefinitions/ed259494-732f-5c01-9b9f-4f639cd41dcf",
"resourceType": "Microsoft.Authorization/roleDefinitions",
"resourceName": "ed259494-732f-5c01-9b9f-4f639cd41dcf"
}
}
}
]
The deployment.json file in the same download, which contains the entire deployment including parameters, has a size of 646KB (formatted, 547KB when I remove the formatting). If this is what's causing the limit of 1MB, then the documented limit of 1MB isn't really useful information, as the actual deployment operation doesn't come close to it.
However, I would have expected a JobSizeExceeded error, if that was the limit I was encountering, as per the ARM deployment size limits link you mentioned. Instead, I get a EntitySizeExceeded error. I'm still looking for the limit I'm running into that's giving me that error (and how to avoid it, obviously).