Jump to content

Recommended Posts

Posted

We have two main Teams Meeting Policies.

 

One for students and one for staff.

 

tems.JPG

 

All pupils are in a group called CAGPupils which then assigns them to the "Education SecondaryStudent" Teams meeting policy which has IP camera disabled.

 

I've been asked to look in to allowing IP camera for all year 13 students.

 

Plan will be to create a copy of the "Education SecondaryStudent" Teams meeting policy which has IP camera ENABLED then use an existing security group which all year students are in and add this to the Group Policy Assignment page.

 

Will this only take effect for new users?

 

Will I need to run some powershell stuff to force the Year 13 students to pickup the new group policy assignment?

Posted

teamsP.JPG

 

Well somehow using powershell I've managed to change all the students policies to Direct :( rather then inherited through the group membership!

 

Anyone any ideas how to revert them all back?

Posted

For anyone else looking for a solution.

 

Create a text file cagpupils with all the user email accounts who you want to change from Direct to Group Assignment.

 

Then for each policy that needs amending, here are some examples.

 

 

 

$user_ids = Get-Content .\cagpupils.txt

New-CsBatchPolicyAssignmentOperation -PolicyType TeamsMeetingPolicy -PolicyName $null -Identity $user_ids -OperationName "Unassign meeting policy"

 

 

$user_ids = Get-Content .\cag.txt

New-CsBatchPolicyAssignmentOperation -PolicyType TeamsMessagingPolicy -PolicyName $null -Identity $user_ids -OperationName "Unassign meeting policy"

 

 

$user_ids = Get-Content .\cag.txt

New-CsBatchPolicyAssignmentOperation -PolicyType TeamsMeetingBroadcastPolicy -PolicyName $null -Identity $user_ids -OperationName "Unassign meeting policy"

 

 

$user_ids = Get-Content .\cag.txt

New-CsBatchPolicyAssignmentOperation -PolicyType TeamsAppSetupPolicy -PolicyName $null -Identity $user_ids -OperationName "Unassign meeting policy"

 

 

$user_ids = Get-Content .\cag.txt

New-CsBatchPolicyAssignmentOperation -PolicyType TeamsCallingPolicy -PolicyName $null -Identity $user_ids -OperationName "Unassign meeting policy"

 

 

 

Track progress of each :

 

Get-CsBatchPolicyAssignmentOperation -OperationId f7d63793-a2cd-4a3a-ae8a-19917c8ec8b5 | fl

 

Where the string of letters/digits is returned after each command above.

Posted

So I've now created a new security group called "StudentsTeamsIPCameraON"

 

I've added all year 13 students to this group. *they are still members of CAGPupils.

 

Rank 1 group policy assignment has been added, the existing assignments dropping down to rank 2 and 3.

 

Will the new assignments eventually get re-worked by Microsoft or is there a trick to forcing a refresh?

 

 

 

T1.JPG

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...