Microsoft Tech Community Live:  Microsoft Teams Edition
November 09, 2021, 08:00 AM - 12:00 PM (PST)
SOLVED

Teams Channel Calendar App

%3CLINGO-SUB%20id%3D%22lingo-sub-2788331%22%20slang%3D%22en-US%22%3ETeams%20Channel%20Calendar%20App%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2788331%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20been%20playing%20about%20with%20the%20subscribers%20list%20of%20a%20Microsoft%20Teams%20group%20settings.%20I%20have%20found%20a%20way%20to%20clear%20the%20subscribers%20list%20as%20the%20feedback%20from%20people%20is%20that%20it%20is%20a%20bit%20annoying%20to%20receive%20a%20copy%20of%20the%20calendar%20entry%20in%20their%20Outlook%20inbox.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20the%20script%20I%20am%20using%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%24Group%20%3D%20%22test%40domain.onmicrosoft.com%22%3CBR%20%2F%3EGet-UnifiedGroupLinks%20%24Group%20-LinkType%20Member%20%7C%20%25%20%7BRemove-UnifiedGroupLinks%20-Identity%20%24Group%20-LinkType%20subscriber%20-Links%20%24_.Guid.toString()%20-Confirm%3A%24false%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20I%20have%20noticed%20a%20couple%20of%20things%20%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1.%20If%20I%20create%20the%20calendar%20entry%20I%20still%20receive%20a%20notification%20of%20the%20entry%20and%20when%20it%20is%20also%20cancelled%20even%20though%20I%20am%20not%20in%20the%20subscribers%20list.%20Other%20people%20in%20the%20MS%20Team%20do%20not%20receive%20the%20entry.%20Is%20there%20a%20way%20to%20stop%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E2.%20New%20members%20that%20get%20added%20into%20the%20Team%20get%20automatically%20added%20into%20the%20subscribers%20list.%20I%20could%20run%20the%20script%20nightly%20for%20example%2C%20but%20is%20there%20a%20way%20to%20default%20this%20so%20new%20members%20do%20not%20get%20auto%20added%20to%20the%20subscribers%20list%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2788331%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E%22subscribers%20list%22%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2788551%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Channel%20Calendar%20App%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2788551%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F114012%22%20target%3D%22_blank%22%3E%40blue_man%3C%2FA%3E%26nbsp%3BHello%2C%201.%20As%20you%20are%20the%20organizer%20it%20seems%20to%20be%20working%20as%20designed%20from%20my%20point%20of%20view.%20That%20can%20be%20easily%20tested%20too.%20Have%20another%20group%20member%20schedule%20a%20channel%20meeting%20and%20see%20if%20you%20get%20the%20invite%20and%20if%20the%20other%20%22non-subscriber%22%20get%20the%20notice.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E2.%20The%20parameter%20-AutoSubscribeNewMembers%20controls%20this%20and%20is%20also%20part%20of%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fexchange%2Fset-unifiedgroup%3Fview%3Dexchange-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESet-UnifiedGroup%20(ExchangePowerShell)%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20disable%20them%20all%20together%20as%20well%26nbsp%3B%3CSPAN%3E-SubscriptionEnabled%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENote%20that%20guests%20always%20get%20subscribed%20to%20the%20group%20so%20you%20would%20have%20to%20run%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fexchange%2Fremove-unifiedgrouplinks%3Fview%3Dexchange-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ERemove-UnifiedGroupLinks%20(ExchangePowerShell)%20%7C%20Microsoft%20Docs%3C%2FA%3E%20on%20a%20consistent%20basis.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAt%20least%20for%20now.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2788581%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Channel%20Calendar%20App%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2788581%22%20slang%3D%22en-US%22%3EThanks%2C%20I've%20already%20check%20these%20settings%20previously%20and%20the%20-AutoSubscribeNewMembers%20is%20set%20to%20false%20already%20as%20well%20as%20the%20other%20below%20properties%20on%20the%20group%20settings%2C%20but%20new%20members%20still%20get%20added%20to%20the%20subscribers%20list%20automatically.%20We%20don't%20allow%20guest%20so%20that%20is%20not%20an%20issue%20at%20the%20moment.%3CBR%20%2F%3E%3CBR%20%2F%3EAutoSubscribeNewMembers%20%3A%20False%3CBR%20%2F%3EAlwaysSubscribeMembersToCalendarEvents%20%3A%20False%3CBR%20%2F%3ESubscriptionEnabled%20%3A%20False%3CBR%20%2F%3E%3CBR%20%2F%3EInteresting%20that%20the%20WelcomeMessageEnabled%20is%20also%20set%20to%20%3A%20False%20but%20new%20members%20also%20receive%20the%20welcome%20email.%3CBR%20%2F%3E%3CBR%20%2F%3EIts%20as%20if%20Teams%20does%20ignore%20some%20of%20these%20group%20properties%20and%20does%20its%20own%20thing.%3C%2FLINGO-BODY%3E
Contributor

Hi,

 

I've been playing about with the subscribers list of a Microsoft Teams group settings. I have found a way to clear the subscribers list as the feedback from people is that it is a bit annoying to receive a copy of the calendar entry in their Outlook inbox.

 

This is the script I am using

 

$Group = "test@domain.onmicrosoft.com"
Get-UnifiedGroupLinks $Group -LinkType Member | % {Remove-UnifiedGroupLinks -Identity $Group -LinkType subscriber -Links $_.Guid.toString() -Confirm:$false}

 

But I have noticed a couple of things :

 

1. If I create the calendar entry I still receive a notification of the entry and when it is also cancelled even though I am not in the subscribers list. Other people in the MS Team do not receive the entry. Is there a way to stop this?

 

2. New members that get added into the Team get automatically added into the subscribers list. I could run the script nightly for example, but is there a way to default this so new members do not get auto added to the subscribers list?

 

 

6 Replies
best response confirmed by blue_man (Contributor)
Solution

@blue_man Hello, 1. As you are the organizer it seems to be working as designed from my point of view. That can be easily tested too. Have another group member schedule a channel meeting and see if you get the invite and if the other "non-subscriber" get the notice.


2. The parameter -AutoSubscribeNewMembers controls this and is also part of Set-UnifiedGroup (ExchangePowerShell) | Microsoft Docs

 

You can disable them all together as well -SubscriptionEnabled

 

Note that guests always get subscribed to the group so you would have to run the Remove-UnifiedGroupLinks (ExchangePowerShell) | Microsoft Docs on a consistent basis.

 

At least for now.

Thanks, I've already check these settings previously and the -AutoSubscribeNewMembers is set to false already as well as the other below properties on the group settings, but new members still get added to the subscribers list automatically. We don't allow guest so that is not an issue at the moment.

AutoSubscribeNewMembers : False
AlwaysSubscribeMembersToCalendarEvents : False
SubscriptionEnabled : False

Interesting that the WelcomeMessageEnabled is also set to : False but new members also receive the welcome email.

Its as if Teams does ignore some of these group properties and does its own thing.
I bet you're on hybrid with Exchange on-premises?

We sure are, but why would that affect the settings of an o365 group that is in the cloud out of interest?

@blue_man It's both confusing and complicated as some commands work. But in short, it's not a supported configuration. On-premises users cannot access the group mailbox in Outlook, so to allow communication with these users they are added to the subscriber list automatically. In other words, you need to run your "remove-script" on a consistent basis or wait for a migration to the cloud as unified groups and their cmdlets are only relevant to EXO.

ok thanks