Forum Discussion
Disable channel creation
- Sep 10, 2020
miclarsen1 Hi! I believe you're looking for 'Set-Team' and the -AllowCreateUpdateChannels parameter.
https://docs.microsoft.com/en-us/powershell/module/teams/set-team?view=teams-ps
ChristianBergstrom "Set-Team" changes settings for 1 team not all. Is there a setting at tenant level?
sam919 Hi, try working with the Teams templates. But bear in mind you cannot use TAC (Teams admin center) because the team settings will not follow when using the GUI (don't ask me why). So, PowerShell or MS Graph for Teams is the way to go here.
- sam919Dec 17, 2021Copper Contributor
ChristianJBergstrom What setting is that though? I want to change the default for all teams not 1 team at a time.
- Dec 17, 2021Understood already.
The settings for members and guests when using PowerShell is called AllowCreateUpdateChannels and AllowGuestCreateUpdateChannels
When using Graph
"memberSettings":
"allowCreateUpdateChannels": false
"guestSettings"
"allowCreateUpdateChannels": false- sam919Dec 17, 2021Copper Contributor
ChristianJBergstrom Do you mean using "Set-Team" command? I think "AllowCreateUpdateChannels" setting is for changing it for an existing Team. I probably can run it in a loop to update all Teams but when you create a new Team, the default is set to "true" which is not desirable. Please correct me if I'm wrong.