cookie_monsta Posted May 31, 2019 Posted May 31, 2019 Good morning, One of the schools in our foundation would like to use Microsoft Teams with the younger students. However the default policies allows near enough everything. I have created a bespoke policy which should stop students messaging each other via Teams etc. However, I am unable to apply this bespoke policy to a certain group of students unless I apply the policy manually. (might be worth noting that there are 3 other schools in our foundation and all 4 are covered by the same O365 subscription) Does any one have a suggestion how to apply a policy based on group membership or another identifier for a certain set of students? Microsoft support have been as useful as a chocolate fireguard (apologies to all good fireguards out there). Many thanks in advance Cookie
Uber22 Posted June 8, 2019 Posted June 8, 2019 Hey were are just setting up teams I haven't set any policys yet, if you do set any policys would be great to know.
mukz Posted June 8, 2019 Posted June 8, 2019 You can use powershell to apply the policies to the students
cookie_monsta Posted June 11, 2019 Author Posted June 11, 2019 Hey were are just setting up teams I haven't set any policys yet, if you do set any policys would be great to know. Not yet sadly. If I do I will update this thread
cookie_monsta Posted June 11, 2019 Author Posted June 11, 2019 You can use powershell to apply the policies to the students That is true but that will apply the policy to all students. I/we need apply a bespoke policy to a specific set of students.
mukz Posted June 11, 2019 Posted June 11, 2019 (edited) That is true but that will apply the policy to all students. I/we need apply a bespoke policy to a specific set of students. https://docs.microsoft.com/en-us/microsoftteams/teams-quick-start-edu?tutorial-step=5 <# Create a messaging policy and assign it to users via csv. #> $CSVfilepath = "csv file with user ids exported from o365" $data = Import-Csv "$($CSVfilepath)" -Header UserId –delimiter "," foreach($line in $data) { $userId = $line.UserId Write-Host $userId Grant-CsTeamsMessagingPolicy -PolicyName "PolicyName" -Identity $userId } Edited June 11, 2019 by mukz
cookie_monsta Posted June 11, 2019 Author Posted June 11, 2019 Thank you @mukz - i'll look at this when I return from annual leave next week https://docs.microsoft.com/en-us/microsoftteams/teams-quick-start-edu?tutorial-step=5 <# Create a messaging policy and assign it to users via csv. #> $CSVfilepath = "csv file with user ids exported from o365" $data = Import-Csv "$($CSVfilepath)" -Header UserId –delimiter "," foreach($line in $data) { $userId = $line.UserId Write-Host $userId Grant-CsTeamsMessagingPolicy -PolicyName "PolicyName" -Identity $userId }
mukz Posted June 11, 2019 Posted June 11, 2019 No worries, you can also get one of the MS guys to dial and create the script for you. I find them very useful at times.
cookie_monsta Posted June 11, 2019 Author Posted June 11, 2019 Sadly MS "Support" have not been very helpful at all with this issue and they was firmly advised that its not possible to assign a bespoke policy to a certain group of students. No worries, you can also get one of the MS guys to dial and create the script for you. I find them very useful at times.
mukz Posted June 11, 2019 Posted June 11, 2019 REALLY! they were the one who initially provided me with the script. i usually raise a case through the o365 admin portal when in the specific section e.g teams admin centre. I never have good experience when calling up.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now