LanSchool Air supports importing class rosters from CSV files using the OneRoster standard. Site Administrators (Site Admins) can use CSV imports to create and update class rosters for instructors without requiring teachers to add students manually.
CSV rostering is useful for schools and districts that want to manage class rosters using exported Student Information System (SIS) data or manually prepared CSV files.
LanSchool Air supports four classroom rostering methods:
Important: Only one roster integration can be enabled for a LanSchool Air organization at a time. Enabling CSV Import will remove classes imported through the previously enabled roster integration. Instructors can still create classes manually.Before importing class rosters, prepare these three required CSV files:
users.csv – Contains teacher and student information.classes.csv – Contains class information.enrollments.csv – Links teachers and students to their classes.Download the CSV templates from the CSV Import page in LanSchool Air. You can edit the templates in Excel or use files exported from your SIS.
All three CSV files must meet the following requirements:
schoolSourcedId, not schoolSourcedID.All OneRoster columns must be present in the appropriate file, even when a field is optional for LanSchool Air. Optional fields may be left blank.
The users.csv file contains the teachers and students included in the imported rosters.
Important: Teachers must have active LanSchool Air accounts for their class rosters to be imported successfully. Teachers who have not activated their accounts can cause sync errors.The following fields must not be empty:
Column Name | Required for LSA | Description |
sourcedId | Yes | Unique ID value for each user |
status | No | |
dateLastModified | No | |
enabledUser | Yes | Defines the status of the user (true or false) |
orgSourcedIds | Yes | The school this user belongs to |
role | Yes | User role (teacher or student) |
username | Yes | Value to identify the user (e.g. jsmith) |
userIds | No | Not required, but if filled in it needs to be a value like {FED:123456} |
givenName | Yes | The first name of the user |
familyName | Yes | The last name of the user |
middleName | No | |
identifier | No | |
email | Yes | |
sms | No | |
phone | No | |
agentSourcedIds | No | |
grades | No | |
password | No |
| Column Name | Required for LSA | Description |
| sourcedId | Yes | Unique ID value for each enrollment record |
status | No | Not required, but if filled in needs to be all lowercase letters i.e. "active" |
dateLastModified | No | |
| classSourcedId | Yes | The sourcedId for the class (from classes.csv) |
schoolSourcedId | No | The sourcedId for the school (from classes.csv) |
| userSourcedId | Yes | The sourcedId for the user (from users.csv) |
| role | Yes | User role (teacher or student) |
primary | No | |
beginDate | No | |
endDate | No |
The classes.csv file defines the classes that will be imported.
The following fields must not be empty:
| Column Name | Required for LSA | Description |
| sourcedId | Yes | Unique ID value for each class |
status | No | Not required, but if filled in needs to be all lowercase letters i.e. "active" |
dateLastModified | No | |
| title | Yes | The name of the class |
grades | No | |
| courseSourcedId | Yes | The sourcedId for the course this class is an instance of (from courses.csv) |
classCode | No | |
classType | Yes | Class type (scheduled or homeroom) |
location | No | |
| schoolSourcedId | Yes | The school this class belongs to |
termSourcedIds | Yes | The sourcedId for the term this class is taught in (from academicSessions.csv) |
subjects | No | |
subjectCodes | No | |
periods | No |
Only a Site Admin can enable CSV Import.
Important: Enabling CSV Import removes classes imported through another roster integration. Confirm that CSV Import is the intended roster source before proceeding.Before uploading, confirm that every teacher listed in users.csv has accepted their LanSchool Air invitation and activated their account.
users.csv, classes.csv, and enrollments.csv.orgSourcedIds in users.csv and schoolSourcedId in classes.csv to 1 for all applicable records.LanSchool Air does not automatically upload or sync changes made to your CSV files. Site Admins must update the files and upload them again whenever roster information changes.
Uploading new CSV files does not automatically remove students, teachers, or classes that are no longer included in the files. Depending on the duplicate-handling option selected, existing records may be updated or left unchanged, and new records may be added.
For example, if a student leaves a class and the student is removed from the next CSV file, the existing enrollment may remain in LanSchool Air.
If you need to clear existing CSV-imported rosters before importing new data, the current procedure is to switch roster integrations and then re-enable CSV Import.
Warning: Switching roster integrations can remove imported classes. Verify the intended roster source and review the confirmation messages before proceeding.CSV import errors can occur during file validation or during roster synchronization. The error details help identify what needs to be corrected.
Import errors occur when one or more CSV files contain invalid formatting or data.
Common issues to check include:
role, enabledUser, or classType.Sync errors occur when LanSchool Air cannot successfully apply the uploaded roster data.
A common cause of sync errors is a teacher listed in users.csv who has not activated their LanSchool Air account.
Verify that all teachers have accepted their invitations and activated their accounts before retrying the import.
If the error persists, contact LanSchool Air Support and provide the error details and the affected CSV filename, row, and column, when available.
Yes. Site Admins can import class rosters using the OneRoster CSV format. The required files are users.csv, classes.csv, and enrollments.csv.
Only Site Admins can enable CSV Import and upload roster files. Instructors must have active LanSchool Air accounts for their imported classes to be associated with them successfully.
No. Only one external roster integration can be enabled for an organization at a time. Enabling CSV Import disables the previously enabled integration and removes classes imported through that integration.
Check that all three CSV files were uploaded and synced successfully. Verify that the IDs in users.csv, classes.csv, and enrollments.csv match, that the required fields are populated, and that the correct school rosters were selected during import.
If the sync reports errors, open Notifications and select See errors to review the details.
Teachers must have active LanSchool Air accounts. Confirm that the teacher has accepted their invitation, activated their account, and is listed correctly in users.csv and enrollments.csv.
CSV import errors can result from missing required fields, incorrect column names, incorrect column order, invalid email addresses, or improperly formatted data.
Review the import error details to identify the affected file, row, and column. Correct the data, save the file as CSV UTF-8, and upload it again.
LanSchool Air does not automatically remove existing roster data when new CSV files are uploaded. Removing a student or class from the source file does not necessarily remove the existing record from LanSchool Air.
If you need to clear existing CSV rosters, follow the Remove Existing CSV Rosters instructions in this article before uploading the new files.
No. CSV Import does not automatically upload changes to your CSV files. A Site Admin must update the files and upload and sync them again.
Choose the option that matches how you want existing roster information to be handled.
Yes. During import, LanSchool Air can identify multiple school IDs and allow you to select which school rosters to import.
If you want to combine data from multiple schools into one districtwide organization, ensure that the organization and school identifiers are configured consistently across the CSV files.
Sign in to LanSchool Air as a Site Admin, open the CSV Import page, and select Download CSV templates. Use these templates to ensure the required OneRoster fields and column order are correct.
No. Uploading CSV files at the start of each term will not remove or overwrite manually created classes. Classes created manually by teachers, including ad-hoc classes, are retained when CSV files are uploaded.
CSV imports update roster data according to the selected duplicate-handling option. Manually created classes are not removed simply because they are not included in the CSV files.