Skip to content

Commit f1b63c2

Browse files
authored
Merge pull request MicrosoftDocs#5506 from get-itips/patch-175
Reflecting current behaviour
2 parents 3758970 + abfde75 commit f1b63c2

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ Remove-TeamUser -GroupId <String> -User <String> [-Role <String>] [<CommonParame
3333
```
3434
Remove-TeamUser -GroupId 31f1ff6c-d48c-4f8a-b2e1-abca7fd399df -User [email protected] -Role Owner
3535
```
36+
In this example, the user "dmx" is removed the role Owner but stays as a team member.
37+
38+
### Example 2
39+
```
40+
Remove-TeamUser -GroupId 31f1ff6c-d48c-4f8a-b2e1-abca7fd399df -User [email protected]
41+
```
42+
In this example, the user "dmx" is removed from the team.
3643

3744
## PARAMETERS
3845

@@ -68,8 +75,8 @@ Accept wildcard characters: False
6875
```
6976
7077
### -Role
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.
78+
If cmdlet is called with -Role parameter as "Owner", the specified user is removed as an owner of the team but stays as a team member.
79+
7380
Note: The last owner cannot be removed from the team.
7481
7582
```yaml

0 commit comments

Comments
 (0)