Skip to content

Commit ab0f1dc

Browse files
authored
Merge pull request MicrosoftDocs#3486 from dariomws306/patch-13
Update Add-TeamUser.md
2 parents 7f1cab5 + 74a4e5d commit ab0f1dc

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

teams/teams-ps/teams/Add-TeamUser.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ ms.reviewer:
1111
# Add-TeamUser
1212

1313
## SYNOPSIS
14-
Adds an owner or member to the team, and to the unified group which backs the team.
15-
16-
Note: the command will return immediately, but the Teams application will not reflect the update immediately.
17-
The Teams application may need to be open for up to an hour before changes are reflected.
18-
19-
To turn an existing Member into an Owner, first Add-TeamUser -Role Owner -User to add them to the owners list, then Remove-TeamUser -User foo to remove them from the members list.
14+
The `Add-TeamUser` adds an owner or member to the team, and to the unified group which backs the team.
2015

2116
## SYNTAX
22-
2317
```
2418
Add-TeamUser -GroupId <String> -User <String> [-Role <String>] [<CommonParameters>]
2519
```
2620

2721
## DESCRIPTION
22+
This cmdlet adds an owner or member to the team, and to the unified group which backs the team.
23+
24+
> [!Note]
25+
> The command will return immediately, but the Teams application will not reflect the update immediately. The Teams application may need to be open for up to an hour before changes are reflected.
26+
27+
It doesn't work in the same way that the Teams application. If you add an owner in the application the user is also added as member to the unified group. Using this cmdlet, it will add the user only as an owner to the unified group, not as a member. Then you can run the cmdlet again to add the user as member.
2828

2929
## EXAMPLES
3030

@@ -33,12 +33,12 @@ Add-TeamUser -GroupId <String> -User <String> [-Role <String>] [<CommonParameter
3333
Add-TeamUser -GroupId 31f1ff6c-d48c-4f8a-b2e1-abca7fd399df -User [email protected]
3434
```
3535

36-
Add user [email protected] to group.
36+
This example adds the user "[email protected]" to a group with the id "31f1ff6c-d48c-4f8a-b2e1-abca7fd399df".
3737

3838
## PARAMETERS
3939

4040
### -GroupId
41-
GroupId of the team
41+
GroupId of the team.
4242

4343
```yaml
4444
Type: String
@@ -53,8 +53,7 @@ Accept wildcard characters: False
5353
```
5454
5555
### -User
56-
User's UPN (user principal name - e.g.
57-
56+
User's UPN (user principal name - e.g. [email protected]).
5857
5958
```yaml
6059
Type: String
@@ -69,7 +68,7 @@ Accept wildcard characters: False
6968
```
7069
7170
### -Role
72-
Member or Owner
71+
Member or Owner.
7372
7473
```yaml
7574
Type: String
@@ -78,7 +77,7 @@ Aliases:
7877

7978
Required: False
8079
Position: Named
81-
Default value: None
80+
Default value: Member
8281
Accept pipeline input: True (ByPropertyName)
8382
Accept wildcard characters: False
8483
```

0 commit comments

Comments
 (0)