SOLVED

How to control Teams channel notifications using powershell?

%3CLINGO-SUB%20id%3D%22lingo-sub-2353701%22%20slang%3D%22en-US%22%3EHow%20to%20control%20Teams%20channel%20notifications%20using%20powershell%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2353701%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20everyone%2C%3C%2FP%3E%3CP%3EI%20want%20to%20disable%20the%20notifications%20from%20%3CEM%3Eone%3C%2FEM%3E%20team%2C%20without%20leaving%20the%20team.%20From%20the%20Teams%20app%2C%20it%20appears%20the%20only%20way%20to%20do%20this%20is%20to%20click%20the%20%22...%22%20on%20%3CEM%3Eeach%3C%2FEM%3E%20channel%20in%20that%20team%20to%20disable%20the%20notifications.%20If%20that%20team%20has%20many%20channels%20(for%20example%2C%2020%20or%20more)%2C%20this%20becomes%20tedious.%20Moreover%2C%20if%20any%20%3CEM%3Enew%3C%2FEM%3E%20channels%20are%20created%20afterwards%2C%20one%20has%20to%20find%20them%20and%20repeat%20the%20process.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20doesn't%20appear%20to%20be%20any%20way%20to%20change%20the%20notifications%20settings%20for%20the%20entire%20team%2C%20or%20even%20to%20select%20multiple%20channels.%20It%20is%20not%20clear%20why%20this%20is%20missing%20from%20the%20interface.%20Nonetheless%2C%20I%20thought%20I%20could%20%22approximately%22%20achieve%20it%20by%20running%20a%20powershell%20command%20%22in%20a%20loop%22%20over%20all%20the%20existing%20channels%20of%20a%20team.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20from%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fteams%2F%3Fview%3Dteams-ps%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Edocumentation%3C%2FA%3E%2C%20the%20cmdlets%20available%20seem%20to%20only%20enable%20configuring%20a%20%3CEM%3Eteam%3C%2FEM%3E%2C%20not%20the%20%3CEM%3Euser%3C%2FEM%3E's%20settings%20with%20respect%20to%20that%20team.%20I%20looked%20around%20for%20other%20documents%20that%20address%20this%20requirement%2C%20but%20couldn't%20find%20anything%20of%20help.%20Can%20you%20advise%20me%20on%20how%20I%20can%20achieve%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2353701%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EHow-to%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EUser%20Interface%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2353836%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20control%20Teams%20channel%20notifications%20using%20powershell%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2353836%22%20slang%3D%22en-US%22%3ENo%20PowerShell%20cmdlets%20for%20this%2C%20no%20Graph%20API%20either%2C%20only%20possible%20via%20the%20client.%3C%2FLINGO-BODY%3E
New Contributor

Hello everyone,

I want to disable the notifications from one team, without leaving the team. From the Teams app, it appears the only way to do this is to click the "..." on each channel in that team to disable the notifications. If that team has many channels (for example, 20 or more), this becomes tedious. Moreover, if any new channels are created afterwards, one has to find them and repeat the process.

 

There doesn't appear to be any way to change the notifications settings for the entire team, or even to select multiple channels. It is not clear why this is missing from the interface. Nonetheless, I thought I could "approximately" achieve it by running a powershell command "in a loop" over all the existing channels of a team.

 

However, from the documentation, the cmdlets available seem to only enable configuring a team, not the user's settings with respect to that team. I looked around for other documents that address this requirement, but couldn't find anything of help. Can you advise me on how I can achieve this?

2 Replies
best response confirmed by dragondive (New Contributor)
Solution
No PowerShell cmdlets for this, no Graph API either, only possible via the client.
That's sad to hear. Microsoft should focus on making their products more user friendly. Thanks for taking the time to respond to my query. Have a nice day!