SOLVED

I want to get list of users to Excel who is using MS Teams with Policies (all) applied to them

Copper Contributor

For Example considering Global policy, whom it is applied and whom it is not applied

1 Reply
best response confirmed by ThereseSolimeno (Microsoft)
Solution
Hi @Bhushan001

You would need to write a Powershell script around Get-CSUserPolicyAssignment

https://docs.microsoft.com/en-us/powershell/module/teams/get-csuserpolicyassignment?view=teams-ps

And as a part of the script export the results to CSV

Only issue here is that the powershell command, as stated in the article does not support multiple users so it could be time consuming. You can't do it from the TAC. AFAIK you can't do it via Graph currently

I think this would be a good add and couldn't find a uservoice so opened on for you here

https://microsoftteams.uservoice.com/forums/555103-public/suggestions/41197888-support-multiple-user...

If you vote up, you'll be notified if Microsoft pick it up

Best, Chris
1 best response

Accepted Solutions
best response confirmed by ThereseSolimeno (Microsoft)
Solution
Hi @Bhushan001

You would need to write a Powershell script around Get-CSUserPolicyAssignment

https://docs.microsoft.com/en-us/powershell/module/teams/get-csuserpolicyassignment?view=teams-ps

And as a part of the script export the results to CSV

Only issue here is that the powershell command, as stated in the article does not support multiple users so it could be time consuming. You can't do it from the TAC. AFAIK you can't do it via Graph currently

I think this would be a good add and couldn't find a uservoice so opened on for you here

https://microsoftteams.uservoice.com/forums/555103-public/suggestions/41197888-support-multiple-user...

If you vote up, you'll be notified if Microsoft pick it up

Best, Chris

View solution in original post