SOLVED

Hide Groups membership not working / available?

%3CLINGO-SUB%20id%3D%22lingo-sub-44515%22%20slang%3D%22en-US%22%3EHide%20Groups%20membership%20not%20working%20%2F%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-44515%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3EIt%20seems%20that%20the%20hide%20membership%20option%20we%20had%20for%20Office%20365%20Groups%20is%20not%20working%20%2F%20available%3A%26nbsp%3B%3CA%20href%3D%22http%3A%2F%2Fwww.michev.info%2FBlog%2FPost%2F1314%2Fyou-can-now-hide-group-membership-for-modern-groups-in-office-365%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwww.michev.info%2FBlog%2FPost%2F1314%2Fyou-can-now-hide-group-membership-for-modern-groups-in-office-365%3C%2FA%3E%20any%20idea%3F%20cc%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F64%22%20target%3D%22_blank%22%3E%40Tony%20Redmond%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-44515%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%20Groups%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-144826%22%20slang%3D%22en-US%22%3ERe%3A%20Hide%20Groups%20membership%20not%20working%20%2F%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-144826%22%20slang%3D%22en-US%22%3E%3CP%3EJohn%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDid%20you%20check%20with%20the%20account%20who%20created%20the%20group%20or%20an%20account%20that%20is%20not%20a%20member%20of%20the%20group%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EGroup%20members%20can%20see%20the%20membership.%20The%20account%20that%20creates%20a%20group%20is%20automatically%20a%20member%20and%20can%20therefore%20see%20the%20membership.%20People%20who%20are%20not%20a%20member%20cannot.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EDynamic%20groups%20cost%20extra%20because%20they%20need%20AAD%20premium%20licenses.%20Hence%20the%20reason%20why%20people%20like%20to%20avoid%20this%20feature.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.petri.com%2Fmicrosoft-clarifies-premium-features-office-365-groups%26nbsp%3B%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.petri.com%2Fmicrosoft-clarifies-premium-features-office-365-groups%26nbsp%3B%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-144795%22%20slang%3D%22en-US%22%3ERe%3A%20Hide%20Groups%20membership%20not%20working%20%2F%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-144795%22%20slang%3D%22en-US%22%3E%3CP%3ESorry%20I%20must%20have%20copied%20the%20wrong%20command.%20I%20just%20ran%20the%20following%20command%3A%3C%2FP%3E%0A%3CP%3ENew-UnifiedGroup%20-DisplayName%20%22dev01%22%20-Alias%20dev01%20-HiddenGroupMembershipEnabled%20-AccessType%20Private%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20list%20can%20be%20expanded%20in%20Outlook.%20I'm%20not%20worried%20about%20it.%20We%20created%20dynamic%20groups.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-143204%22%20slang%3D%22en-US%22%3ERe%3A%20Hide%20Groups%20membership%20not%20working%20%2F%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-143204%22%20slang%3D%22en-US%22%3E%3CP%3EI%20just%20created%20a%20new%20group%20with%20PowerShell%20and%20set%20the%20parameter...%20But%20I%20also%20set%20the%20group%20to%20be%20Private.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20506px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F26611i4D6179887A657ABA%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22TopSecret.jpg%22%20title%3D%22TopSecret.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EI%20suspect%20that%20the%20access%20type%20is%20the%20key%20because%20if%20you%20attempt%20to%20set%20the%20group%20to%20public%2C%20you%20get%20an%20error%20saying%20that%20a%20group%20with%20hidden%20membership%20must%20be%20private.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDid%20you%20really%20use%20the%20parameters%20that%20you%20quoted%3F%20I%20just%20tried%20them%20and%20PowerShell%20flagged%20a%20%22property%20set%20cannot%20be%20resolved%20using%20the%20specified%20named%20parameters%22%20error.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-143197%22%20slang%3D%22en-US%22%3ERe%3A%20Hide%20Groups%20membership%20not%20working%20%2F%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-143197%22%20slang%3D%22en-US%22%3E%3CP%3EI%20ran%20the%20following%20command%20and%20was%20still%20able%20to%20see%20the%20group%20members%3A%3C%2FP%3E%0A%3CP%3ENew-UnifiedGroup%20-DisplayName%20%22Company%20All%22%20-HiddenGroupMembershipEnabled%3A%24true%20-Alias%20Company.All%20-PrimarySmtpAddress%20%22Company%40gitbit.org%22%20-Name%20%22Company%20All%22%20-ConvertClosedDlToPrivateGroup%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMaybe%20I%20missed%20a%20parameter%20but%20it%20didn't%20work%20for%20me.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20ended%20up%20creating%20a%20dynamic%20distribution%20group%20and%20hiding%20the%20actual%20distribution%20group%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3ECreate%20a%20new%20dynamic%20distribution%20group%20with%20a%20rule%20set%20for%20custom%20attribute%201%20with%20a%20unique%20value%20of%20'company'.%3C%2FLI%3E%0A%3CLI%3EOn%20the%20distribution%20group%20(which%20contains%20the%20members%20I%20wish%20to%20hide)%2C%20set%20the%20custom%20attribute%201%20value%20to%20'company'.%20Then%20hide%20the%20distribution%20group.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3EThe%20user's%20can%20then%20send%20to%20the%20new%20dynamic%20distribution%20group.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-46035%22%20slang%3D%22en-US%22%3ERe%3A%20Hide%20Groups%20membership%20not%20working%20%2F%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-46035%22%20slang%3D%22en-US%22%3EYeap%2C%20thanks%20for%20the%20udpate%20Tony%20%3A)%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-46032%22%20slang%3D%22en-US%22%3ERe%3A%20Hide%20Groups%20membership%20not%20working%20%2F%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-46032%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20Tony!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-46030%22%20slang%3D%22en-US%22%3ERe%3A%20Hide%20Groups%20membership%20not%20working%20%2F%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-46030%22%20slang%3D%22en-US%22%3E%3CP%3EI%20asked%20the%20question%20and%20here's%20the%20situation.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20want%20to%20hide%20the%20membership%20of%20a%20group%2C%20use%20PowerShell%20to%20create%20the%20group%20and%20specify%20the%26nbsp%3B%3CEM%3EHiddenGroupMembershipEnabled%3C%2FEM%3E%26nbsp%3Bswitch%20as%20the%20New-UnifiedGroup%20cmdlet%20still%20supports%20it.%20However%2C%20because%20Set-UnifiedGroup%20does%20not%20(it%20will%20again%20in%20the%20future)%2C%20you%20cannot%20change%20the%20hidden%20membership%20status%20again.%20That%20is%2C%20until%20Microsoft%20updates%20Set-UnifiedGroup...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-44630%22%20slang%3D%22en-US%22%3ERe%3A%20Hide%20Groups%20membership%20not%20working%20%2F%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-44630%22%20slang%3D%22en-US%22%3EI%20believe%20in%20Vasil%20%3A)%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-44619%22%20slang%3D%22en-US%22%3ERe%3A%20Hide%20Groups%20membership%20not%20working%20%2F%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-44619%22%20slang%3D%22en-US%22%3EThanks%20Drew%2C%3CBR%20%2F%3EGreat%20finding...I%20hope%20also%20Tony%20will%20have%20some%20news%20%3A)%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-44618%22%20slang%3D%22en-US%22%3ERe%3A%20Hide%20Groups%20membership%20not%20working%20%2F%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-44618%22%20slang%3D%22en-US%22%3E%3CP%3EI%20can%20confirm%20the%20parameter%20is%20gone%20for%20me%20too.%20Or%20maybe%20the%20whole%20hidden%20group%20membership%20story%26nbsp%3Bis%20just%20a%20thing%20I%20made%20up%20and%20made%20you%20believe%20%3Ap%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-44608%22%20slang%3D%22en-US%22%3ERe%3A%20Hide%20Groups%20membership%20not%20working%20%2F%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-44608%22%20slang%3D%22en-US%22%3E%3CP%3ECould%20very%20well%20be...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-44601%22%20slang%3D%22en-US%22%3ERe%3A%20Hide%20Groups%20membership%20not%20working%20%2F%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-44601%22%20slang%3D%22en-US%22%3E%3CP%3EInteresting%2C%20on%20the%20EN%20page%20for%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fmt238274%2528v%3Dexchg.160%2529.aspx%3Ff%3D255%26amp%3BMSPPError%3D-2147217396%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3ESet-UnifiedGroup%3C%2FA%3E%20it%20lists%20it%20but%20with%20a%20description%20of%26nbsp%3B%22This%20parameter%20is%20reserved%20for%20internal%20Microsoft%20use.%22%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F10605i75E9C49670D1E15D%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22hiddeng.png%22%20title%3D%22hiddeng.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20also%20no%20longer%20see%20it%20available%20in%20my%20tenant.%20%26nbsp%3BI%20would%20guess%26nbsp%3Bthis%20aligns%20with%20the%20upcoming%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22feature-item__title-text%22%3E%3CA%20href%3D%22https%3A%2F%2Ffasttrack.microsoft.com%2Froadmap%3Ffilters%3D%23I-31830%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EOffice%20365%20Groups%3A%20hidden%20membership%20support%3C%2FA%3E%20entry%20in%20the%20roadmap.%26nbsp%3B%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-44558%22%20slang%3D%22en-US%22%3ERe%3A%20Hide%20Groups%20membership%20not%20working%20%2F%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-44558%22%20slang%3D%22en-US%22%3EAnd%20at%20always%2C%20this%20issue%20appeared%20because%20a%20customer%20question...here%20you%20are%20the%20TechNet%20Article%20for%20Set-UnifiedGroup%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fes-es%2Flibrary%2Fmt238274(v%3Dexchg.160).aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Ftechnet.microsoft.com%2Fes-es%2Flibrary%2Fmt238274(v%3Dexchg.160).aspx%3C%2FA%3E%20you%20will%20find%20that%20the%20paramenter%20(HiddenGroupMembershipEnabled)%20is%20not%20there%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-44555%22%20slang%3D%22en-US%22%3ERe%3A%20Hide%20Groups%20membership%20not%20working%20%2F%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-44555%22%20slang%3D%22en-US%22%3E%3CP%3ESo%20it%20is...%20How%20strange!%20I%20shall%20ask.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-44550%22%20slang%3D%22en-US%22%3ERe%3A%20Hide%20Groups%20membership%20not%20working%20%2F%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-44550%22%20slang%3D%22en-US%22%3EThanks%20Tony%2C%20but%20what%20I%20have%20seen%20is%20that%20the%20parameter%20for%20hiding%20group%20members%20is%20not%20there%20anymore%20and%20neither%20in%20the%20documentation.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-44543%22%20slang%3D%22en-US%22%3ERe%3A%20Hide%20Groups%20membership%20not%20working%20%2F%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-44543%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20discussed%20this%20at%20Ignite%20and%20at%20that%20time%20we%20said%20that%20hidden%20group%20membership%20does%20work%20but%20it's%20imperfect%20-%20the%20group%20has%20to%20be%20private%2C%20etc.%20%26nbsp%3BThat's%20logical%20when%20you%20think%20of%20it%20because%20there's%20no%20point%20in%20having%20a%20public%20group%20with%20hidden%20members.%20I%20think%20a%20couple%20of%20other%20flaws%20were%20in%20the%20mix%20too%20that%20Microsoft%20was%20looking%20at%20fixing%20too.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
MVP

