Using KeePass as an MFA / 2-step sign-in method with Microsoft consumer accounts
This post is about using KeePass with Microsoft consumer accounts (live.com, outlook.com, e5tc.) for the 2-step verification process. General considerations about using KeePass as a storage for TOTP keys and generator of one-time-password, can be found here:
https://www.fhtino.it/blog/using-keepass-as-totp-keys-storage-and-otp-generator
The following steps assume the 2-step-verification has been already activated. If not already active, some more steps are needed. But the fundamental ones are the same
Login into https://account.microsoft.com/ Select Security from the top bar and select Advanced security options:

Select “Add a new way to sign in or verify”:

Select “Use an app”:

Select “set up a different Authenticator app”:

Select “I can’t scan the bar code”:

Copy and paste the Secret key:

Paste the secret key into Otp generartor setting of the KeePass entry:

Remove white spaces from the secret key if present. KeePass immediately start generating OTP codes:

Copy and paste the generated value into the browser and press Next

If everything worked, a new method has been added:

Now you can use the OTP generated by KeePass during the login process.


DISCLAIMER: Content and opinions are my own. None of the ideas expressed in this web-site are shared, supported, or endorsed in any manner by my current or former employers.
Nothing here should be taken seriously and you understand and accept that you can use any suggestions, ideas, techincal solutions on this web-site only at your own risk.
All trademarks are property of their respective owners.