Get the list of global users

sns 9,236 Reputation points
2021-11-15T16:22:04.837+00:00

I want to get the list of all the users who are there in the global policy from setup and permission policy in excel sheet.
149448-getallsuers.png

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,972 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,583 questions
{count} votes

Accepted answer
  1. Vasil Michev 104K Reputation points MVP
    2021-11-15T18:51:11.227+00:00

    Use PowerShell for that:

    Get-CsOnlineUser -Filter {TeamsAppSetupPolicy -eq $null} | Export-Csv -nti "blabla.csv"

    If you need help connecting to PowerShell, check here: https://learn.microsoft.com/en-us/microsoftteams/teams-powershell-install


2 additional answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    1 deleted comment

    Comments have been turned off. Learn more

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

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