Using classic Outlook for Windows in business environments
I just went through a similar issue. When trying to log into email on a phone or a computer with a browser, I was continually presented with a two digit code to enter into MS Authenticator. When I downloaded the Authenticator app onto the new phone and tried to add the account I was also given a two digit code to enter into Authenticator to verify who I was. Without an accessible Authenticator app I was stuck.
Solution was
- Go to https://account.activedirectory.windowsazure.com/UserManagement/MultifactorVerification.aspx and log in as an Admin
- Select the email account that is having the issue
- On the right, select "manage user settings"
- Select "Require selected users to provide contact methods again" and "Delete all existing app passwords generated by the selected users"
- Hit Save
Once done you can add the account to the Authenticator app and it should no longer ask to to verify with a code.