Set-Team

Note: This cmdlet is currently in Beta.

Updates a team.

Syntax

Set-Team
   -GroupId <String>
   [-DisplayName <String>]
   [-Description <String>]
   [-Alias <String>]
   [-Classification <String>]
   [-Visibility <String>]

Examples

-------------------------- Example 1 --------------------------

Set-Team -GroupId 2f162b0e-36d2-4e15-8ba3-ba229cecdccf -DisplayName "Updated TeamName" -Visibility Public

Required Parameters

-GroupId

GroupId of the team

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
Applies to:Microsoft Teams

Optional Parameters

-Alias

Same as displayName without any spaces. Team Alias Characters Limit - 64

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams
-Classification

Team classification.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams
-Description

Team description. Team Description Characters Limit - 1024.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams
-DisplayName

Team display name. Team Name Characters Limit - 256.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams
-Visibility

Team visibility. Valid values are "Private" and "Public"

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams