Skip to content

Commit 868957a

Browse files
authored
Updating Remove-TeamUser.md
Updating the documentation to reflect the updated behavior of -Role parameter that exists in BETA already. This change was made to address the following issue and other related issues: https://github.com/MicrosoftDocs/office-docs-powershell/issues/4465
1 parent 8d04f52 commit 868957a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

teams/teams-ps/teams/Remove-TeamUser.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ Accept wildcard characters: False
6868
```
6969
7070
### -Role
71-
Specify the role of the user you are removing from the team.
71+
Specify the role of the user you are removing from the team. Accepts "Owner" and "Member" as possible values.
72+
If cmdlet is called with -Role parameter as "Member" then the specified user is removed from the Team completely even if they were the owner of the Team. If "Owner" is specified in the -Role parameter then the specified user is removed as an owner of the team but stays as a team member.
73+
Note: The last owner cannot be removed from the team.
7274
7375
```yaml
7476
Type: String

0 commit comments

Comments
 (0)