Canvas API Email Change Confirmation Issue: Any Solutions?

joel_taylor
Community Explorer

Canvas API Email Change Confirmation Issue: Any Solutions?

I recently created a script that edits users using the Canvas API (https://canvas.instructure.com/doc/api/users.html#method.users.update). The script is pretty straightforward: you insert the user ID and the details you want to change, and it's updated via the API. I did this for emails because our school was changing the format of the emails.

Issue:

After updating the emails, I noticed an issue when adding enrollments manually to courses. I tried to add a student to a course using the new email address, but the new email address was not recognized. I contacted Instructure, and they advised that the new emails were waiting to be confirmed by the user. However, this was not feasible for the majority of our students, either because they don't see the request to confirm or because they never use Canvas (e.g., primary-aged students).

Solutions Tried:

Current Approach:

My main method to fix the issue is to change the emails back to their original addresses and then run the script again using "skip_confirmation" = $true. Most of the answers suggest using some combination of skip_confirmation set to true. I've been trying to test various uses of skip_confirmation, but I haven't found a method that works.

Request for Help:

I was wondering if anyone else has had any success in getting this to work. There is another method about fixing the confirmation problem after the fact without changing the email again, described in this link. This link refers to communication channels, but I'm uncertain what is meant by communication channels in this context.

If anyone has experience with the confirmation of email addresses or can provide insight into the use of communication channels in Canvas, I would greatly appreciate your help. Thank you!

Labels (1)
0 Likes