A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation
Reinstalled the app and still no code.
This would have broken the account linking. You'll need to contact the university admins to reset the account so you can scan in a new QR code to link up the account again.
--please don't forget to upvote and Accept as answer if the reply is helpful--