Forum Discussion
Nesting Groups
- Jun 16, 2018
Just use Distribution lists if that's all you want, they are entirely just as available as they have ever been, fully support nesting etc.
Alternatively if you read up, TonyRedmond explains that you can nest an Office 365 group within a DL via powershell if you absolutely must.
Hello TonyRedmond
Thanks for the PowerShell trick. I have added an Office 365 group as a member of a DL, finally.
But when I send email to the DL, the emails go to members of Office 365 group (like a DL). The Office 365 group itself didn't get the email. I tried to track emails, it seems Exchange Online expands the Office 365 group like a DL, instead of sending email to it. It never happens If I send an email directly to Office 365 group (it goes to the group mailbox) in Outlook.
SAD..I only have the half solution.
Just an FYI to anyone here
The fact that you can't nest, or nest into, 365 groups is ridiculous but you can work around using powershell, either in Azure automation or even in your on-prem AD server.
Create a script that collects members of desired "nested group" (security group, distribution list, AD synced group etc) and then adds any that are missing to the "nest group" (365 dynamic or static group). Or vice versa as was described already. I for one don't like having a bunch of automated processes to accomplish a simple task, but that is where we are at the moment
I wish it was possible out of the box, people nest groups in AD all the time serving dual purpose as both ACL security groups and distribution lists. If you are well organized this works great. Now we are forced to duplicate groups and create slew of new management tasks.
The fact that so much of 365 is actually good stuff makes shortcomings like this even more frustrating. It's like buying a Snickers bar with only a couple peanuts in it. Sure you got the chocolate and stuff but you really want the crunch as well
- HappyHappyManJan 06, 2021Copper Contributor
Thanks wcsand. I get it. I am hoping Microsoft fixes this shortcoming soon.
The problem was the members of most established DL (gets important emails) started using Office 365 group. Now they want to get those emails to the DL to this Office 365, but I should not delete the DL (& move the email address to the Office 365 group).