# Using Keeper TOTP with Azure or Office 365

## Microsoft 2FA Configuration

Keeper can protect Azure AD / Office 365 logins with our TOTP (time-based one-time password) feature.  By default, Microsoft provides a different type of code which supports their push method.  Below are the step by step instructions to setting up Office 365 TOTP code support properly.

**(1)** From your Microsoft Azure / Office 365 Profile Screen, visit your security settings screen. The Microsoft site seems to change often, so we won't add a hyperlink here.  Click on "Add Method" to set up two factor authentication on your Microsoft account.

![](https://914511346-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LSGVtOTYUIkVBoYtFvK%2F-Ma0d_OHfWHoSpIB9UsH%2F-Ma0eoRhVgFxcf2kJrId%2FScreen%20Shot%202021-05-18%20at%203.47.59%20PM.png?alt=media\&token=c9eb6a0e-3d41-4406-8fb0-fd8c4f830988)

**(2)** Select "I want to use a different authenticator app" as your preferred option

![](https://914511346-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LSGVtOTYUIkVBoYtFvK%2F-Ma0d_OHfWHoSpIB9UsH%2F-Ma0f2nSEgIZhPdmZQef%2FScreen%20Shot%202021-05-18%20at%203.41.26%20PM.png?alt=media\&token=5ea54381-c767-4b85-9a09-7cce66bb3f35)

The QR code will be generated and displayed:

![](https://914511346-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LSGVtOTYUIkVBoYtFvK%2F-Ma0d_OHfWHoSpIB9UsH%2F-Ma0fGKe3SjU8dDZ88_T%2FScreen%20Shot%202021-05-18%20at%203.41.53%20PM.png?alt=media\&token=d26cd1ad-d871-4e93-9789-970646edf04a)

**(3)** On Keeper from your record, click on "Add Two-Factor Code".  Or if you're using the mobile app, you can tap on "Add Two-Factor Code" to scan it with the camera.

![](https://914511346-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LSGVtOTYUIkVBoYtFvK%2F-Ma0d_OHfWHoSpIB9UsH%2F-Ma0fYYy0g2Yg7dtENEZ%2FScreen%20Shot%202021-05-18%20at%203.42.56%20PM.png?alt=media\&token=732ba68c-dc2f-448e-bead-4779a9232ee5)

![](https://914511346-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LSGVtOTYUIkVBoYtFvK%2F-Ma0d_OHfWHoSpIB9UsH%2F-Ma0ftjxaldR8FCGMZLs%2FScreen%20Shot%202021-05-18%20at%203.43.01%20PM.png?alt=media\&token=1be1835e-518a-4b9e-94e5-69420ac35e36)

**(4)** Enter the verification code as displayed in your Keeper app

![](https://914511346-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LSGVtOTYUIkVBoYtFvK%2F-Ma0d_OHfWHoSpIB9UsH%2F-Ma0g0G3VjQd1DuyyeS2%2FScreen%20Shot%202021-05-18%20at%203.43.22%20PM.png?alt=media\&token=34e32444-ee4e-46ff-8977-07a7e7ca5c1d)

**(5)** Click Next and then Save the record in the Keeper vault.

{% hint style="success" %}
Make sure to **save** the Keeper record before exiting the setup
{% endhint %}

**(6)** To ensure that Autofill works with all the various Microsoft sites you may be using, we recommend adding several custom fields to your Keeper record similar to the screen below.

![Keeper vault record configuration](https://914511346-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LSGVtOTYUIkVBoYtFvK%2F-M3hCeda01y6CMsIQfd7%2F-M3hDyjGjuCprnJZhN2_%2FScreen%20Shot%202020-03-30%20at%201.56.47%20PM.png?alt=media\&token=9bfed280-76ce-4d7e-848d-34eab69d2102)

### Logging in with Two Factor Code

When logging into Microsoft Online, use Keeper's right-click menu as a simple way to fill the TOTP code.

![](https://914511346-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LSGVtOTYUIkVBoYtFvK%2F-M3hEPWoBspOcji1e_Ev%2F-M3hGxzOsW8HYRrvVmYp%2FScreen%20Shot%202020-03-30%20at%201.52.52%20PM.png?alt=media\&token=c6809a06-f22d-4de4-9cc2-3e8ef77381fd)
