A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation
Ok, well hard to say what might have happened. You can try Sign in to your account but select the Sign in another way link (assumes one was setup) on the Two-factor verification page.
https://support.microsoft.com/en-us/account-billing/common-problems-with-two-step-verification-for-a-work-or-school-account-63acbb9b-16a1-47b9-8619-6a865e8071a5
otherwise contact the account admins to reset your account's two factor.
--please don't forget to upvote and Accept as answer if the reply is helpful--