Open the Microsoft Authenticator app.
On the Accounts screen, select Add account, and then select Work or school account.
Use your device's camera to scan the QR code, and then select Done to close the QR code screen.
Note - If your camera isn't working properly, you can enter the QR code and URL manually.
The Accounts screen of the app shows you your account name and a six-digit verification code. For additional security, the verification code changes every 30 seconds preventing you from using the same code twice.