Forum Discussion
miclarsen1
Sep 10, 2020Brass Contributor
Disable channel creation
Hi, Is there a global setting to prevent users from creating new channels? I can only find a way to disable private channels, but nothing for ordinary channels? -Michael
- 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
Dec 17, 2021
Understood already.
The settings for members and guests when using PowerShell is called AllowCreateUpdateChannels and AllowGuestCreateUpdateChannels
When using Graph
"memberSettings":
"allowCreateUpdateChannels": false
"guestSettings"
"allowCreateUpdateChannels": false
The settings for members and guests when using PowerShell is called AllowCreateUpdateChannels and AllowGuestCreateUpdateChannels
When using Graph
"memberSettings":
"allowCreateUpdateChannels": false
"guestSettings"
"allowCreateUpdateChannels": false
sam919
Dec 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.
- Dec 18, 2021Yes, I haven't worked that much with templates but from my experience the Owner of the team will always be able to check/uncheck whatever settings you predefine.
- sam919Dec 18, 2021Copper Contributor
ChristianJBergstrom So I can create a team template with the settings I want and when a user wants to create a new team they should choose that template to create their team from that template, correct?
- Dec 17, 2021No, use a template https://docs.microsoft.com/en-us/powershell/module/teams/new-csteamtemplate?view=teams-ps or Graph.