Forum Discussion
Quentin Finck
Aug 08, 2016Brass Contributor
Nesting Groups
Am I missing something or is it not possible currently to nest O365 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.
DMcGehee
Apr 15, 2021Copper Contributor
TonyRedmondIs this no longer functional? I have used it a few weeks ago, but now it doesn't matter what combination of DL and Group I use in my tenant, it gives me an error.
An Azure Active Directory call was made to keep object in sync between Azure Active Directory and Exchange Online.
However, it failed. Detailed error message:
A Unified Group cannot be added as a member of a Distribution List or Security Group or Elevated Group. paramName:
Members, paramValue: , objectType: Microsoft.Online.DirectoryServices.Group RequestId :
619ff911-e67b-4bcf-abb7-89f3a4cb6500
The issue may be transient and please retry a couple of minutes later. If issue persists, please see exception members
for more information.
+ CategoryInfo : NotSpecified: (:) [Add-DistributionGroupMember], UnableToWriteToAadException
+ FullyQualifiedErrorId : [Server=CY4PR08MB2934,RequestId=6b0833cd-2fa1-4674-8b1b-7e65ffaefae4,TimeStamp=4/15/2021
1:45:06 PM] [FailureCategory=Cmdlet-UnableToWriteToAadException] 586CF1B6,Microsoft.Exchange.Management.Recipient
Tasks.AddDistributionGroupMember
+ PSComputerName : outlook.office365.comTonyRedmond
Apr 15, 2021MVP
Looks like Microsoft has updated Add-DistributionGroupMember to stop people adding Microsoft 365 Groups to DLs. Oh well...