Setup Wifi access on personal iPhone
Open the Settings app on your device.
Select General.
Select VPN & Device Management.
Tap on "Sign in with school email account"
Put in your school email address
Enter the password and/or MFA for your school email address
Select "Sign in to iCloud"
Select Connect, and login into the same email account again.
Select Allow Remote Management.