Skip to content

Commit 15ed0e8

Browse files
authored
Merge pull request MicrosoftDocs#5036 from bchopraMSFT/patch-2
Update New-Team.md
2 parents b7029c5 + 3415f4a commit 15ed0e8

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

teams/teams-ps/teams/New-Team.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ New-Team -DisplayName <String> [-Description <String>] [-MailNickName <String>]
2828
[-AllowCreateUpdateChannels <Boolean>] [-AllowDeleteChannels <Boolean>] [-AllowAddRemoveApps <Boolean>]
2929
[-AllowCreateUpdateRemoveTabs <Boolean>] [-AllowCreateUpdateRemoveConnectors <Boolean>]
3030
[-AllowUserEditMessages <Boolean>] [-AllowUserDeleteMessages <Boolean>] [-AllowOwnerDeleteMessages <Boolean>]
31-
[-AllowTeamMentions <Boolean>] [-AllowChannelMentions <Boolean>][-ShowInTeamsSearchAndSuggestions <Boolean>] [<CommonParameters>]
31+
[-AllowTeamMentions <Boolean>] [-AllowChannelMentions <Boolean>] [-ShowInTeamsSearchAndSuggestions <Boolean>]
32+
[-RetainCreatedGroup <SwitchParameter>] [<CommonParameters>]
3233
```
3334

3435
### MigrateGroup
@@ -39,7 +40,7 @@ New-Team -GroupId <String> [-Owner <String>] [-AllowGiphy <Boolean>] [-GiphyCont
3940
[-AllowAddRemoveApps <Boolean>] [-AllowCreateUpdateRemoveTabs <Boolean>]
4041
[-AllowCreateUpdateRemoveConnectors <Boolean>] [-AllowUserEditMessages <Boolean>]
4142
[-AllowUserDeleteMessages <Boolean>] [-AllowOwnerDeleteMessages <Boolean>] [-AllowTeamMentions <Boolean>]
42-
[-AllowChannelMentions <Boolean>][-ShowInTeamsSearchAndSuggestions <Boolean>] [<CommonParameters>]
43+
[-AllowChannelMentions <Boolean>][-ShowInTeamsSearchAndSuggestions <Boolean>] [-RetainCreatedGroup <SwitchParameter>] [<CommonParameters>]
4344
```
4445

4546
## DESCRIPTION
@@ -459,6 +460,20 @@ Accept pipeline input: False
459460
Accept wildcard characters: False
460461
```
461462
463+
### -RetainCreatedGroup
464+
Switch Parameter allowing toggle of group cleanup if team creation fails. The default value of this parameter is $false to retain with current functionality where the unified group is deleted if the step of adding a team to the group fails. Set it to $true to retain the unified group created even if team creation fails to allow self-retry of team creation or self-cleanup of group as appropriate.
465+
466+
```yaml
467+
Type: SwitchParameter
468+
Parameter Sets: (All)
469+
Aliases:
470+
471+
Required: False
472+
Position: Named
473+
Default value: False
474+
Accept pipeline input: False
475+
Accept wildcard characters: False
476+
```
462477
463478
### CommonParameters
464479
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

0 commit comments

Comments
 (0)