Forum Discussion
Hide Groups membership not working / available?
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-365 any idea? cc VasilMichev TonyRedmond
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...
20 Replies
- John GruberBrass Contributor
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:
- Create a new dynamic distribution group with a rule set for custom attribute 1 with a unique value of 'company'.
- 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.
I just created a new group with PowerShell and set the parameter... But I also set the group to be Private.
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.
- John GruberBrass Contributor
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!
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
- I believe in Vasil :-)
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...
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.
- 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.