-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update Update-PnPApp.md * Update Unregister-PnPHubSite.md * Update Unpublish-PnPApp.md * Removed WhatIf parameter * Update Test-PnPSite.md Added Connection parameter * Update Sync-PnPAppToTeams.md * Added Connection parameter * Update Test-PnPSite.md * Update Stop-PnPFlowRun.md * Update Set-PnpTeamsChannelUser.md * Added parameter descriptions --------- Co-authored-by: Gautam Sheth <[email protected]>
- Loading branch information
1 parent
489e8c9
commit bbfbf82
Showing
9 changed files
with
76 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ Updates the role of a user in an existing Microsoft Teams private channel. | |
## SYNTAX | ||
|
||
```powershell | ||
Set-PnPTeamsChannelUser -Team <TeamsTeamPipeBind> -Channel <TeamsChannelPipeBind> -Identity <TeamsChannelMemberPipeBind> -Role <String> | ||
Set-PnPTeamsChannelUser -Team <TeamsTeamPipeBind> -Channel <TeamsChannelPipeBind> -Identity <TeamsChannelMemberPipeBind> -Role <String> [-Connection <PnPConnection>] | ||
``` | ||
|
||
## DESCRIPTION | ||
|
@@ -33,18 +33,30 @@ Allows to update the role of a user in an existing Microsoft Teams private chann | |
```powershell | ||
Set-PnPTeamsChannelUser -Team 4efdf392-8225-4763-9e7f-4edeb7f721aa -Channel "19:[email protected]" -Identity MCMjMiMjMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIyMxOTowMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMEB0aHJlYWQuc2t5cGUjIzAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMA== -Role Owner | ||
``` | ||
|
||
Updates the user with specific membership ID as owner of the specified Teams private channel. | ||
|
||
### EXAMPLE 2 | ||
```powershell | ||
Set-PnPTeamsChannelUser -Team "My Team" -Channel "My Private Channel" -Identity [email protected] -Role Member | ||
``` | ||
|
||
Updates the user [email protected] as member of the specified Teams private channel. | ||
|
||
## PARAMETERS | ||
|
||
### -Connection | ||
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection. | ||
|
||
```yaml | ||
Type: PnPConnection | ||
Parameter Sets: (All) | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -Team | ||
Specify the group id, mailNickname or display name of the team to use. | ||
|
@@ -88,7 +100,7 @@ Accept wildcard characters: False | |
``` | ||
### -Role | ||
Specify the role of the user | ||
Specify the role of the user. | ||
```yaml | ||
Type: String | ||
|
@@ -104,4 +116,4 @@ Accept wildcard characters: False | |
## RELATED LINKS | ||
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp) | ||
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.