A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation
An admin on the account (likely the school admins) can add / remove and otherwise manage devices here.
https://mysignins.microsoft.com/security-info
Once the account is reset a new QR code will be generated.
--please don't forget to upvote and Accept as answer if the reply is helpful--