Skip to content

Want to filter, watch and bookmark items? Sign in to check out the full ChangePilot feature set.

MC761236 Microsoft Teams:Updates to Get-CsOnlineUser cmdlet in Teams PowerShell Module and Teams Admin Center?s Manage Users Page

Primary service: Teams

ChangePilot summary

  • The Get-CsOnlineUser cmdlet in the Microsoft Teams PowerShell Module will include all unlicensed users, not just those who were recently licensed.
  • The Teams admin center (TAC) Manage Users page will display unlicensed users indefinitely, including those who never had a Teams license.
  • The AccountType value Unknown will be renamed to IneligibleUser, which applies to users without a valid Teams license, with certain exceptions.
  • Administrators can filter out users with the AccountType of IneligibleUser using the AccountType filter in the Get-CsOnlineUser cmdlet.
  • The -identity parameter in the Get-CsOnlineUser cmdlet will now accept UPN, Alias, and SIP Address to retrieve information for specific unlicensed users.

History

Recorded changes

No changes recorded since ChangePilot first saw this post.

Microsoft message

Coming soon: We are expanding the scope of the Get-CsOnlineUser cmdlet to include all unlicensed users in the Microsoft Teams PowerShell Module. We are also expanding the scope of the Teams admin center (TAC) Manage users page to include all unlicensed users.

[When this will happen:]

We will update Get-CsOnlineUser starting with the upcoming Teams PowerShell Module versions 6.1.1 preview (scheduled for mid-April 2024).

General Availability (Worldwide): We will begin rolling out the changes to the Get-CsOnlineUser cmdlet in all existing Teams PowerShell Module versions and TAC's Manage Users Page in late April 2024 and expect to complete by mid-May 2024.

[How this will affect your organization:]

  • When using Teams admin center's Manage users page:
    • Before the rollout, unlicensed users who did not have a valid Teams license were displayed in the output only for 30 days after license removal. After the rollout, the Teams admin center's Manage users page will show unlicensed users after the initial 30 days and also include unlicensed users who never had a valid Teams license.
  • When using the Get-CsOnlineUser cmdlet in Teams PowerShell Module without the -identity parameter, we are introducing these updates:
    • 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.
    • 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).
    • You can exclude users with the AccountType as IneligibleUser from the output with the AccountType filter.
      • For example: Get-CsOnlineUser -Filter {AccountType -ne 'IneligibleUser'}
  • When Get-CsOnlineUser is used with the -identity parameter, we are introducing these updates:
    • You can also use UPN, Alias, and SIP Address with the -identity parameter to obtain the information for a specific unlicensed user.

For more details, please refer to documentation: Get-CsOnlineUser (MicrosoftTeamsPowerShell) | Microsoft Learn

[What you need to do to prepare:]

We recommend you get familiar with these changes and if required, make corresponding updates to your existing scripts to utilize the benefits of these updates.

This rollout will happen automatically by the specified date with no admin action required. You may want to notify your users about this change and update any relevant documentation as appropriate.

More information

Details

Preview start
Preview end
Release start
Release end
Published by Microsoft

Services

  • Teams

Microsoft tags

  • Feature Update
  • Admin Action
Open in the Microsoft 365 admin center