I had same issue. ms authenticator is rubbish.
I installed google authenticator, Logged into my MS Office account, went to security info, Added a new sign-in method for Authenticator, followed "use different app" link, used google authenticator to add account. I can now use 2FA with google authenticator.