Skip to content

Instantly share code, notes, and snippets.

@oetiker
Last active August 20, 2025 05:35
Show Gist options
  • Save oetiker/cc49584310c73e54e4db812063586e65 to your computer and use it in GitHub Desktop.
Save oetiker/cc49584310c73e54e4db812063586e65 to your computer and use it in GitHub Desktop.
How to add a 2nd Factor for your Office365 Account

How to add a One Time Password 2nd Factor for your Office365 Account using Bitwarden or any other free TOTP App of your choice.

  1. Open https://mysignins.microsoft.com/security-info and login with your usual credentials.

image

  1. Add sign-in method

image

  1. Select Microsoft Authenticator

image

  1. Go for a different autneticator app

image

  1. OK go on!

image

  1. Now it gets hot ... Use a TOTP app of your choice to either scan the QR code or enter the Secret key which is revealed by clicking on Can't scan image?

image

  1. Final step. Prove that you have successfully added the Account to your TOTP app by entering the Code it curently displays.

The End.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment