How to prevent users from creating Microsoft Teams channels

How to prevent users from creating Microsoft Teams channels

Introduction

Microsoft Teams is becoming the modern workspace and more companies, groups, and individuals are adopting it. It helps users collaborate from remote locations, from multiple devices, without the risk of information silos or missed communications. There are different types of channels in Teams 365—standard, private, and shared— which help bridge the gap between the conversation nature of Teams and granting access to resources.

Standard/Regular channels: Open to all team members, used for day-to-day communication within a team.
Private channels: Open to a defined subset of team members (including guests), used for private conversations and document sharing.
Shared channels: Open to specific team members who can collaborate with members of different teams.
 
Using the Teams license in Microsoft Office 365, every member of the company can create a channel for themselves. If many employees have unrestricted permissions for channel creation, it will cause confusion whether to create a new Teams channel or if a Teams chant will suffice. In addition, uncontrolled creation of channels will lead to the creation of duplicate channels with the same purpose, which will give no practical advantage. Therefore, it is recommended to prevent creation of unnecessary channels.

Steps to prevent users from creating Microsoft Teams channels 

Below is a step-by-step guide in preventing users from creating a channel in Microsoft Teams.

Using Microsoft Teams:

  1. Click on the three dots next to the Team Name, then click Manage Team.
  2. Click on Settings > Member permissions.
  3. Untick the checkbox that says Allow members to create and update channels; Allow members to delete and restore channels; Allow members to add and remove apps; Allow members to create, update, and remove tabs.
  4. After you uncheck this option, the members of your team won’t be able to create new regular channels.
Note: You cannot hide the Join or Create a Team button inside Teams client. The option will remain visible on the app interface even if you lock it.However, when a user clicks on that button to create a new team, they will be denied.
 

Using PowerShell Script:

  1. Open PowerShell.
  2. Use the following commands to prevent users from creating channels

$GroupName = "<SecurityGroupName>"
$AllowGroupCreation = “False”
 
Connect-AzureAD
 
$settingsObjectID = (Get-AzureADDirectorySetting | Where-object -Property Displayname -Value “Group.Unified” -EQ).id
if(!$settingsObjectID)
{
$template = Get-AzureADDirectorySettingTemplate | Where-object {$_.displayname -eq “group.unified”}
$settingsCopy = $template.CreateDirectorySetting()
New-AzureADDirectorySetting -DirectorySetting $settingsCopy
$settingsObjectID = (Get-AzureADDirectorySetting | Where-object -Property Displayname -Value “Group.Unified” -EQ).id
}
$settingsCopy = Get-AzureADDirectorySetting -Id $settingsObjectID
$settingsCopy[“EnableGroupCreation”] = $AllowGroupCreation
 
if($GroupName)
{
$settingsCopy[“GroupCreationAllowedGroupId”] = (Get-AzureADGroup -SearchString $GroupName).objectid
}
  else {
$settingsCopy[“GroupCreationAllowedGroupId”] = $GroupName
}
Set-AzureADDirectorySetting -Id $settingsObjectID -DirectorySetting $settingsCopy
 
(Get-AzureADDirectorySetting -Id $settingsObjectID).Values
    • Related Articles

    • Microsoft 365 teams best practices

      Across all sizes of businesses, Microsoft Teams has become one of the most popular collaboration tools. Teams provides robust features that enable teams to collaborate and communicate effectively, regardless of their location. With so many features ...
    • 5 steps to securing Microsoft Teams

      What is Microsoft teams?   Microsoft Teams is an online collaboration platform with persistent chat and document sharing, as well as online meetings and other necessary features for communication. Teams, a component of the Office 365 suite, supports ...
    • Managing Microsoft 365 Groups and Teams for Collaboration and Productivity – best practices

      Introduction Microsoft 365 Groups and Teams are powerful tools for collaboration and productivity, allowing teams to work together seamlessly, share resources, and communicate effectively. However, managing these tools can be complex, especially when ...
    • How to generate activity report on Microsoft 365 groups and teams

      Introduction The activity reports available for Microsoft 365 groups and Teams can be beneficial for administrators in an organization. Microsoft 365 teams group activity reports provide insight into group activities, group workloads, group counts, ...
    • Self service password reset in Microsoft 365

      Every Microsoft 365 user, at some point, tend to forget their passwords and eventually get locked out of their accounts. During such occasions, it can get difficult to try and recover access control to the accounts. Luckily, Microsoft has made it ...