Fix Azure AD App Roles Not Working with Nested Groups
Question details
Users are unable to inherit enterprise application roles in Azure AD when assigned through nested security 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.
Ensure you have Global Administrator or Privileged Role Administrator access in your Microsoft Entra ID (Azure AD) tenant to review and modify group assignments.
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.
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.
Create a new, flat security group dedicated specifically to this application role. Do not add other groups as members.
Add the required users directly to this new flat security group instead of nesting their department or team groups.
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.

Request Assistance from Microsoft Support
If you are using complex synchronized Active Directory setups and require advanced group scoping, contacting Microsoft support is necessary.
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. Download the Installer: Visit the official WPS Office website and click the free download button for your operating system.
- 2. Install the Suite: Run the downloaded setup file and follow the quick on-screen instructions to install the lightweight suite.
- 3. Open and Edit Microsoft Formats: Launch WPS Office and immediately open any existing Microsoft Office documents without worrying about formatting loss.

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.




