Security Policy Errors

Fix Azure AD App Roles Not Working with Nested Groups

Kushani NimanthikaKushani Nimanthika Oct 23, 2026 869 views

Question details

Users are unable to inherit enterprise application roles in Azure AD when assigned through nested security groups.

How to Fix Azure AD App Roles Not Working with Nested Groups
Product
Microsoft Entra ID (Azure AD)
Device & OS
not provided
Scenario
Assigning enterprise application permissions and roles using a nested security group structure.
Observed behavior
Role inheritance fails for users inside nested groups, preventing them from accessing the application, whereas direct group assignments work perfectly.
Before you start

Ensure you have Global Administrator or Privileged Role Administrator access in your Microsoft Entra ID (Azure AD) tenant to review and modify group assignments.

Solution 1Recommended

Flatten Security Groups for Enterprise Applications

Microsoft Entra ID has structural limitations regarding nested groups for app role assignments. Flattening the group structure is the standard resolution.

Azure AD (Microsoft Entra ID) does not natively support nested group memberships for group-based licensing or enterprise application role assignments. If you assign an app role to Group A, and Group B is a member of Group A, the users in Group B will not inherit the role.

1
Review Group Nesting

Log in to the Microsoft Entra admin center. Navigate to 'Identity' > 'Groups' > 'All groups' and locate the security group assigned to your application to verify if it contains nested groups.

2
Create a Flat Security Group

Create a new, flat security group dedicated specifically to this application role. Do not add other groups as members.

3
Assign Users Directly

Add the required users directly to this new flat security group instead of nesting their department or team groups.

4
Update Application Assignment

Navigate to 'Enterprise applications', select your app, go to 'Users and groups', and assign the newly created flat security group to the desired app role.

Flatten Security Groups for Enterprise Applications
Dynamic Groups Alternative: Instead of manual flat groups, consider using Dynamic User Groups based on user attributes (like department or job title) to automatically manage application access without relying on nesting.
Free Microsoft Office alternative

Switch to WPS Office for Simplified Enterprise Productivity

Dealing with complex Microsoft ecosystem setups like Azure AD nested groups and application role inheritances can be heavily administrative. If you are looking for a hassle-free, highly compatible productivity suite that simplifies document management without deep administrative overhead, WPS Office is an excellent free alternative to Microsoft Office.

  1. 1. Download the Installer: Visit the official WPS Office website and click the free download button for your operating system.
  2. 2. Install the Suite: Run the downloaded setup file and follow the quick on-screen instructions to install the lightweight suite.
  3. 3. Open and Edit Microsoft Formats: Launch WPS Office and immediately open any existing Microsoft Office documents without worrying about formatting loss.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Lightweight architecture that works seamlessly without complex directory dependencies.Familiar user interface that ensures zero learning curve for users migrating from Microsoft Office.Built-in advanced PDF editing, conversion, and collaboration tools.
QA img-9

Frequently Asked Questions

Why don't nested groups work for Azure AD enterprise applications?

Microsoft Entra ID (Azure AD) currently does not evaluate nested group memberships for direct app role assignments or licensing. The system only reads direct user memberships within the assigned group.

Can I use on-premises Active Directory nested groups?

While on-premises AD fully supports nested groups for file shares and local resources, when those groups are synchronized to Azure AD via Entra Connect, the nested inheritance does not carry over to cloud-based app role assignments.

How can I automatically assign roles without using nested groups?

The best workaround is to utilize Microsoft Entra Dynamic User Groups. By setting rules based on user attributes (such as Department or Title), users are automatically added to a flat group, ensuring app roles are correctly inherited.