Share via

Teams Licensed User.

Microsoft Q & A 386 Reputation points
2022-07-12T07:35:11.693+00:00

How to check the number of users assigned license "MS Teams Online" in the tenant with PowerShell or GUI.

Microsoft Teams | Microsoft Teams for business | Other
0 comments No comments

Answer accepted by question author

JimmyYang-MSFT 58,781 Reputation points Moderator
2022-07-13T01:53:13.93+00:00

Hi @Microsoft Q & A

In your case, you can use the PowerShell command to get a list of all the users who have Microsoft Teams license. Please see the instructions below:

  1. Run Windows PowerShell as administrator.
  2. Type the following command Connect-MsolService and enter your credentials.
  3. Run the following commands: Get-MsolUser -All | Where-Object { $_.Licenses.ServiceStatus.ServicePlan.ServiceName -match "TEAMS"} | Select-Object UserPrincipalName, DisplayName | Export-Csv D:\new\AAA.csv

If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.