how do I create a csv file listing all teacher?
@KentKersey1
While @chriscas is waiting for you to get back, I'll go ahead and give an answer to one of the things you might want. When you see the complexity of the answers (and I'm only answering one), you may understand why he asked for clarification.
If you would like to export a list of all of the teachers for all courses and have full admin rights, you can go to your Admin > Settings page. Choose the Reports tab. The Provisioning report will allow you to export information about your instance, but it comes in a way that you probably don't want (unless you understand databases and normalized tables).
You now need to merge the information that you need together into a single file. How to do that is beyond this response when we're not sure if this is even what you're after.
If you have a Student Information System, the information may require less work to get from there than from Canvas. Your institution probably has someone who manages that who could generate a report for you.
A third option is to ask the GraphQL interface for the data. Canvas has said that they will start enforcing pagination limits on the GraphQL requests, but as of January 18, 2025, they still haven't done that so you can get all teachers for all courses as long as the request doesn't take too long. I'm including a script that will give you all of the teachers for a specific term as a request for all teachers for all courses from all time will probably be too long and timeout.
To use this, add /graphiql to the end of your main Canvas instance (your dashboard) URL.
Copy/paste this into your code window and then change the sisId on line 2 to match yours. Our Spring 2025 term is "2025a". If you don't have SIS IDs for your term, you can change it to "id" and put in the Canvas term ID. You might also need to change line 10 to use their Canvas ID rather than their SIS ID.
query instructorsByTerm { term(sisId: "2025a") { coursesConnection { nodes { _id name enrollmentsConnection(filter: {types: TeacherEnrollment, states: active}) { nodes { user { _id sortableName } } } } } } }
Now execute the command with the big triangle inside a circle at the top. It will take a while and may timeout if you are a large institution.
On the right panel, you'll get the results, which are a JSON object that starts with data, term, coursesConnection, and nodes. After "nodes" there is left square bracket. Select all of the data starting with the left bracket through the bottom where you will see a right bracket. Include both brackets, but not the stuff before or after them (don't include the four curly braces at the end).
Copy that data to your clipboard.
Now go to a site that will convert JSON to CSV. I've linked to the one at ConvertCSV, which works well for me and the conversion is done in-browser, whereas some other sites send the information to a server out of country for processing and that's a concern for some people.
You can then download the result as a CSV file. There is a JSON to Excel file, but it converts numbers to strings, so I tell my students to not use that option.
Hi @KentKersey1,
Could you provide some additional detain for your question, as it could be interpreted multiple ways...
Are you looking for you of the following?
In addition, letting us know whether you are a teacher, a subaccount admin, or a full root account admin in Canvas will be helpful.
Look forward to hearing back form you soon!
-Chris
We use a pre- post- model to measure learning which requires student-question matching from two time periods. This requires exporting quiz data to CSV to do the analysis properly. (I can get into more detail if needed.) The New Quizzes Student Analysis CSV export has repeated blocks of ItemID then columns related to that…
Hello! A caution to my fellow Admins and support folks that Instructure updated their live-chat link (the one in the "(?) Help" menu, if you license their Support Chat service) fairly recently, but the old broken one is still online and appears as if it still functions. If someone hits the old link, after entering their…
I have been asked to discover whether Canvas Catalog can accept eCheck payments. My thought is that since Catalog is configured to redirect to a payment form at our Payment Gateway, that this might be more a question of configuring an additional option into the Catalog and payment gateway settings. Has anyone done this?
One of the teachers has registered for Google Services in her Canvas account. However, she is unable to link the Google Assignment LTI as an external tool for assignment submissions. The error message is "account not linked" after clicking continue at this step: When I try to go into this teacher's course as an admin and…
Hello Canvas Community, Our institution is planning a migration from Banner to Workday Student and is beginning to evaluate the best approach to integrating Workday with Canvas. Our current integration is: Banner → Ethos API → ILP → Canvas We would like to learn from other institutions that have already migrated to Workday…