Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Thank you for posting on Microsoft Q&A forum and I'm sorry to hear you're having trouble logging into your Microsoft account.
Changing to a new phone often triggers this issue because your Multi-Factor Authentication (MFA) settings usually need to be reset. When you switch devices or reinstall the Microsoft Authenticator app, your new phone isn’t automatically configured for authentication. Since the app is still tied to your previous device, you’re unable to receive authentication codes on the new one, which is why you can’t access your account right now.
Since you are using a school email address, the MFA settings are managed by your school's IT department. For assistance with resetting or updating your MFA, you will need to contact them directly to resolve this.
Please contact your school's IT Help Desk or support team and explain the situation. You can say: "I am stuck in a login loop between Microsoft Teams and the Microsoft Authenticator app. I cannot get the code to sign in."
Specifically ask them to “Reset my MFA settings or allow me to re-register for MFA". This is a standard request, and your school's IT team should be able to assist you with it.
You can also share the steps in this Microsoft article for them so they can help reset your MFA settings for you Manage user authentication methods for Microsoft Entra multifactor authentication.
Once your school's in has reset your MFA, the next time you log in to your account, you will be guided through the process of setting up the Microsoft Authenticator app again from the beginning by scanning a QR code. This will break the loop and allow you to access your account normally.
In case you do not know who is your IT admin, kindly refer to this article: How do I find my Microsoft 365 admin? - Microsoft Support
Please note that forum moderators do not have access to user account settings and cannot assist with logging in, resetting passwords, or changing access rights. While we do not have access to internal systems or administrative tools required to resolve account-specific or backend-related issues but we’ll continue doing our best to support you within the scope of our responsibilities.
I hope this helps you regain access to your account quickly. I'm glad to assist and truly hope the information provided has been useful. Please feel free to reach out anytime if you need further assistance.
If you find my post helpful, kindly consider marking it as the accepted answer. Doing so can assist others in the community who may have similar questions in finding solutions more quickly.
Thank you for your kindness and contributions to the forum.
If you have any extra questions about this answer, please click "Comment".
Note: Follow the steps in our documentation to enable email notifications if you want to receive email notifications related to this topic.