Home

Assign Teams Calling policy for all users

%3CLINGO-SUB%20id%3D%22lingo-sub-481205%22%20slang%3D%22en-US%22%3EAssign%20Teams%20Calling%20policy%20for%20all%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-481205%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20assign%20some%20Teams%20calling%20policy%20(Policy%20name%3A%20Disallow%20calling)%20for%20all%20users.%26nbsp%3B%3C%2FP%3E%3CP%3ELooks%20like%20'Grant-CSTeamscalling'%20policy%20allows%20me%20to%20pass%20individual%20user%20objects%20only%20.%3C%2FP%3E%3CP%3EIs%20there%20any%20other%20way%20of%20assigning%20Teams%20calling%20policy%20for%20all%200365%20users%20on%20global%20level%20without%20having%20to%20loop%20through%20all%20users%20and%20then%20setting%20the%20policy%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-481205%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Esankaran%40amgen.com%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-481277%22%20slang%3D%22en-US%22%3ERe%3A%20Assign%20Teams%20Calling%20policy%20for%20all%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-481277%22%20slang%3D%22en-US%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F164570%22%20target%3D%22_blank%22%3E%40Santhosh%20Sankaran%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3ESure%2C%20in%20that%20case%20modify%20Name%20of%20the%20policy%20being%20modified%3CBR%20%2F%3E%3CBR%20%2F%3ESet-CsTeamsCallingPolicy%20-Identity%20Disallow%20calling%20-AllowCalling%20%24false%20-AllowPrivateCalling%20%24false%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fskype%2Fset-csteamscallingpolicy%3Fview%3Dskype-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fskype%2Fset-csteamscallingpolicy%3Fview%3Dskype-ps%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20that%20answers%20your%20question!%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-481269%22%20slang%3D%22en-US%22%3ERe%3A%20Assign%20Teams%20Calling%20policy%20for%20all%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-481269%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F169605%22%20target%3D%22_blank%22%3E%40Christopher%20Hoard%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20Chris%20.%20What%20if%20i%20don't%20want%20to%20Modify%20the%20Global%20policy.%20Do%20we%20have%20an%20option%20of%20assigning%20new%20policy%20instead%20of%20changing%20attribute%20values%20in%20Global%20policy%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EReason%20for%20asking%20is%20we%20have%20some%20users%20in%20global%20policy%20and%20others%20in%20different%20policies.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-481213%22%20slang%3D%22en-US%22%3ERe%3A%20Assign%20Teams%20Calling%20policy%20for%20all%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-481213%22%20slang%3D%22en-US%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F164570%22%20target%3D%22_blank%22%3E%40Santhosh%20Sankaran%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EHere%20we%20go%3CBR%20%2F%3E%3CBR%20%2F%3ESet-CsTeamsCallingPolicy%20-Identity%20Global%20-AllowCalling%20%24false%20-AllowPrivateCalling%20%24false%3CBR%20%2F%3E%3CBR%20%2F%3EWill%20disable%20all%20calling%20for%20all%20users.%20Allow%20an%20hour%20or%20so%20for%20propagation.%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20that%20answers%20your%20question!%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FLINGO-BODY%3E
Santhosh Sankaran
Occasional Contributor

Hi ,

 

I am trying to assign some Teams calling policy (Policy name: Disallow calling) for all users. 

Looks like 'Grant-CSTeamscalling' policy allows me to pass individual user objects only .

Is there any other way of assigning Teams calling policy for all 0365 users on global level without having to loop through all users and then setting the policy?

3 Replies
Hi @Santhosh Sankaran

Here we go

Set-CsTeamsCallingPolicy -Identity Global -AllowCalling $false -AllowPrivateCalling $false

Will disable all calling for all users. Allow an hour or so for propagation.

Hope that answers your question!

Best, Chris

@Christopher Hoard 

 

Thanks Chris . What if i don't want to Modify the Global policy. Do we have an option of assigning new policy instead of changing attribute values in Global policy ?

 

Reason for asking is we have some users in global policy and others in different policies.

Hi @Santhosh Sankaran

Sure, in that case modify Name of the policy being modified

Set-CsTeamsCallingPolicy -Identity Disallow calling -AllowCalling $false -AllowPrivateCalling $false

https://docs.microsoft.com/en-us/powershell/module/skype/set-csteamscallingpolicy?view=skype-ps

Hope that answers your question!

Best, Chris
Related Conversations