Forum Discussion
Dave Stone
Jul 27, 2017Copper Contributor
Prevent access requests to a group
We have a Teams group which is 'members only' in that it's only open to paying members of our internal gym. Membership of the gym is an offline process, which has to be done before we let people join...
Jul 27, 2017
As far as I know, you can't prevent access requests to Groups, but what you can do, is hide a Group from the global address list in your company and from the discover option. That way, people won't be able to find the Group, unless they are specifically invited (or someone tells them the URL of the Group).
You can do that through PowerShell:
Set-UnifiedGroup -Identity "<your Group name>" -HiddenFromAddressListsEnabled $true
More info here: https://technet.microsoft.com/en-us/library/mt238274(v=exchg.160).aspx
- Karl BollandFeb 15, 2018Copper Contributor
Thanks Maarten,
This works great, do you know if hiding the 365 group can cause any issues elsewhere in the 365 system?
Cheers
- Nikhil SinghFeb 12, 2021Copper ContributorThis works great!