Forum Discussion

rrmartin's avatar
rrmartin
Copper Contributor
Jan 21, 2021
Solved

Audit policies assigned to multiple users

I would like to audit what policy is assigned to each users.  We are a school using teams and we have over 700 users.  I have not found a way using PowerShell To generate a file that list all users and the policies assigned.   When we started the year we assigned policy packages to students based on grade level using scripts, and I want to check for errors or gaps. Anyone know of a way to do this.?

  • You can get this info from the Teams admin center, or via the Get-CSOnlineUser cmdlet, which you can also use to filter users based on specific policy. 

  • You can get this info from the Teams admin center, or via the Get-CSOnlineUser cmdlet, which you can also use to filter users based on specific policy. 

    • rrmartin's avatar
      rrmartin
      Copper Contributor
      Thanks, found the filter setting in admin center after posting this. I don't see a way to export to csv. I think I can with the cmdlet.
      • Yup, no export option in the portal, but it's easily doable via PowerShell if you need it.

Resources