Set a security group as a member of unified group

%3CLINGO-SUB%20id%3D%22lingo-sub-4785%22%20slang%3D%22en-US%22%3ESet%20a%20security%20group%20as%20a%20member%20of%20unified%20group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4785%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20there%20a%20way%20to%20set%20a%20security%20group%20(or%20a%20mail%20enabled%20one)%20to%20be%20a%20member%20of%20unified%20group.%20This%20can%20be%20done%20manually%20of%20course%2C%20but%20with%20the%20%E2%80%9DAdd-UnifiedGroupLinks%E2%80%9D%20command%20the%20links-parameter%20cannot%20be%20a%20security%20group.%20Can%20this%20be%20done%20with%20Graph%20API%20maybe%3F%20There%20is%20some%20information%20found%20that%20the%20Graph%20API%20could%20also%20be%20used%20to%20create%20unified%20groups...%3CBR%20%2F%3E%3CBR%20%2F%3EHere%C2%B4s%20a%20little%20background%20to%20our%20problem%3A%20We%20wanted%20to%20convert%20a%20AD%20security%20groups%20to%20a%20unified%20groups%20in%20O365.%20But%20we%20noticed%20that%20this%20way%20we%20would%20loose%20%E2%80%9Ddynamic%E2%80%9D%20membership%20of%20AD%20security%20groups.%20So%20we%20decided%20to%20create%20new%20Office%20365%20unified%20groups%20with%20AD%20security%20groups%20as%20a%20member%2C%20but%20we%20could%20not%20find%20out%20a%20way%20to%20do%20it%20%3A%5C%3C%2Fimg%3E%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20in%20advance%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EYours%3A%20Jarkko%20Tornberg%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPs.%20I%20posted%20this%20one%20to%20the%20Yammer%20as%20well...%20I%20forgot%20about%20this%20new%20platform%20%3AD%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-4785%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EGroups%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%20Groups%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-10010%22%20slang%3D%22en-US%22%3ERe%3A%20Set%20a%20security%20group%20as%20a%20member%20of%20unified%20group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-10010%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20the%20reply!%20Azure%20AD%20dynamic%20membership%20is%20a%20great%20feature%20but%20it%20is%20not%20a%20perfect%20solution%20in%20our%20case.%20We%20use%20Microsoft%20Classroom%20and%20if%20a%20Teacher%20wants%20to%20add%20students%20manually%20to%20a%20Class%20(which%20uses%20O365%20groups)%20he%2Fshe%20can%C2%B4t%20do%20that%20cause%20dynamic%20membership%20does%20not%20allow%20secondary%20means%20of%20controlling%20group%20membership.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20now%20looking%20at%20the%20OWA-option!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4889%22%20slang%3D%22en-US%22%3ERe%3A%20Set%20a%20security%20group%20as%20a%20member%20of%20unified%20group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4889%22%20slang%3D%22en-US%22%3E%3CP%3EI%20don't%20believe%20you%20can%20have%20add%20a%20security%20group%20as%20a%20member.%20%26nbsp%3BIf%20your%20goal%20is%20dynamic%20membership%2C%20that%20is%20a%20new%20released%20capability%20of%20Groups.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFrom%20%3CA%20href%3D%22http%3A%2F%2Ffasttrack.microsoft.com%2Froadmap%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Ffasttrack.microsoft.com%2Froadmap%3C%2FA%3E%3A%3C%2FP%3E%3CP%3E%22%3CSPAN%3EAdministrators%20can%20now%20create%20groups%20with%20rule-based%20memberships%20using%20the%20Azure%20Management%20Portal.%20Group%20membership%20is%20updated%20within%20a%20minute%20as%20users%E2%80%99%20properties%20change.%20This%20allows%20easy%20management%20or%20larger%20groups%2C%20or%20the%20creation%20of%20groups%20that%20always%20reflect%20the%20organization%E2%80%99s%20structure.%3C%2FSPAN%3E%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20linked%20details%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fdocumentation%2Farticles%2Factive-directory-accessmanagement-manage-groups%2F%23how-can-i-create-a-simple-rule-to-manage-members-of-a-group-dynamically%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fdocumentation%2Farticles%2Factive-directory-accessmanagement-manage-groups%2F%23how-can-i-create-a-simple-rule-to-manage-members-of-a-group-dynamically%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20know%20your%20scenario%20isn't%20copying%20the%20SG's%20members%20but%20wanted%20to%20mention%20that%20OWA%20now%20supports%20adding%20all%20the%20members%20of%20a%20DL%20or%20a%20group%20to%20another%20group.%20%26nbsp%3BIt%20adds%20a%20snapshot%20of%20the%20members%2C%20not%20a%20dynamic%20nesting.%20%26nbsp%3BI%20believe%20an%20SG%20would%20have%20to%20be%20mail-enabled%20for%20this%20to%20work.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4826%22%20slang%3D%22en-US%22%3ERe%3A%20Set%20a%20security%20group%20as%20a%20member%20of%20unified%20group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4826%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20you%20add%20a%20security%20group%20(or%20any%20other%20type)%20as%20member%20of%20%22modern%20group%22%2C%20its%20membership%20is%20expanded%20and%20the%20individual%20members%20are%20added%20as%20links%2C%20not%20the%20actual%20group.%20In%20effect%2C%20you%20can%20do%20it%20via%20this%20PowerShell%20example%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGet-DistributionGroupMember%20blabla%20%7C%20%25%20%7B%20Add-UnifiedGroupLinks%20-Identity%20blahblah%20-LinkType%20members%20-Links%20%24_.Name%20%7D%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Is there a way to set a security group (or a mail enabled one) to be a member of unified group. This can be done manually of course, but with the ”Add-UnifiedGroupLinks” command the links-parameter cannot be a security group. Can this be done with Graph API maybe? There is some information found that the Graph API could also be used to create unified groups...

Here´s a little background to our problem: We wanted to convert a AD security groups to a unified groups in O365. But we noticed that this way we would loose ”dynamic” membership of AD security groups. So we decided to create new Office 365 unified groups with AD security groups as a member, but we could not find out a way to do it :\

Thanks in advance


Yours: Jarkko Tornberg

 

Ps. I posted this one to the Yammer as well... I forgot about this new platform :D

3 Replies
Highlighted

When you add a security group (or any other type) as member of "modern group", its membership is expanded and the individual members are added as links, not the actual group. In effect, you can do it via this PowerShell example:

 

Get-DistributionGroupMember blabla | % { Add-UnifiedGroupLinks -Identity blahblah -LinkType members -Links $_.Name }

Highlighted

I don't believe you can have add a security group as a member.  If your goal is dynamic membership, that is a new released capability of Groups.

 

From http://fasttrack.microsoft.com/roadmap :

"Administrators can now create groups with rule-based memberships using the Azure Management Portal. Group membership is updated within a minute as users’ properties change. This allows easy management or larger groups, or the creation of groups that always reflect the organization’s structure."

 

The linked details:

https://azure.microsoft.com/en-us/documentation/articles/active-directory-accessmanagement-manage-gr...

 

I know your scenario isn't copying the SG's members but wanted to mention that OWA now supports adding all the members of a DL or a group to another group.  It adds a snapshot of the members, not a dynamic nesting.  I believe an SG would have to be mail-enabled for this to work.

Highlighted

Thanks for the reply! Azure AD dynamic membership is a great feature but it is not a perfect solution in our case. We use Microsoft Classroom and if a Teacher wants to add students manually to a Class (which uses O365 groups) he/she can´t do that cause dynamic membership does not allow secondary means of controlling group membership.

 

We are now looking at the OWA-option!