[ARCHIVED] Purge SIS ID so it can be used again

Jump to solution
mamontgomery
Community Novice


We have a student who was accidentally assigned a new ID in our SIS so when our Canvas SIS import ran that evening it assigned the student the new incorrect ID but all their enrollments are still referencing the former correct ID. We got the ID corrected in the SIS but not in Canvas.

I have tried to upload a csv with the correct former SIS ID but it says that ID is already in use. Although no active user has that ID. I also tried to manually update the login on the user account page but it won't take the former ID that way either.

Is there a way to purge the incorrect SIS ID from Canvas so it won't think it is currently in use?

Thanks,

Marc

Labels (2)
1 Solution
ahess4
Community Contributor

Try this:

Pull the pseudonym_dim from Canvas Data and look for the SIS user id (or run a provisioning report for users, being sure to include deleted objects). If found, use the data for that record to reactivate the user via user create API call - /v1/accounts/{account_id}/users - using the canvas id and the sis user id from the record, being sure to set enable_sis_reactivation = true.

If you are not familiar with API calls, you can use the live API tool, pretty straight forward: https://[hostname]/doc/api/live#!/

Then you can reconcile the accounts as they will both be active.

View solution in original post