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
Copy file name to clipboardExpand all lines: teams/teams-ps/teams/Get-CsOnlineUser.md
+30-17Lines changed: 30 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,11 @@ Returns information about users who have accounts homed on Microsoft Teams or Sk
21
21
Get-CsOnlineUser [[-Identity] <UserIdParameter>]
22
22
[-AccountType <String>]
23
23
[-Filter <String>]
24
+
[-Properties <String>]
24
25
[-ResultSize <Unlimited>]
25
26
[-SkipUserPolicies]
26
27
[-SoftDeletedUser]
27
28
[-Sort]
28
-
[-UsePreferredDC]
29
29
[<CommonParameters>]
30
30
```
31
31
@@ -191,6 +191,27 @@ Accept pipeline input: False
191
191
Accept wildcard characters: False
192
192
```
193
193
194
+
### -Properties
195
+
196
+
Allows you to specify the properties you want to include in the output. Provide the properties as a comma-separated list. Identity, UserPrincipalName, Alias, AccountEnabled and DisplayName attributes will always be present in the output. Please note that only attributes available in the output of the Get-CsOnlineUser cmdlet can be selected. For a complete list of available attributes, refer to the response of the Get-CsOnlineUser cmdlet.
**Note**: Starting with Teams PowerShell Modules version 4.0 and later, "-ResultSize" type has been changed to uint32.
@@ -267,22 +288,6 @@ Accept pipeline input: False
267
288
Accept wildcard characters: False
268
289
```
269
290
270
-
### -UsePreferredDC
271
-
272
-
Reserved for Microsoft internal use.
273
-
274
-
```yaml
275
-
Type: SwitchParameter
276
-
Parameter Sets: (All)
277
-
Aliases:
278
-
279
-
Required: False
280
-
Position: Named
281
-
Default value: False
282
-
Accept pipeline input: False
283
-
Accept wildcard characters: False
284
-
```
285
-
286
291
### CommonParameters
287
292
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
288
293
@@ -315,6 +320,14 @@ A recent fix has addressed an issue where some Guest users were being omitted fr
315
320
- Conferencing_RequiresCommunicationCredits: Allows pay-per minute Audio Conferencing without monthly licenses.
316
321
- CommunicationCredits: Enables users to pay Teams calling and conferencing through the credits.
317
322
323
+
**Updates in Teams PowerShell Module version 6.9.0 and later**:
324
+
325
+
Adds new attribute in the output of Get-CsOnlineUser cmdlet in commercial environments.
326
+
- TelephoneNumbers: A new list of complex object that includes telephone number and its corresponding assignment category. The assignment category can include values such as 'Primary', 'Private', and 'Alternate'.
327
+
328
+
Adds new parameter to the Get-CsOnlineUser cmdlet in all clouds:
329
+
- Properties: Allows you to specify the properties you want to include in the output. Provide the properties as a comma-separated list. Note that the following properties will always be present in the output: Identity, UserPrincipalName, Alias, AccountEnabled, DisplayName.
330
+
318
331
**Updates in Teams PowerShell Module version 6.8.0 and later**:
319
332
320
333
New policies - TeamsBYODAndDesksPolicy, TeamsAIPolicy, TeamsWorkLocationDetectionPolicy, TeamsMediaConnectivityPolicy, TeamsMeetingTemplatePermissionPolicy, TeamsVirtualAppointmentsPolicy and TeamsWorkLoadPolicy will be visible in the Get-CsOnlineUser cmdlet output.
0 commit comments