Skip to content

Commit 4f7c933

Browse files
authored
Merge pull request #4773 from abwlodar/patch-1
Add missing switch parameter to Set-PnPTeamsTeam.md
2 parents 4ed7441 + f47acb2 commit 4f7c933

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
140140

141141
### Contributors
142142

143+
- [abwlodar]
143144
- [jgfgoncalves]
144145
- Stephen Cox [stephen-cox-nzx]
145146
- Marijn Somers [Marijnsomers]

documentation/Set-PnPTeamsTeam.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Set-PnPTeamsTeam -Identity <TeamsTeamPipeBind> [-DisplayName <String>] [-Descrip
2727
[-AllowGiphy <Boolean>] [-AllowGuestCreateUpdateChannels <Boolean>] [-AllowGuestDeleteChannels <Boolean>]
2828
[-AllowOwnerDeleteMessages <Boolean>] [-AllowStickersAndMemes <Boolean>] [-AllowTeamMentions <Boolean>]
2929
[-AllowUserDeleteMessages <Boolean>] [-AllowUserEditMessages <Boolean>]
30-
[-GiphyContentRating <TeamGiphyContentRating>] [-ShowInTeamsSearchAndSuggestions <Boolean>]
30+
[-GiphyContentRating <TeamGiphyContentRating>] [-ShowInTeamsSearchAndSuggestions <Boolean>] [-AllowCreatePrivateChannels <Boolean>]
3131
[-Classification <String>]
3232
```
3333

@@ -277,6 +277,20 @@ Accept pipeline input: False
277277
Accept wildcard characters: False
278278
```
279279
280+
### -AllowCreatePrivateChannels
281+
Determines whether private channel creation is allowed for the team.
282+
283+
```yaml
284+
Type: Boolean
285+
Parameter Sets: (All)
286+
287+
Required: False
288+
Position: Named
289+
Default value: None
290+
Accept pipeline input: False
291+
Accept wildcard characters: False
292+
```
293+
280294
### -Classification
281295
282296
```yaml

src/Commands/Teams/SetTeamsTeam.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public class SetTeamsTeam : PnPGraphCmdlet
7171
public bool? AllowUserEditMessages;
7272

7373
[Parameter(Mandatory = false, ParameterSetName = ParameterAttribute.AllParameterSets)]
74-
public Model.Teams.TeamGiphyContentRating GiphyContentRating;
74+
public TeamGiphyContentRating GiphyContentRating;
7575

7676
[Parameter(Mandatory = false, ParameterSetName = ParameterAttribute.AllParameterSets)]
7777
public bool? ShowInTeamsSearchAndSuggestions;
@@ -81,6 +81,7 @@ public class SetTeamsTeam : PnPGraphCmdlet
8181

8282
[Parameter(Mandatory = false, ParameterSetName = ParameterAttribute.AllParameterSets)]
8383
public bool? AllowCreatePrivateChannels;
84+
8485
protected override void ExecuteCmdlet()
8586
{
8687
var groupId = Identity.GetGroupId(GraphRequestHelper);

0 commit comments

Comments
 (0)