Skip to content

Commit a4966b3

Browse files
authored
Update Get-CsOnlineUser.md
Added information about LocationPolicy, UnlicensedUser
1 parent 49ff670 commit a4966b3

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

teams/teams-ps/teams/Get-CsOnlineUser.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ This parameter is added to Get-CsOnlineUser starting from TPM 4.5.1 to indicate
127127
- `ResourceAccount` - to query for app endpoints or resource accounts.
128128
- `Guest` - to query for guest accounts.
129129
- `SfBOnPremUser` - to query for users that are hosted on-premises (available from January 31, 2023, in the latest TPM versions at that time).
130-
- `Unknown` - to query for a user type that is not known.
130+
- `Unknown` - to query for a user type that is not known. (This AccountType is being renamed to IneligibleUser)
131131

132132
```yaml
133133
Type: UserIdParameter
@@ -562,6 +562,26 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
562562

563563
A recent fix has addressed an issue where some Guest users were being omitted from the output of the Get-CsOnlineUser cmdlet, resulting in an increase in the reported user count.
564564

565+
**Updates in Teams PowerShell Module version 6.1.1 Preview and later**
566+
567+
The following updates are applicable for organizations that use Microsoft Teams PowerShell version 6.1.1 (Targeted Release: April 15th, 2024) or later. These changes will be gradually rolled out for all tenants starting from April 26th, 2024.
568+
569+
When using the Get-CsOnlineUser cmdlet in Teams PowerShell Module without the -identity parameter, we are introducing these updates:
570+
- Before the rollout, unlicensed users who did not have a valid Teams license were displayed in the output of the Get-CsOnlineUser cmdlet for 30 days after license removal. After the rollout, Get-CsOnlineUser will show unlicensed users after the initial 30 days and also include unlicensed users who never had a valid Teams license.
571+
- The AccountType value Unknown is being renamed to IneligibleUser, and will include users who do not have a valid Teams license (exceptions: Guest, SfbOnPremUser, and ResourceAccount).
572+
- You can exclude users with the AccountType as IneligibleUser from the output with the AccountType filter. For example, Get-CsOnlineUser -Filter {AccountType -ne 'IneligibleUser'}
573+
574+
When Get-CsOnlineUser is used with the -identity parameter, you can also use UPN, Alias, and SIP Address with the -identity parameter to obtain the information for a specific unlicensed user.
575+
576+
**Updates in Teams PowerShell Module version 6.1.0 and later**
577+
578+
The following updates are applicable for organizations that use Microsoft Teams PowerShell version 6.1.0 or later.
579+
580+
- LocationPolicy: LocationPolicy attribute is being deprecated from the output of Get-CsOnlineUser in all clouds. Get-CsPhoneNumberAssignment -IsoCountryCode can be used to get the LocationPolicy information. (Note: LocationPolicy attribute will no longer be populated with value in the older Teams Powershell Module versions (<6.1.0) starting from 20th March 2024.)
581+
582+
- OptionFlags: OptionFlags attribute will no longer be populated with value in the output of Get-CsOnlineUser in all clouds. It's important to note that other details besides EnterpriseVoiceEnabled, previously found in OptionFlags, are no longer relevant for Teams. Administrators can still utilize the EnterpriseVoiceEnabled attribute in the output of the Get-CsOnlineUser cmdlet to get this information. (Note: This change will be rolled out to all Teams Powershell Module versions (=<6.1.0) starting from 20th March 2024.)
583+
584+
565585
**Updates in Teams PowerShell Module version 6.0.0 and later**
566586

567587
The following updates are applicable for organizations having TeamsOnly users that use Microsoft Teams PowerShell version 6.0.0 or later.

0 commit comments

Comments
 (0)