Forum Discussion
adding bulk users into call allow policy
Yes, SfBO PowerShell module is needed. You can simply use a CSV file and pipe it to the cmdlet, or use the method detailed here: https://docs.microsoft.com/en-us/microsoftteams/assign-policies#assign-a-policy-to-a-batch-of-users
Hi VasilMichev
I am all good with the command and understand it except this -OperationName "Example 2 batch"
what would this name be?
Sorry for the pretty basic question!
thanks in advance
- VasilMichevMay 20, 2020MVP
It's just a name for the batch, you can name it however you like.
- ABill1May 22, 2020Iron Contributor
Hi VasilMichev ,
So I have connected to teams,
wanted to test one email first so I put this command in (example@test.com not the email I used)
New-CsBatchPolicyAssignmentOperation -Identity mailto:example@test.com -PolicyType “Teams Calling Policies” -PolicyName “Test“
I get this error:
ew-CsBatchPolicyAssignmentOperation : Provided policy type is not valid
At line:1 char:1
Im unsure why all I want to do is add the user into Calling policy and the name of the policy is test.
Please help!
- VasilMichevMay 22, 2020MVP
Did you try TeamsCallingPolicy? If you are having no luck with this new approach, you can always use the good old Grant-CsTeamsCallingPolicy:
https://docs.microsoft.com/en-us/powershell/module/skype/grant-csteamscallingpolicy?view=skype-ps