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
+21-1Lines changed: 21 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -127,7 +127,7 @@ This parameter is added to Get-CsOnlineUser starting from TPM 4.5.1 to indicate
127
127
-`ResourceAccount` - to query for app endpoints or resource accounts.
128
128
-`Guest` - to query for guest accounts.
129
129
-`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)
131
131
132
132
```yaml
133
133
Type: UserIdParameter
@@ -562,6 +562,26 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
562
562
563
563
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.
564
564
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
+
565
585
**Updates in Teams PowerShell Module version 6.0.0 and later**
566
586
567
587
The following updates are applicable for organizations having TeamsOnly users that use Microsoft Teams PowerShell version 6.0.0 or later.
0 commit comments