Jump to content

Recommended Posts

Posted

I've been asked to add a couple of Trust member as 'owners' of classses in Teams.

We're using Salamander and SDS so I guess that this can be done by manual editing of CVS files pulled from SIMS - add them to each class in the spreadsheets

Powershell's Add-TeamUser would seem more 'standard' but I'd need to get the object-id for the classes in my school and ignore those that were from other schools in the trust and admin teams etc

 

Anyone have any experience or pros/cons about either method or suggest anything else?

 

Thanks in advance.

Posted (edited)

The csv will let you identify the group names. So you can iterate through:

 

Foreach ($class in $classes) {Add-teamuser -groupid (Get-unifiedgroup -anr $class).externaldirectorygroupid -user [email protected] -role owner}

 

The “best” was would be to have the people added to the course in the mid, perhaps as coteachers, or in some oversight capacity like Head of subject/head of faculty and have salamander do it all automatically.

Edited by psydii
  • Thanks 1
Posted

thanks for the pointer - did something along these lines:

 

$class_list = Import-Csv '.\teacherRoster.csv'

 

foreach ($class in $class_list) {

Write-Host "$($class.sectionid)"

$GroupID = (Get-Team -DisplayName $class.SectionID).GroupId

Write-Host $GroupID

Add-TeamUser -GroupId($GroupID) -User [email protected] -Role Owner

 

}

Posted

We use salamander with sds for the main teacher/student sync and have a second sds profile we created manually that we can add csv files to sync course managers.

 

The custom csvs use same naming convention as salamander for section names etc which allows profiles to overlap without causing duplication of courses. Basically classes and teachers is the same content as the salamander ones and the teacher allocation is custom to add the managers, students one can be blank.

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...