Is it possible to see the grades of students that had enrollments to a course before being deleted?
I'm not sure if we're speaking the same terminology, but a deleted enrollment is not the same as a concluded or an inactive enrollment. Canvas has a document Canvas Enrollment Status Comparison that explains the difference.
In particular, says "Deleted enrollments are students whose entire enrollment has been removed from a course. Students do not have any record of participation in the course. Users with admin permissions can include deleted enrollments when generating reports in Account Settings."
I'm going to answer the question as if you actually meant "deleted" in the technical sense, not just deleted as in "gone from the course", which could be deleted, concluded, or inactive depending on how your school has things set up.
If you enroll the student with an active status that they will get added back with any previously completed work intact. We rely on this for students who get dropped in the first two weeks (who are deleted) vs students dropped after that (who are concluded, but inactive might be an option). If it's been more than a week, we've gone into our beta instance to reinstate a student who had been deleted (not concluded) so that they didn't get any notifications or see the course in their list and then we can get access to their grades and other work.
If you really did mean "concluded" or "inactive", then there are less extreme measures (like checking a box) for viewing their information.
I think it depends on when they were deleted, but you should be able to go to Grades and click on the gear icon (upper right) and click on "Show concluded enrollments." I know when I do this I can see the students that were dropped from my course and their grades.
Thank you for your answer.
I was unclear in the original question, I did not mean how to retrieve information when the the enrollment is deleted, but how to retrieve the infomration when the student is deleted from Canvas. However I think your answer still applies as the enrollment is also deleted. It is necessary to go to the beta installation to retrieve the user to be able to get the grades.
In our case, this situation can happen when a teacher wants to get information regarding grades of the previous semester but the student is no longer a student in the institution. Since user information is sincronized with sis_imports, and only current users are imported to Canvas, student from previous semesters might be deleted.
Retrieving data ...