Forum Discussion
CamCov
Oct 16, 2023Copper Contributor
Auto Set "Receive only replies to you" for all members of a Teams Group
Hello, I am looking for a way to automatically set the "Following" setting "Receive only replies to you" for all existing members of a MS Teams group. Preferably, I would like to have this settin...
pritpalkarir
Sep 19, 2024Copper Contributor
This can now be achieved using the PowerShell ExchangeOnline module through a method I have recently discovered.
For existing users, execute the command below:
Get-UnifiedGroupLinks -Identity "<GroupName>" -LinkType Members |
ForEach-Object { Remove-UnifiedGroupLinks -Identity "<GroupName>" -LinkType Subscribers -Links $_.PrimarySmtpAddress -Confirm:$false }
For new users, execute the command below:
Set-UnifiedGroup -Identity "<GroupName>" -AlwaysSubscribeMembersToCalendarEvents:$false