Forum Discussion
Jonatan_TRR
Jun 04, 2020Copper Contributor
Inviting a group calendar without sending invites to the distribution group
Hi, I'm struggling with finding a good way to have a shared calendar with our Microsoft Teams team of 100+ members. We'd like to have a shared calendar where things like all the teams standups, d...
kovachgeorge
Jul 17, 2024Copper Contributor
This issue continues to persist. None of the proposed solutions have been effective, and implementing a client-side fix would be cumbersome.
The setting for "Send copies of team emails and events to team members' inboxes" is not functioning.
My goal is for people to be able to send calendar invitations to the group without a meeting invite going to all members while maintaining editing access to the calendar. I am struggling to find a solution, and I believe this is just broken.
AngryLeprechaun
Jul 17, 2024Copper Contributor
Disclaimer, the last time I used this was over a year ago (I have been out of the country) and it worked then. I recommend placing safeguards or capturing (transcript, etc..) the before and after data to compare in case something wildly goes wrong (or creating a test team with a few members and owners).
------------------------------------
#Install Exchange Online Module
Install-Module ExchangeOnlineManagement
Connect-ExchangeOnline -ExchangeEnvironmentName [INSERT ENVIRONMENT]
$group = "[MS GROUP NAME]"
#add (Add-) or remove (Remove-) from Subscribers list
$members =Get-unifiedGroup $group | Get-UnifiedGroupLinks -LinkType Member
$owners =Get-unifiedGroup $group | Get-UnifiedGroupLinks -LinkType Owner
foreach ($member in $members) {
Remove-UnifiedGroupLinks -Identity $group -Links $member.PrimarySmtpAddress -LinkType Subscriber -Confirm:$false
}
foreach ($owner in $owners) {
Remove-UnifiedGroupLinks -Identity $group -Links $member.PrimarySmtpAddress -LinkType Subscriber -Confirm:$false
}
#Hides from exchange client
Set-unifiedGroup -Identity $group -AutoSubscribeNewMembers:$false -AutoSubscribeMembersToCalendarEvents:$false
-HiddenFromExchangeClientsEnabled:$true
Disconnect-ExchangeOnline -confirm:$false -InfromationAction Ignore -ErrorAction SilentlyContinue
----------------------------------------------------------------
I think what might have been missing was "-AutoSubscribeMembersToCalendarEvents:$false" this will make sure all members do not get the invites to the calendar events.
Do not use the "-HiddenFromExchangeClientsEnabled" switch if you do not want to hide from the outlook client. Some groups I worked with didn't want to see the group in Outlook and others did.
- Avinash_MishraJul 30, 2024Copper Contributor
AngryLeprechaun It has to be Always instead of AUTO
-AlwaysSubscribeMembersToCalendarEvents
https://learn.microsoft.com/en-us/powershell/module/exchange/set-unifiedgroup?view=exchange-ps
Set-unifiedGroup -Identity email address removed for privacy reasons -AutoSubscribeNewMembers:$false -AlwaysSubscribeMembersToCalendarEvents:$false