Can we get AzureRoleAssignments of Entra Groups during group aggregation

Which IIQ version are you inquiring about?

8.4p1

We are getting Entra groups in Azure connector and is there way to get the RBAC role assignments details of groups if it has.

Hello Suneeth. The Entra connector handles Azure RBAC assignments as separate azureRoleAssignment objects, so standard group aggregation will not populate them against individual Entra groups. The documented schema also lacks principalId to link assignments back to their groups.

If you need assignments for each group, I would suggest querying Azure Resource Manager using the group’s objectId:

GET https://management.azure.com/{scope}/providers/Microsoft.Authorization/roleAssignments?api-version=2022-04-01&$filter=principalId+eq+'{groupObjectId}'

This returns the roleDefinitionId, principalId, and scope. You can resolve the role name from the role definition. A Group Aggregation Refresh Rule could then enrich the group in IIQ, with the ARM lookup and mapping implemented separately.

For permissions, the service principal needs Microsoft.Authorization/roleAssignments/read at the relevant scope, plus Microsoft.Authorization/roleDefinitions/read if resolving role names. The built-in Reader role covers both.

If you also plan to use native Azure Role Assignment aggregation, that separately requires Cloud Governance licensing (CAM also covers it).

Thanks Harish for great explanation. If we have CAM license, we will get the role assignment using this connector and no need to call any API for each group to get roleDefinitionID,principald,scope.am i right ?The connector will handle all right?

Hello Suneeth. Partly correct. Your CAM license covers Cloud Governance, but you still need to configure the azureRoleAssignment schema, the required Azure permissions, and the aggregation task.

Once configured, IIQ can aggregate Azure Role Assignment objects. However, the documented schema only includes id, displayName, resource and roleName. It does not expose principalId, roleDefinitionId or scope, and it does not automatically map assignments to individual Entra groups.

For that mapping, you would still need Azure Resource Manager data, but not a separate API call for every group. I would suggest retrieving assignments across the relevant Azure scopes, including child resource scopes where applicable, handling pagination, and matching each assignment’s principalId with the Entra group’s objectId.

This should give you the group-to-role mapping without querying each group individually.