Forum Discussion

dragondive's avatar
dragondive
Copper Contributor
May 14, 2021
Solved

How to control Teams channel notifications using powershell?

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 https://docs.microsoft.com/en-us/powershell/module/teams/?view=teams-ps, 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?

  • No PowerShell cmdlets for this, no Graph API either, only possible via the client.

2 Replies

  • No PowerShell cmdlets for this, no Graph API either, only possible via the client.
    • dragondive's avatar
      dragondive
      Copper Contributor
      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!

Resources