Dynamic Group Membership from Nested Group

New Contributor

I have a several distribution/security groups in our on-premise AD that have been in use for years. We recently implemented a BI tool and have several automated emails being sent throughout the day to these groups. We are getting a lot of bounce backs for users that no longer have mail boxes or have been terminated. My first thought is to create new dynamic groups and change the mail-to addresses in the BI tool. The thought was to make a rule that if the user is enabled and is a member of GroupX, then it would be added as a member of this new dynamic group (GroupY). We would then send the reports to send to and it would always be up to date with our AD changes leaving GroupA intact.


What I'm unable to find is the option to add members to a group based on another group membership. I took a Teams administration class about a month ago and I brought this topic up for another issue and the instructor said I would be able to do exactly what I'm wanting to do now, just never had a use for it over the last few weeks.


Is this possible, and if so, how can I accomplish it?

2 Replies
best response confirmed by dalbright (New Contributor)

There's no support for nested groups for either dynamic membership rules or directly adding a group. 


Nesting itself is not supported in Office 365 and Azure and MS encourage to convert nested groups to office365 groups.
It will not add actual group rather than members and managing these permissions for now is complex since there is no nesting supported by MS in Azure or Office 365.
With reference to adding support for Nesting Groups in AD: 

As per Microsoft Admins, they are currently evaluating an option that will provide the functionality offered by nested groups, but removes the complexity nested groups adds.


Below are use cases that can be explored:


Use case A: nested group in a cloud security group inherits apps assignment
Use case B: nested group in a cloud security group inherits license assignment
Use case C: nesting groups under Office 365 groups