You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifies the Identity of the user account to be to be modified. A user identity can be specified by using one of four formats: 1) the user's SIP address; 2) the user's user principal name (UPN); 3) the user's domain name and logon name, in the form domain\logon (for example, litwareinc\kenmyer) and 4) the user's Active Directory display name (for example, Ken Myer). You can also reference a user account by using the user's Active Directory distinguished name.
111
+
Specifies the Identity of the user account to be to be modified. A user identity can be specified by using one of three formats: 1) the user's SIP address; 2) the user's user principal name (UPN); 3) the user's ObjectId/Identity.
113
112
114
113
```yaml
115
-
Type: UserIdParameter
116
-
Parameter Sets: (All)
114
+
Type: String
115
+
Parameter Sets: Identity
117
116
Aliases:
118
-
Applicable: Skype for Business Online, Microsoft Teams
117
+
Applicable: Microsoft Teams
119
118
120
119
Required: False
121
120
Position: 0
122
121
Default value: None
123
-
Accept pipeline input: False
122
+
Accept pipeline input: True
124
123
Accept wildcard characters: False
125
124
```
126
125
@@ -131,7 +130,7 @@ Returns the results of the command. By default, this cmdlet does not generate an
131
130
Type: SwitchParameter
132
131
Parameter Sets: (All)
133
132
Aliases:
134
-
Applicable: Skype for Business Online, Microsoft Teams
"Name" of the policy to be assigned. The PolicyName is simply the policy Identity minus the policy scope (the "tag:" prefix). For example, a policy with the Identity tag:Redmond has a PolicyName equal to Redmond; likewise, a policy with the Identity tag:RedmondPolicy has a PolicyName equal to RedmondPolicy.
143
+
"Name" of the policy to be assigned. The PolicyName is simply the policy Identity minus the policy scope (the "tag:" prefix). For example, a policy with the Identity tag:DialoutCPCZoneAPSTNDomestic has a PolicyName equal to DialoutCPCZoneAPSTNDomestic.
145
144
146
145
To unassign a per-user policy previously assigned to a user, set the PolicyName to a null value ($Null).
147
146
148
147
```yaml
149
148
Type: String
150
149
Parameter Sets: (All)
151
150
Aliases:
152
-
Applicable: Skype for Business Online, Microsoft Teams
151
+
Applicable: Microsoft Teams
153
152
154
153
Required: False
155
154
Position: 1
@@ -165,7 +164,7 @@ The rank of the policy assignment, relative to other group policy assignments fo
165
164
Type: Int32
166
165
Parameter Sets: GrantToGroup
167
166
Aliases:
168
-
Applicable: Skype for Business Online, Microsoft Teams
167
+
Applicable: Microsoft Teams
169
168
170
169
Required: False
171
170
Position: Named
@@ -182,7 +181,7 @@ The cmdlet is not run.
182
181
Type: SwitchParameter
183
182
Parameter Sets: (All)
184
183
Aliases: wi
185
-
Applicable: Skype for Business Online, Microsoft Teams
184
+
Applicable: Microsoft Teams
186
185
187
186
Required: False
188
187
Position: Named
@@ -198,7 +197,7 @@ Prompts you for confirmation before running the cmdlet.
198
197
Type: SwitchParameter
199
198
Parameter Sets: (All)
200
199
Aliases: cf
201
-
Applicable: Skype for Business Online, Microsoft Teams
200
+
Applicable: Microsoft Teams
202
201
203
202
Required: False
204
203
Position: Named
@@ -220,5 +219,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
220
219
221
220
The GrantToGroup syntax is supported in Teams PowerShell Module 4.5.1-preview or later.
222
221
222
+
The cmdlet is not supported for Teams resource accounts.
0 commit comments