SOLVED

Teams Meeting Policy Membership

%3CLINGO-SUB%20id%3D%22lingo-sub-1482073%22%20slang%3D%22en-US%22%3ETeams%20Meeting%20Policy%20Membership%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1482073%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20looking%20to%20get%20a%20list%20of%20the%20users%20that%20I've%20assigned%20a%20MS%20Teams%20Meeting%20Policy.%20Is%20there%20a%20Power%20Shell%20script%20to%20accomplish%20this%3F%20or%20can%20it%20be%20found%20anywhere%20in%20the%20admin%20center%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1482073%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMeetings%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%20Policies%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1482112%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Meeting%20Policy%20Membership%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1482112%22%20slang%3D%22en-US%22%3E%3CP%3EThere%20is%20an%20update%20coming%20that%20will%20allow%20you%20to%20assign%20policies%20to%20a%20group%2C%20but%20that%20feature%20is%20in%20private%20preview%20and%20the%20roadmap%20states%20that%20it%20will%20be%20released%20May%202020%20(they%20missed%20that).%20So%20I%20guess%20that%20due%20to%20corona%20this%20has%20been%20delayed.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fassign-policies%23assign-a-policy-to-a-group%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fassign-policies%23assign-a-policy-to-a-group%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fmicrosoft-365%2Froadmap%3Ffilters%3D%26amp%3Bsearchterms%3D61185%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fmicrosoft-365%2Froadmap%3Ffilters%3D%26amp%3Bsearchterms%3D61185%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESo%20what%20you%20can%20do%20now%20is%20to%20use%20powershell%20(or%20TAC)%20and%20assign%20policies%20to%20a%20batch%20of%20users.%20See%20more%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fassign-policies%23assign-a-policy-to-a-batch-of-users%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fassign-policies%23assign-a-policy-to-a-batch-of-users%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1483607%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Meeting%20Policy%20Membership%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1483607%22%20slang%3D%22en-US%22%3EHi%20Linus%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20for%20the%20information%20on%20group%20policy%20assignments.%20I'm%20actually%20looking%20of%20a%20way%20to%20see%20the%20users%20I've%20already%20assigned%20a%20policy%20to.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1483631%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Meeting%20Policy%20Membership%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1483631%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F556831%22%20target%3D%22_blank%22%3E%40IT_DSGB%3C%2FA%3E%26nbsp%3BHey%2C%20you%20can%20use%20the%26nbsp%3BGet-CsOnlineUser%20cmdlet.%20It%20should%20look%20something%20like%20this%20for%20a%20single%20policy%26nbsp%3B%3CEM%3EGet-CsOnlineUser%20-Filter%20%7Bteamsmeetingpolicy%20-eq%20%22RestrictedAnonymousAccess%22%7D%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA%20search%20took%20me%20here%20%3CA%20href%3D%22https%3A%2F%2Fcann0nf0dder.wordpress.com%2F2020%2F03%2F29%2Fgetting-all-ms-teams-user-policies-using-powershell%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcann0nf0dder.wordpress.com%2F2020%2F03%2F29%2Fgetting-all-ms-teams-user-policies-using-powershell%2F%3C%2FA%3E%20which%20explains%20it%20further.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1487180%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Meeting%20Policy%20Membership%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1487180%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F551905%22%20target%3D%22_blank%22%3E%40bec064%3C%2FA%3E%26nbsp%3B%20Thanks!%20Exactly%20what%20I%20couldn't%20seem%20to%20find.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi,

 

I'm looking to get a list of the users that I've assigned a MS Teams Meeting Policy. Is there a Power Shell script to accomplish this? or can it be found anywhere in the admin center? 

4 Replies
Highlighted

There is an update coming that will allow you to assign policies to a group, but that feature is in private preview and the roadmap states that it will be released May 2020 (they missed that). So I guess that due to corona this has been delayed.

https://docs.microsoft.com/en-us/microsoftteams/assign-policies#assign-a-policy-to-a-group

https://www.microsoft.com/en-us/microsoft-365/roadmap?filters=&searchterms=61185

 

So what you can do now is to use powershell (or TAC) and assign policies to a batch of users. See more here: https://docs.microsoft.com/en-us/microsoftteams/assign-policies#assign-a-policy-to-a-batch-of-users

Highlighted
Hi Linus,

Thanks for the information on group policy assignments. I'm actually looking of a way to see the users I've already assigned a policy to.
Highlighted
Best Response confirmed by Eric Starker (Community Manager)
Solution

@IT_DSGB Hey, you can use the Get-CsOnlineUser cmdlet. It should look something like this for a single policy Get-CsOnlineUser -Filter {teamsmeetingpolicy -eq "RestrictedAnonymousAccess"}

 

A search took me here https://cann0nf0dder.wordpress.com/2020/03/29/getting-all-ms-teams-user-policies-using-powershell/ which explains it further.

 

Highlighted

@bec064  Thanks! Exactly what I couldn't seem to find.