Jump to content

Uploading Microsoft QR OTP codes into Passwordstate


Recommended Posts


A frequent question we get is Passwordstate will not accept the QR code that Microsoft supply for their online portal access.  The error being reported is the QR code being uploaded is an "invalid QR code". There is a trick to this that is documented below, which will allow you to save an alternative QR code from Microsoft, and this can be uploaded into Passwordstate, which you can then use to authenticate to Microsoft portals.


Edit October 2023: Microsoft have chnaged some screens and the below instruction may not work for you.  If you find this process will not upload a valid QR code into Passwordstate, please try following this new forum post instead with updated screenshots:  https://forums.clickstudios.com.au/topic/15415-uploading-microsoft-qr-otp-codes-into-passwordstate-updated-october-2023/



Step 1:

After applying 2FA to your account in the MS Portal, log into your MS Portal and you will be asked to set up 2FA for your login.  The QR code on this screen is not a standard QR code and uploading this into Passwordstate will throw an error. Instead, click on this link:





Step 2:

On this next page you'll notice the QR code changes slightly, and this is the code you can save to disk:





Step 3:

Now in Passwordstate, upload the QR code and it will start giving you the relevant 6 digit code to authenticate with:



Step 4:

Don't forget to delete the QR code off your disk!





Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...