Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
Good day SUFYAN and I’m sorry to hear about the difficulties you’re experiencing.
Please note that forum users do not have access to user account settings and therefore cannot assist with login issues, password resets, multi-factor authentication (MFA) issues or changes to access rights.
This situation commonly occurs when the authenticator registration is no longer linked correctly to the device. For example, this can happen after changing phones, reinstalling the Microsoft Authenticator app or when the existing MFA registration becomes invalid.
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 and explain your situation. You can say: "I am stuck in a login loop between Teams and the Microsoft Authenticator app. I cannot get the code to sign in."
Note: I understand that your school's IT support team hasn't been responding. In the meantime, you may refer to the following article for alternative ways to contact your school's IT administrator: How do I find my Microsoft 365 admin? - Microsoft Support
Specifically, ask them to “reset my MFA settings” or “allow me to re-register for MFA” on your account. 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 IT admin 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.
Additional information is available in the following resource: How to add your accounts to Microsoft Authenticator | Microsoft Support
If you have any questions or need further support, please don’t hesitate to reach out at any time.
Thank you for your patience and understanding.
If you have any extra questions about this answer, please click "Comment".
Note: Please follow the steps in the forum documentation to enable e-mail notifications if you want to receive the related email notification for this thread.