Forum Discussion
Dynamic Group Membership from Nested Group
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 mailto:GroupB@domain.com 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?
There's no support for nested groups for either dynamic membership rules or directly adding a group.
2 Replies
- aliat_IMANAMIBrass ContributorNesting 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 https://feedback.azure.com/forums/169401-azure-active-directory/suggestions/15718164-add-support-for-nested-groups-in-azure-ad-app-acc, 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: https://bit.ly/3lYUQ9g 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 There's no support for nested groups for either dynamic membership rules or directly adding a group.