Search Results for

    Show / Hide Table of Contents

    Set-PnPTeamsChannel

    SYNOPSIS

    Required Permissions

    • Microsoft Graph API: Group.ReadWrite.All

    Updates an existing Teams Channel

    SYNTAX

    Set-PnPTeamsChannel -Team <TeamsTeamPipeBind> -Identity <TeamsChannelPipeBind> [-DisplayName <String>] [-Description <String>] [-IsFavoriteByDefault <Boolean>]
      
    

    DESCRIPTION

    Allows to update an existing Teams Channel.

    EXAMPLES

    EXAMPLE 1

    Set-PnPTeamsChannel -Team "MyTeam" -Channel "MyChannel" -DisplayName "My Channel"
    

    Updates the channel called 'MyChannel' to have the display name set to 'My Channel'

    EXAMPLE 2

    Set-PnPTeamsChannel -Team "MyTeam" -Channel "MyChannel" -IsFavoriteByDefault $true
    

    Updates the channel called 'MyChannel' to make it visible to members.

    PARAMETERS

    -Description

    Changes the description of the specified channel.

    Type: String
    Parameter Sets: (All)
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    -DisplayName

    Changes the display name of the specified channel.

    Type: String
    Parameter Sets: (All)
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    -Identity

    Specify the channel id or display name of the channel to use.

    Type: TeamsChannelPipeBind
    Parameter Sets: (All)
    
    Required: True
    Position: Named
    Default value: None
    Accept pipeline input: True (ByValue)
    Accept wildcard characters: False
    

    -IsFavoriteByDefault

    Allows you to specify if the channel is by default visible for members

    Type: Boolean
    Parameter Sets: Public channel
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    -Team

    Specify the group id, mailNickname or display name of the team to use.

    Type: TeamsTeamPipeBind
    Parameter Sets: (All)
    
    Required: True
    Position: Named
    Default value: None
    Accept pipeline input: True (ByValue)
    Accept wildcard characters: False
    

    RELATED LINKS

    Microsoft 365 Patterns and Practices

    Back to top Generated by DocFX spacer