SOLVED

Can you apply Teams policies to security groups?

%3CLINGO-SUB%20id%3D%22lingo-sub-1190116%22%20slang%3D%22en-US%22%3ECan%20you%20apply%20Teams%20policies%20to%20security%20groups%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1190116%22%20slang%3D%22en-US%22%3EI'm%20trying%20to%20anticipate%20the%20challenges%20of%20scaling%20what%20appears%20to%20be%20user%20based%20policies.%20We%20have%2050%2C000%2B%20users.%3CBR%20%2F%3EDid%20I%20imagine%20this%2C%20or%20is%20there%20something%20planned%20to%20allow%20policies%20to%20be%20assigned%20to%20groups%20of%20users%3F%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1190116%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdoption%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EBest%20Practices%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1190148%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20you%20apply%20Teams%20policies%20to%20security%20groups%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1190148%22%20slang%3D%22en-US%22%3EYou%20can%E2%80%99t%20do%20this%20as%20of%20today%2C%20but%20it%E2%80%99s%20coming!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1190178%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20you%20apply%20Teams%20policies%20to%20security%20groups%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1190178%22%20slang%3D%22en-US%22%3EAnd%20it%20is%20listed%20for%20release%20in%20March%2C%20but%20that%20can%20be%20changed.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2FLCansby%2Fstatus%2F1230383225488519168%3Fs%3D19%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Ftwitter.com%2FLCansby%2Fstatus%2F1230383225488519168%3Fs%3D19%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20could%20also%20create%20a%20Poweshell%20script%20that%20reads%20the%20members%20in%20a%20group%2C%20then%20loop%20through%20all%20members%20and%20apply%20policy%20per%20member.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1193254%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20you%20apply%20Teams%20policies%20to%20security%20groups%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1193254%22%20slang%3D%22en-US%22%3EAnd%20here%20is%20the%20documentation%20updated%20with%20assigning%20policies%20to%20a%20group.%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fassign-policies%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fassign-policies%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2126744%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20you%20apply%20Teams%20policies%20to%20security%20groups%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2126744%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9476%22%20target%3D%22_blank%22%3E%40Linus%20Cansby%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20added%20now%20a%20team%20policy%20for%20chat%20to%20multiple%20groups.%20but%20i%20want%20to%20have%20one%20security%20group%2C%20like%20%22denyChat%22%20in%20which%20all%20my%20security%20groups%20of%20users%20are%20in.%20this%20doesn't%20work.%20the%20policy%20is%20not%20mapped%20to%20the%20users%20policy%20list.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Edo%20you%20have%20an%20idea%20why%20this%20is%20not%20working%20in%20teams%3F%20a%20group%20in%20group%20combination.%26nbsp%3B%3C%2FP%3E%3CP%3Ebest%3C%2FP%3E%3CP%3Etobias%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Contributor
I'm trying to anticipate the challenges of scaling what appears to be user based policies. We have 50,000+ users.
Did I imagine this, or is there something planned to allow policies to be assigned to groups of users?
4 Replies
You can’t do this as of today, but it’s coming!
best response confirmed by Darrel Richardson (Frequent Contributor)
Solution
And it is listed for release in March, but that can be changed.

https://twitter.com/LCansby/status/1230383225488519168?s=19

You could also create a Poweshell script that reads the members in a group, then loop through all members and apply policy per member.
And here is the documentation updated with assigning policies to a group.
https://docs.microsoft.com/en-us/microsoftteams/assign-policies

@Linus Cansby 

I added now a team policy for chat to multiple groups. but i want to have one security group, like "denyChat" in which all my security groups of users are in. this doesn't work. the policy is not mapped to the users policy list.

 

do you have an idea why this is not working in teams? a group in group combination. 

best

tobias