Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

### Contributors

- [abwlodar]
- [jgfgoncalves]
- Stephen Cox [stephen-cox-nzx]
- Marijn Somers [Marijnsomers]
Expand Down
16 changes: 15 additions & 1 deletion documentation/Set-PnPTeamsTeam.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Set-PnPTeamsTeam -Identity <TeamsTeamPipeBind> [-DisplayName <String>] [-Descrip
[-AllowGiphy <Boolean>] [-AllowGuestCreateUpdateChannels <Boolean>] [-AllowGuestDeleteChannels <Boolean>]
[-AllowOwnerDeleteMessages <Boolean>] [-AllowStickersAndMemes <Boolean>] [-AllowTeamMentions <Boolean>]
[-AllowUserDeleteMessages <Boolean>] [-AllowUserEditMessages <Boolean>]
[-GiphyContentRating <TeamGiphyContentRating>] [-ShowInTeamsSearchAndSuggestions <Boolean>]
[-GiphyContentRating <TeamGiphyContentRating>] [-ShowInTeamsSearchAndSuggestions <Boolean>] [-AllowCreatePrivateChannels <Boolean>]
[-Classification <String>]
```

Expand Down Expand Up @@ -277,6 +277,20 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowCreatePrivateChannels
Determines whether private channel creation is allowed for the team.

```yaml
Type: Boolean
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Classification

```yaml
Expand Down
3 changes: 2 additions & 1 deletion src/Commands/Teams/SetTeamsTeam.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public class SetTeamsTeam : PnPGraphCmdlet
public bool? AllowUserEditMessages;

[Parameter(Mandatory = false, ParameterSetName = ParameterAttribute.AllParameterSets)]
public Model.Teams.TeamGiphyContentRating GiphyContentRating;
public TeamGiphyContentRating GiphyContentRating;

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

[Parameter(Mandatory = false, ParameterSetName = ParameterAttribute.AllParameterSets)]
public bool? AllowCreatePrivateChannels;

protected override void ExecuteCmdlet()
{
var groupId = Identity.GetGroupId(GraphRequestHelper);
Expand Down
Loading