Found this content helpful? Log in or sign up to leave a like!
Enhancement request: wildcard deletion from all sections using enrollments.csv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We frequently run into a situation where our SIS data is unable to remove a student from a course.
This happens because we allow teachers the ability to create sections within courses. To remove a student from a course they must deleted from every section that they are in -- and because the manually-created sections used by the teachers are not known to the SIS, the SIS can't remove them from those sections (leading to disenrollment failures).
For instance, we recently had a student "mregan8" who needed to be deleted from a course; the SIS_ID of the course was 202610-UG-DWC-201-012. I sent the following record in the enrollments.csv:
course_id,root_account,user_id,role,role_id,section_id,status
202610-UG-DWC-201-012,,mregan8,student,,,deleted
but the student remained in the course because of their association with a manually-created section.
What I would like is to have the ability to include a wildcard section_id (e.g. an asterisk) in the enrollments.csv section_id field. This would indicate to the Canvas SIS process that the system should disenroll the student from all sections AND the course:
course_id,root_account,user_id,role,role_id,section_id,status
202610-UG-DWC-201-012,,mregan8,student,,*,deleted
In this way the SIS would have the ability to control the enrollment in the course authoritatively, regardless of what the teacher does.
Let me know if there is a more appropriate group for this suggestion? I also mentioned this at the Unconference for InstructureCon 2025 though neglected to post until now -- please comment!
Thanks for listening!