< Back
Set-Team
Post
NAME Set-Team
SYNOPSIS
This cmdlet allows you to update properties of a team, including its displayname, description, and team-specific
settings.
SYNTAX
Set-Team -GroupId <String> [-DisplayName <String>] [-Description <String>] [-MailNickName <String>]
[-Classification <String>] [-Visibility <String>] [-AllowAddRemoveApps <Boolean>] [-AllowChannelMentions
<Boolean>] [-AllowCreateUpdateChannels <Boolean>] [-AllowCreateUpdateRemoveConnectors <Boolean>]
[-AllowCreateUpdateRemoveTabs <Boolean>] [-AllowCustomMemes <Boolean>] [-AllowDeleteChannels <Boolean>]
[-AllowGiphy <Boolean>] [-AllowGuestCreateUpdateChannels <Boolean>] [-AllowGuestDeleteChannels <Boolean>]
[-AllowOwnerDeleteMessages <Boolean>] [-AllowStickersAndMemes <Boolean>] [-AllowTeamMentions <Boolean>]
[-AllowUserDeleteMessages <Boolean>] [-AllowUserEditMessages <Boolean>] [-GiphyContentRating <String>]
[-ShowInTeamsSearchAndSuggestions <Boolean>] [<CommonParameters>]
DESCRIPTION
This cmdlet allows you to update properties of a team, including its displayname, description, and team-specific
settings. This cmdlet includes all settings that used to be set using the Set-TeamFunSettings,
Set-TeamGuestSettings, etc. cmdlets
PARAMETERS
-GroupId <String>
GroupId of the team
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-DisplayName <String>
Team display name. Team Name Characters Limit - 256.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Description <String>
Team description. Team Description Characters Limit - 1024.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-MailNickName <String>
The MailNickName parameter specifies the alias for the associated Office 365 Group. This value will be used
for the mail enabled object and will be used as PrimarySmtpAddress for this Office 365 Group. The value of the
MailNickName parameter has to be unique across your tenant.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Classification <String>
This parameter is reserved for internal Microsoft use.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Visibility <String>
Team visibility. Valid values are "Private" and "Public"
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowAddRemoveApps <Boolean>
Boolean value that determines whether or not members (not only owners) are allowed to add apps to the team.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowChannelMentions <Boolean>
Boolean value that determines whether or not channels in the team can be @ mentioned so that all users who
follow the channel are notified.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowCreateUpdateChannels <Boolean>
Setting that determines whether or not members (and not just owners) are allowed to create channels.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowCreateUpdateRemoveConnectors <Boolean>
Setting that determines whether or not members (and not only owners) can manage connectors in the team.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowCreateUpdateRemoveTabs <Boolean>
Setting that determines whether or not members (and not only owners) can manage tabs in channels.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowCustomMemes <Boolean>
Setting that determines whether or not members can use the custom memes functionality in teams.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowDeleteChannels <Boolean>
Setting that determines whether or not members (and not only owners) can delete channels in the team.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowGiphy <Boolean>
Setting that determines whether or not giphy can be used in the team.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowGuestCreateUpdateChannels <Boolean>
Setting that determines whether or not guests can create channels in the team.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowGuestDeleteChannels <Boolean>
Setting that determines whether or not guests can delete in the team.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowOwnerDeleteMessages <Boolean>
Setting that determines whether or not owners can delete messages that they or other members of the team have
posted.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowStickersAndMemes <Boolean>
Setting that determines whether stickers and memes usage is allowed in the team.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowTeamMentions <Boolean>
Setting that determines whether the entire team can be @ mentioned (which means that all users will be
notified)
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowUserDeleteMessages <Boolean>
Setting that determines whether or not members can delete messages that they have posted.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowUserEditMessages <Boolean>
Setting that determines whether or not users can edit messages that they have posted.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-GiphyContentRating <String>
Setting that determines the level of sensitivity of giphy usage that is allowed in the team. Accepted values
are "Strict" or "Moderate"
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ShowInTeamsSearchAndSuggestions <Boolean>
Setting that determines whether or not private teams should be searchable from Teams clients for users who do
not belong to that team. Set to $false to make those teams not discoverable from Teams clients.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
-------------------------- Example 1 --------------------------
Set-Team -GroupId 2f162b0e-36d2-4e15-8ba3-ba229cecdccf -DisplayName "Updated TeamName" -Visibility Public
RELATED LINKS
Get-Team
New-Team
CommonParameters : True
WorkflowCommonParameters : False
details : @{name=Set-TeamArchivedState; noun=TeamArchivedState; verb=Set}
Syntax : @{syntaxItem=System.Object[]}
parameters : @{parameter=System.Object[]}
inputTypes : @{inputType=}
returnValues : @{returnValue=}
aliases : None
remarks : None
PSSnapIn :
alertSet :
description :
examples :
Synopsis :
Set-TeamArchivedState -GroupId <string> -Archived <bool> [-SetSpoSiteReadOnlyForMembers
<bool>] [<CommonParameters>]
ModuleName : MicrosoftTeams
nonTerminatingErrors :
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
Name : Set-TeamArchivedState
Category : Cmdlet
Component :
Role :
Functionality :
SYNOPSIS
This cmdlet allows you to update properties of a team, including its displayname, description, and team-specific
settings.
SYNTAX
Set-Team -GroupId <String> [-DisplayName <String>] [-Description <String>] [-MailNickName <String>]
[-Classification <String>] [-Visibility <String>] [-AllowAddRemoveApps <Boolean>] [-AllowChannelMentions
<Boolean>] [-AllowCreateUpdateChannels <Boolean>] [-AllowCreateUpdateRemoveConnectors <Boolean>]
[-AllowCreateUpdateRemoveTabs <Boolean>] [-AllowCustomMemes <Boolean>] [-AllowDeleteChannels <Boolean>]
[-AllowGiphy <Boolean>] [-AllowGuestCreateUpdateChannels <Boolean>] [-AllowGuestDeleteChannels <Boolean>]
[-AllowOwnerDeleteMessages <Boolean>] [-AllowStickersAndMemes <Boolean>] [-AllowTeamMentions <Boolean>]
[-AllowUserDeleteMessages <Boolean>] [-AllowUserEditMessages <Boolean>] [-GiphyContentRating <String>]
[-ShowInTeamsSearchAndSuggestions <Boolean>] [<CommonParameters>]
DESCRIPTION
This cmdlet allows you to update properties of a team, including its displayname, description, and team-specific
settings. This cmdlet includes all settings that used to be set using the Set-TeamFunSettings,
Set-TeamGuestSettings, etc. cmdlets
PARAMETERS
-GroupId <String>
GroupId of the team
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-DisplayName <String>
Team display name. Team Name Characters Limit - 256.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Description <String>
Team description. Team Description Characters Limit - 1024.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-MailNickName <String>
The MailNickName parameter specifies the alias for the associated Office 365 Group. This value will be used
for the mail enabled object and will be used as PrimarySmtpAddress for this Office 365 Group. The value of the
MailNickName parameter has to be unique across your tenant.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Classification <String>
This parameter is reserved for internal Microsoft use.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Visibility <String>
Team visibility. Valid values are "Private" and "Public"
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowAddRemoveApps <Boolean>
Boolean value that determines whether or not members (not only owners) are allowed to add apps to the team.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowChannelMentions <Boolean>
Boolean value that determines whether or not channels in the team can be @ mentioned so that all users who
follow the channel are notified.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowCreateUpdateChannels <Boolean>
Setting that determines whether or not members (and not just owners) are allowed to create channels.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowCreateUpdateRemoveConnectors <Boolean>
Setting that determines whether or not members (and not only owners) can manage connectors in the team.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowCreateUpdateRemoveTabs <Boolean>
Setting that determines whether or not members (and not only owners) can manage tabs in channels.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowCustomMemes <Boolean>
Setting that determines whether or not members can use the custom memes functionality in teams.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowDeleteChannels <Boolean>
Setting that determines whether or not members (and not only owners) can delete channels in the team.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowGiphy <Boolean>
Setting that determines whether or not giphy can be used in the team.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowGuestCreateUpdateChannels <Boolean>
Setting that determines whether or not guests can create channels in the team.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowGuestDeleteChannels <Boolean>
Setting that determines whether or not guests can delete in the team.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowOwnerDeleteMessages <Boolean>
Setting that determines whether or not owners can delete messages that they or other members of the team have
posted.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowStickersAndMemes <Boolean>
Setting that determines whether stickers and memes usage is allowed in the team.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowTeamMentions <Boolean>
Setting that determines whether the entire team can be @ mentioned (which means that all users will be
notified)
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowUserDeleteMessages <Boolean>
Setting that determines whether or not members can delete messages that they have posted.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AllowUserEditMessages <Boolean>
Setting that determines whether or not users can edit messages that they have posted.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-GiphyContentRating <String>
Setting that determines the level of sensitivity of giphy usage that is allowed in the team. Accepted values
are "Strict" or "Moderate"
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ShowInTeamsSearchAndSuggestions <Boolean>
Setting that determines whether or not private teams should be searchable from Teams clients for users who do
not belong to that team. Set to $false to make those teams not discoverable from Teams clients.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
-------------------------- Example 1 --------------------------
Set-Team -GroupId 2f162b0e-36d2-4e15-8ba3-ba229cecdccf -DisplayName "Updated TeamName" -Visibility Public
RELATED LINKS
Get-Team
New-Team
CommonParameters : True
WorkflowCommonParameters : False
details : @{name=Set-TeamArchivedState; noun=TeamArchivedState; verb=Set}
Syntax : @{syntaxItem=System.Object[]}
parameters : @{parameter=System.Object[]}
inputTypes : @{inputType=}
returnValues : @{returnValue=}
aliases : None
remarks : None
PSSnapIn :
alertSet :
description :
examples :
Synopsis :
Set-TeamArchivedState -GroupId <string> -Archived <bool> [-SetSpoSiteReadOnlyForMembers
<bool>] [<CommonParameters>]
ModuleName : MicrosoftTeams
nonTerminatingErrors :
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
Name : Set-TeamArchivedState
Category : Cmdlet
Component :
Role :
Functionality :