CmdID / PowerShell / Cmdlets / Set
Set-CsTeamsChannelsPolicy
The CsTeamsChannelsPolicy allows you to manage features related to the Teams and Channels experience within the Teams application. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 25 parameters Its page in the reference
Parameters
Show its 25 parameters
-AllowChannelSharingToExternalUserOwners of a shared channel can invite external users to join the channel if Microsoft Entra external sharing policies are configured.-AllowOrgWideTeamCreationDetermines whether a user is allowed to create an org-wide team.-AllowPrivateChannelCreationDetermines whether a user is allowed to create a private channel.-AllowSharedChannelCreationTeam owners can create shared channels for people within and outside the organization.-AllowUserToParticipateInExternalSharedChannelUsers and teams can be invited to external shared channels if Microsoft Entra external sharing policies are configured.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-EnablePrivateTeamDiscoveryDetermines whether a user is allowed to discover private teams in suggestions and search results.-AllowCreateChannelThis setting enables/disables Next Generation Channel creation and editing.-AllowCreateClassicChannelThis setting enables/disables Classic Channel creation and editing.-AllowCreatePrivateChannelThis setting enables/disables Next Generation Private Channel creation and editing.-AllowCreateSharedChannelThis setting enables/disables Next Generation Shared Channel creation and editing.-AllowGuestsFromOutsideTeamThis setting enables/disables whether guests from outside the team are allowed in Next Generation Channels.-AllowGuestsFromOutsideTeamInPrivateChannelThis setting enables/disables whether guests from outside the team are allowed in Next Generation Private Channels.-AllowSharingPrivateChannelWithTeamInOrgThis setting enables/disables sharing Next Generation Private Channels with Teams in the same organization.-AllowSharingWithTeamInOrgThis setting enables/disables sharing Next Generation Channels with Teams in the same organization.-AllowUsersFromOutsideTeamThis setting enables/disables whether users from outside the team are allowed in Next Generation Channels.-AllowUsersFromOutsideTeamInPrivateChannelThis setting enables/disables whether users from outside the team are allowed in Next Generation Private Channels.-CreateSharedChannelsByDefaultThis setting sets whether users are able to create Next Generation Shared Channels by default.-DefaultChannelTypeOnCreationThis setting sets the default channel type that users will have available.-ForceBypass all non-fatal errors.-IdentityUse this parameter to specify the name of the policy being updated.-InstanceUse this parameter to pass the policy object output of Get-CsTeamsChannelsPolicy to update that policy.-TenantInternal Microsoft use only.-ThreadedChannelCreationThis setting enables/disables Threaded Channel creation and editing.-WhatIf, -wiShows what would happen if the cmdlet runs.