SOLVED

Audit policies assigned to multiple users

%3CLINGO-SUB%20id%3D%22lingo-sub-2083357%22%20slang%3D%22en-US%22%3EAudit%20policies%20assigned%20to%20multiple%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2083357%22%20slang%3D%22en-US%22%3E%3CP%3EI%20would%20like%20to%20audit%20what%20policy%20is%20assigned%20to%20each%20users.%26nbsp%3B%20We%20are%20a%20school%20using%20teams%20and%20we%20have%20over%20700%20users.%26nbsp%3B%20I%20have%20not%20found%20a%20way%20using%20PowerShell%20To%20generate%20a%20file%20that%20list%20all%20users%20and%20the%20policies%20assigned.%26nbsp%3B%20%26nbsp%3BWhen%20we%20started%20the%20year%20we%20assigned%20policy%20packages%20to%20students%20based%20on%20grade%20level%20using%20scripts%2C%20and%20I%20want%20to%20check%20for%20errors%20or%20gaps.%26nbsp%3BAnyone%20know%20of%20a%20way%20to%20do%20this.%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2083357%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2083736%22%20slang%3D%22en-US%22%3ERe%3A%20Audit%20policies%20assigned%20to%20multiple%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2083736%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20can%20get%20this%20info%20from%20the%20Teams%20admin%20center%2C%20or%20via%20the%20Get-CSOnlineUser%20cmdlet%2C%20which%20you%20can%20also%20use%20to%20filter%20users%20based%20on%20specific%20policy.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

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.?

3 Replies
Best Response confirmed by rrmartin (New Contributor)
Solution

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. 

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.