Hello AdamB1234,
Thank you for reaching out to Apple Support Communities.
More details on setting this up can be found here:
Set up Apple School Manager
Apple School Manager is a simple, web-based portal for IT administrators that provides a fast, streamlined way for you to deploy Apple devices that your organization has purchased directly from Apple or from a participating Apple Authorized Reseller or carrier. You can automatically enroll devices in your mobile device management (MDM) solution without having to physically touch or prepare the devices before users get them.
Using your MDM, you can simplify the setup process for users, configure device settings, and distribute apps and books you purchase in Apple School Manager.
So you can quickly create accounts with school rosters and classes, Apple School Manager also integrates with your existing environment. You can integrate with Student Information Systems (SISs) either directly or using SFTP. And you can integrate with Google Workspace or Microsoft Azure Active Directory (Azure AD) using federated authentication, enabling students and teachers to sign in to Apple services with their existing Google Workspace or Azure AD credentials.
Additional information can be found here: Set up Apple School Manager
For more information regarding this, please reach out to Apple directly. You can do so by going to Apple Deployment Guide for Education
Hopefully this helps.
Cheers!