Hi all,

It seems that the hide membership option we had for Office 365 Groups is not working / available: http://www.michev.info/Blog/Post/1314/you-can-now-hide-group-membership-for-modern-groups-in-office-... any idea? cc @Vasil Michev @Tony Redmond

16 Replies
Highlighted

We discussed this at Ignite and at that time we said that hidden group membership does work but it's imperfect - the group has to be private, etc.  That's logical when you think of it because there's no point in having a public group with hidden members. I think a couple of other flaws were in the mix too that Microsoft was looking at fixing too.

Highlighted
Thanks Tony, but what I have seen is that the parameter for hiding group members is not there anymore and neither in the documentation.

So it is... How strange! I shall ask.

Highlighted
And at always, this issue appeared because a customer question...here you are the TechNet Article for Set-UnifiedGroup https://technet.microsoft.com/es-es/library/mt238274(v=exchg.160).aspx you will find that the paramenter (HiddenGroupMembershipEnabled) is not there
Highlighted

Interesting, on the EN page for Set-UnifiedGroup it lists it but with a description of "This parameter is reserved for internal Microsoft use." 

 

hiddeng.png

 

I also no longer see it available in my tenant.  I would guess this aligns with the upcoming 

 

Highlighted

Could very well be...

Highlighted

I can confirm the parameter is gone for me too. Or maybe the whole hidden group membership story is just a thing I made up and made you believe :p

