Skip to content

Commit 81bc36b

Browse files
authored
Merge pull request MicrosoftDocs#10555 from isrumnon/patch-32
Update Get-CsOnlineUser.md
2 parents 8f19f47 + 3a83185 commit 81bc36b

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

skype/skype-ps/skype/Get-CsOnlineUser.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Accept wildcard characters: False
142142
### -Identity
143143
Indicates the Identity of the user account to be retrieved.
144144
145-
For TeamsOnly customers using the Teams PowerShell Module version 3.0.0 or later, you use the following values to identify the account (note that these changes are only rolled out in commercial environments at present and will be applicable to the lastest TPM versions in government environments starting March 31, 2023.):
145+
For TeamsOnly customers using the Teams PowerShell Module version 3.0.0 or later, you use the following values to identify the account (note that these changes are only rolled out in commercial environments including GCC at present, and will be applicable to the latest TPM versions in GCC High and DoD environments starting March 15, 2023 with TPM 5.0.1):
146146
147147
- GUID
148148
- SIP address
@@ -253,8 +253,8 @@ These filtering operators have been reintroduced:
253253
- “-like” operator now supports the use of wildcard operators in ‘contains’ and ‘ends with’ scenarios. For example:
254254

255255
```
256-
Contains Scenario: Get-CsOnlineUser -Filter "AssignedPlan -like '*MCO*'"
257-
Ends with scenario: Get-CsOnlineUser -Filter {AssignedPlan -like '*MCO'}
256+
Contains Scenario: Get-CsOnlineUser -Filter "DisplayName -like '*abc*'"
257+
Ends with scenario: Get-CsOnlineUser -Filter {DisplayName -like '*abc'}
258258
```
259259
- “-contains” can now be used to filter properties that are an array of strings like FeatureTypes, ProxyAddresses, and ShadowProxyAddresses. For example:
260260
```
@@ -269,10 +269,11 @@ Get-CsOnlineUser -Filter {UserPrincipalName -gt/-le/-lt “abc”}
269269
```
270270
Get-CsOnlineUser -Filter {ExternalAccessPolicy -ge "xyz_policy"}
271271
```
272+
**Updates in Teams PowerShell Module version 3.0.0 and above**
272273

273274
The following updates are applicable for organizations having TeamsOnly users that use Microsoft Teams PowerShell version 3.0.0 and later (excluding updates mentioned previously for Teams PowerShell Module version 5.0.0):
274275

275-
In the Teams PowerShell Module version 3.0.0 or later, filtering functionality is now limited to the following attributes (note that these changes are only rolled out in commercial environments at present and will be applicable to the lastest TPM versions in government environments starting March 31, 2023.):
276+
In the Teams PowerShell Module version 3.0.0 or later, filtering functionality is now limited to the following attributes (note that these changes are only rolled out in commercial environments including GCC at present, and will be applicable to the latest TPM versions in GCC High and DoD environments starting March 15, 2023 with TPM 5.0.1):
276277

277278
- AccountType
278279
- AccountEnabled
@@ -546,12 +547,22 @@ New attributes have now been introduced in the output of Get-CsOnlineUser when n
546547
- UserValidationErrors
547548
- WhenCreated
548549

549-
Unlicensed Users: Unlicensed users would show up in the output for 30 days post-license removal.
550-
Soft deleted users: These users will be displayed in the output of Get-CsOnlineUser and the TAC Manage Users page by default with SoftDeletionTimestamp set to a value.
550+
The following updates are now applicable to the output in scenarios where "-identity" parameter is not used:
551+
552+
- Only valid OnPrem users would be available in the output: These are users that are DirSyncEnabled and have a valid OnPremSipAddress or SIP address in ShadowProxyAddresses.
553+
- Guest users are now available in the output.
554+
- Unlicensed Users: Unlicensed users would show up in the output for 30 days post-license removal.
555+
- Soft deleted users: These users will be displayed in the output of Get-CsOnlineUser and the TAC Manage Users page by default with SoftDeletionTimestamp set to a value.
556+
557+
If any information is required for a user that is not available in the output (when not using "-identity" parameter) then it can be obtained using the "-identity" parameter. Information for all users would be available using the "-identity" parameter until they are hard deleted.
558+
559+
If Guest users and SoftDeletedUsers are not required in the output then they can be filtered out by using filter on AccountType and SoftDeletionTimestamp respectively. For example:
560+
- Get-CsOnlineUser -Filter {AccountType -ne 'Guest'}
561+
- Get-CsOnlineUser -Filter {SoftDeletionTimestamp -eq $null}
551562

552563
**Updates in Teams PowerShell Module version 3.0.0 and above**
553564

554-
The following updates are applicable for organizations having TeamsOnly users that use Microsoft Teams PowerShell version 3.0.0 and later, excluding updates mentioned previously for Teams PowerShell Module version 5.0.0 (note that these changes are only rolled out in commercial environments at present and will be applicable to the lastest TPM versions in government environments starting March 31, 2023.):
565+
The following updates are applicable for organizations having TeamsOnly users that use Microsoft Teams PowerShell version 3.0.0 and later, excluding updates mentioned previously for Teams PowerShell Module version 5.0.0 (note that these changes are only rolled out in commercial environments including GCC at present and will be applicable to the latest TPM versions in GCC High and DoD environments starting March 15, 2023 with TPM 5.0.1):
555566

556567
*New user attributes*:
557568

0 commit comments

Comments
 (0)