They complicate governance because the source directory and the target application may not share the same membership model. Entra can preserve hierarchy internally, but SCIM provisioning often collapses that hierarchy into a flat payload. Recertification, role assignment, and onboarding all become unreliable if teams assume inherited membership will be transported intact.
Why This Matters for Security Teams
Nested groups look tidy in a directory tree, but governance rarely stays tidy once identities cross system boundaries. A source directory can preserve inherited membership, while a target SaaS app, SCIM connector, or IAM workflow may only accept a flattened entitlement set. That mismatch creates review noise, broken joiner-mover-leaver processes, and false confidence that group nesting is being enforced end to end. The problem is not just technical translation, it is control drift across provisioning, certification, and audit evidence. NHI Management Group’s Top 10 NHI Issues and Ultimate Guide to NHIs — Key Challenges and Risks both point to the same pattern: the more complex the identity graph, the harder it is to prove who has access, why, and for how long. Current guidance from the OWASP Non-Human Identity Top 10 and NIST Cybersecurity Framework 2.0 both favour explicit, reviewable access paths over implied inheritance. In practice, many security teams encounter overexposure only after a recertification or audit fails, rather than through intentional design.One useful benchmark is the scale of governance weakness around NHIs more broadly: the Astrix Security & CSA research found only 1.5 out of 10 organisations are highly confident in securing NHIs. Nested groups amplify that uncertainty because the entitlement path is harder to explain, validate, and monitor.
How It Works in Practice
Operationally, nested groups fail when teams assume the directory is the system of record for every downstream authorisation decision. In the source directory, Group A may contain Group B, and Group B may contain the real users or service accounts. But once provisioning moves through SCIM, the application often receives only the resolved members or a simplified role map. The application never “sees” the nesting logic, so access reviews based on the source hierarchy can become misleading. That is why governance should shift from “does the nesting exist?” to “does the target system enforce the intended entitlement?” The Ultimate Guide to NHIs — Regulatory and Audit Perspectives and Ultimate Guide to NHIs — Lifecycle Processes for Managing NHIs emphasise lifecycle controls, which matters here because nesting changes must be treated like entitlement changes, not just directory admin work. Practical controls usually include:- Maintaining a canonical entitlement map that lists direct memberships, inherited memberships, and downstream effective access.
- Flattening nested groups before provisioning whenever the target app cannot preserve hierarchy.
- Running access recertification on effective access, not on the source group structure alone.
- Recording the business justification for each nested group so reviewers can understand the intended access path.
Common Variations and Edge Cases
Tighter group governance often increases operational overhead, so organisations must balance clean entitlement design against the cost of more frequent reviews and provisioning exceptions. Some environments can preserve nested logic internally, especially when a single directory and a single downstream app are tightly integrated. In those cases, the nesting may appear to work until an audit, a migration, or a new SaaS connector introduces a flat entitlement model. There is no universal standard for this yet, but current guidance suggests treating nested groups as an implementation detail, not an access control guarantee. That becomes especially important for service accounts, workload identities, and automation paths, where inherited access can quickly create privilege sprawl. The 52 NHI Breaches Analysis shows how unclear ownership and excessive access repeatedly turn into operational risk, while Ultimate Guide to NHIs provides the broader governance context. Two edge cases deserve special attention. First, hybrid environments may preserve group nesting in Entra but collapse it in SCIM, which means directory screenshots are not evidence of effective access. Second, shared admin groups can mask separation-of-duties problems if inherited membership bypasses intended approval flows. In both cases, the safer practice is to certify the effective entitlement set and document the translation logic explicitly.Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST AI RMF set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-03 | Nested groups obscure effective entitlements and weaken NHI access governance. |
| NIST CSF 2.0 | PR.AC-4 | This control supports managing identities and access permissions consistently across systems. |
| NIST AI RMF | Useful where automated workflows or agents consume nested entitlements as inputs. |
Certify effective access, not just directory membership, and reconcile provisioning against target-system entitlements.
Related resources from NHI Mgmt Group
- What is the difference between role-based access and API key governance for NHI security?
- Why is single-provider AI agent governance not enough for enterprise security?
- Why do API keys create more governance risk than short-lived tokens in enterprise CLIs?
- How should organisations manage third-party access as part of IAM governance?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on June 6, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org