Highlighted
Thanks Drew,
Great finding...I hope also Tony will have some news :)
Highlighted
I believe in Vasil :)
Highlighted
Best Response confirmed by Juan Carlos González Martín (MVP)
Solution

I asked the question and here's the situation.

 

If you want to hide the membership of a group, use PowerShell to create the group and specify the HiddenGroupMembershipEnabled switch as the New-UnifiedGroup cmdlet still supports it. However, because Set-UnifiedGroup does not (it will again in the future), you cannot change the hidden membership status again. That is, until Microsoft updates Set-UnifiedGroup...

Highlighted

Thanks Tony!

Highlighted
Yeap, thanks for the udpate Tony :)
Highlighted

I ran the following command and was still able to see the group members:

New-UnifiedGroup -DisplayName "Company All" -HiddenGroupMembershipEnabled:$true -Alias Company.All -PrimarySmtpAddress "Company@gitbit.org" -Name "Company All" -ConvertClosedDlToPrivateGroup

 

Maybe I missed a parameter but it didn't work for me.

 

I ended up creating a dynamic distribution group and hiding the actual distribution group:

  1. Create a new dynamic distribution group with a rule set for custom attribute 1 with a unique value of 'company'.
  2. On the distribution group (which contains the members I wish to hide), set the custom attribute 1 value to 'company'. Then hide the distribution group.

The user's can then send to the new dynamic distribution group.

 

 

Highlighted

I just created a new group with PowerShell and set the parameter... But I also set the group to be Private.

 

TopSecret.jpg

I suspect that the access type is the key because if you attempt to set the group to public, you get an error saying that a group with hidden membership must be private. 

 

Did you really use the parameters that you quoted? I just tried them and PowerShell flagged a "property set cannot be resolved using the specified named parameters" error. 

Highlighted

Sorry I must have copied the wrong command. I just ran the following command:

New-UnifiedGroup -DisplayName "dev01" -Alias dev01 -HiddenGroupMembershipEnabled -AccessType Private

 

The list can be expanded in Outlook. I'm not worried about it. We created dynamic groups.

 

Thanks!

Highlighted

John,

 

Did you check with the account who created the group or an account that is not a member of the group?

 

Group members can see the membership. The account that creates a group is automatically a member and can therefore see the membership. People who are not a member cannot.


Dynamic groups cost extra because they need AAD premium licenses. Hence the reason why people like to avoid this feature. https://www.petri.com/microsoft-clarifies-premium-features-office-365-groups