Forum Discussion
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