Entra ID limits how many group ids it puts in a token: above 200 groups in a JWT (150 for SAML, 6 for implicit flow) it omits the groups claim and adds an overage indicator (_claim_names / _claim_sources pointing at Microsoft Graph, or hasgroups in some flows), so the app must call Graph (/me/getMemberObjects or /users/{id}/transitiveMemberOf) to get memberships, which needs a Graph permission, adds latency and should be cached. Better designs avoid raw groups: define app roles and assign them to groups, so the token carries a short roles list; or set the group claim to 'groups assigned to the application' only; or keep fine-grained permissions in the app and cache them. Code must handle the overage case explicitly, or users silently lose access.
Checks awareness of the groups overage limit and app roles
Last updated 23 Nov 2026.