Forum Discussion
(Re)moving students from Groups via SDS
Thanks Matt,
I'm currently checking if the changes on the Groups works as you described. I'll let you if it works.
I see that the internal Group names are having a fixed format like "11003_section@suffix.com". Do you know if it's possible to change this internal name? We'd like to define these names by ourselves.
Thanks,
Remy
Typically the group name created in AAD inherits the "section name" from your CSV file, and the email address combines the SIS Id of the section with "section" to ensure a unique email address. So you can ensure the name displayed is how you want it either by editing the SIS so the section name is the way you want it, or you can change the name in the admin center if you are an administrator (though it looks like that would have to be one at a time, which would be tedious). I don't think there is a way to do it with a script, but I am looking into it. Also, I don't think there is a way to change the email alias, but I am looking into that as well. I'll reply on this thread as soon as I have more information.
Thanks!
Matt
- Rémy BosmanSep 14, 2017Brass Contributor
Nice, I do see the changes made on the StudentEnrollments in the Groups now. Thats good news.
I've also performed a change on a group with a Powershell command, which did indeed change the e-mail adress of the group.
Set-UnifiedGroup -Identity "GroupnameX" -PrimarySmtpAddress "PREFIX-GroupnameX@domain.onmicrosoft.com"
After changing this property I see the Group-ID in the Admin Center changed. The initial section_xxxxx@domain.onmicrosoft.com is now just an alias. Also, SDS is still able to do mutations on the Team via StudentEnrollments.csv
- DeletedSep 14, 2017
Great- I'm glad it is solved for you and you were able to find the poweshell command for changing a group name. I suspected there was one.
Thanks for participating in the forum!
Matt