# MFA Configuration

<p class="callout info">**Consult and immediately configure** new authentication methods for your account at [https://mysignins.microsoft.com/security-info](https://mysignins.microsoft.com/security-info)   
</p>

The next time your account connects to Microsoft 365 services, you will automatically be prompted to set up a second authentication method to enhance your account's security.

- Start the setup by clicking **Next**

[![Capture d’écran 2025-04-01 à 08.42.41.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/scaled-1680-/capture-decran-2025-04-01-a-08-42-41.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/capture-decran-2025-04-01-a-08-42-41.png)

- You can choose to configure a second authentication method from the following options:  
    
    - [Using the Microsoft Authenticator app on your phone](https://wiki.unil.ch/ci/books/microsoft-365/page/configuration-mfa#bkmrk-microsoft-authentica)
    - [Using SMS code on your phone](https://wiki.unil.ch/ci/books/microsoft-365/page/configuration-mfa#bkmrk-code-sms)
    - [Using another authentication app (Google Authenticator, etc.)](https://wiki.unil.ch/ci/books/microsoft-365/page/configuration-mfa#bkmrk-autre-application-d%27)
    - [Using the Ente Auth app (for people without a phone)](https://wiki.unil.ch/ci/books/microsoft-365/page/configuration-mfa#bkmrk-ente-auth-%28solution-)

### Microsoft Authenticator

<p class="callout info">This is the method recommended by the Central IT Services</p>

To set up the Microsoft Authenticator app as your second authentication method, you need to:

- Install the Microsoft Authenticator app on your phone using the links for [Android](https://go.microsoft.com/fwlink/p/?linkid=2168850&clcid=0x100c&country=ch) and [iOS](https://go.microsoft.com/fwlink/p/?linkid=2168643&clcid=0x100c&country=ch), or directly via the QR codes

[![Capture d’écran 2025-04-02 à 09.12.10.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/scaled-1680-/capture-decran-2025-04-02-a-09-12-10.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/capture-decran-2025-04-02-a-09-12-10.png)

- Keep your phone nearby and return to the setup page to continue by clicking **Next**  
    [![MA_1.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/scaled-1680-/ma-1.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/ma-1.png)
- Click **Next** again

[![Capture d’écran 2025-04-01 à 08.49.59.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/scaled-1680-/Psscapture-decran-2025-04-01-a-08-49-59.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/Psscapture-decran-2025-04-01-a-08-49-59.png)

- Open the Microsoft Authenticator app on your phone, tap **Add account**, then choose **Work or school account**, and **Scan the QR code**

<p class="callout info">You may allow push notifications if the app prompts you.</p>

<table border="1" id="bkmrk--3" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><tbody><tr><td>[![Unknown.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/scaled-1680-/unknown.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/unknown.png)</td><td>[![Unknown-1.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/scaled-1680-/OR9unknown-1.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/OR9unknown-1.png)

</td></tr></tbody></table>

- Scan the QR code displayed on your screen with your phone and click **Next**

[![MFA_2.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/scaled-1680-/mfa-2.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/mfa-2.png)

- Enter the 2-digit code shown on your screen into your phone and tap **Yes**

<table border="1" id="bkmrk--5" style="border-collapse: collapse;"><colgroup><col style="width: 65%;"></col><col style="width: 35%;"></col></colgroup><tbody><tr><td>[![Capture d’écran 2025-04-01 à 08.52.29.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/scaled-1680-/capture-decran-2025-04-01-a-08-52-29.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/capture-decran-2025-04-01-a-08-52-29.png)

</td><td>[![Unknown-2.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/scaled-1680-/unknown-2.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/unknown-2.png)

</td></tr></tbody></table>

- If successful, click **Next** to complete the setup

[![Capture d’écran 2025-04-01 à 08.52.46.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/scaled-1680-/capture-decran-2025-04-01-a-08-52-46.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/capture-decran-2025-04-01-a-08-52-46.png)

### **SMS Code**

<p class="callout warning">This option is **not recommended**, as it is unreliable in case of mobile network issues and may incur charges when used abroad. The other options work without a network connection and are preferable.</p>

To set up SMS codes as your second authentication method, you need to:

- Click on **I want to set up another method**

[![SMS_1.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/scaled-1680-/7ijsms-1.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/7ijsms-1.png)

- Then select **Phone**

[![SMS_2.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/scaled-1680-/IhRsms-2.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/IhRsms-2.png)

- Choose your country code, enter your mobile phone number, select **Receive a code**, and click **Next**

[![Capture_d’écran_2025-05-12_à_13_48_35.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-05/scaled-1680-/capture-decran-2025-05-12-a-13-48-35.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-05/capture-decran-2025-05-12-a-13-48-35.png)

- Enter the code received by SMS on your phone and click **Next**

[![SMS_4.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/scaled-1680-/sms-4.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/sms-4.png)

- Complete the setup by clicking **Done**

[![SMS_5.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/scaled-1680-/sms-5.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/sms-5.png)

### **Other Authentication Application**

<p class="callout warning">Be sure to choose a trusted tool</p>

If you want to set up another authentication app compatible with TOTP (such as **Google Authenticator**, **Authy**, **Apple Keychain**, **BitWarden Premium**/**Family** \[paid\], **Aegis Authenticator** \[open source, Android\], **2FAS** \[open source, iOS + Android\], etc.) with your account, you need to:

- Click on **I want to use a different authentication app**

[![App_1.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/scaled-1680-/app-1.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/app-1.png)

- Open your authentication app, add a new account, then click **Next**

[![App_2.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/scaled-1680-/app-2.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/app-2.png)

- Scan the QR code using your app (or click **Can’t scan the image?** to display the key for manual entry), then click **Next**

[![App_3.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/scaled-1680-/app-3.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/app-3.png)

- Enter the code displayed in your app and click **Next** to complete the setup

[![App_4.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/scaled-1680-/app-4.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/app-4.png)

### **Ente Auth (Phone-Free Solution)**

<p class="callout info">A solution for anyone who does not have a phone.</p>

**Ente Auth** is a free and open-source solution that allows you to set up an MFA code on your computer (Windows, macOS, and Linux). To configure a second factor using the Ente Auth software, you need to:

- Download the Ente Auth software from [https://ente.io/auth/](https://ente.io/auth/) (available for Windows, macOS, or Linux) and install it on your computer[![Capture d’écran 2025-06-20 à 13.59.40.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-06/scaled-1680-/capture-decran-2025-06-20-a-13-59-40.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-06/capture-decran-2025-06-20-a-13-59-40.png)
- Open the Ente Auth application and choose the option **Use without backup** (this allows use without creating an account, but be sure to have a backup of your computer)  
    [![Capture_d’écran_2025-06-20_à_14_04_19.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-06/scaled-1680-/capture-decran-2025-06-20-a-14-04-19.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-06/capture-decran-2025-06-20-a-14-04-19.png)
- Click on **Enter a setup key**  
    [![Capture d’écran 2025-06-20 à 14.04.51.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-06/scaled-1680-/capture-decran-2025-06-20-a-14-04-51.png)  ](https://wiki.unil.ch/ci/uploads/images/gallery/2025-06/capture-decran-2025-06-20-a-14-04-51.png)
- Return to the Microsoft 365 second authentication method setup page and click on **I want to use a different authentication app**[  
    ![App_1.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/scaled-1680-/app-1.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/app-1.png)

- Click **Next[  
    ![App_2.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/scaled-1680-/app-2.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/app-2.png)**

- Click on **Can’t scan the image?** and copy-paste the information into Ente Auth  
    [![Capture_d’écran_2025-06-20_à_14_07_21.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-06/scaled-1680-/capture-decran-2025-06-20-a-14-07-21.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-06/capture-decran-2025-06-20-a-14-07-21.png)

- Enter the following information and click **Save**:  
    
    - **Issuer**: Microsoft 365 UNIL
    - **Secret**: Copy and paste the **Secret Key** value
    - **Account**: Copy and paste the **Account Name** value

[![Capture_d’écran_2025-06-20_à_14_05_14.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-06/scaled-1680-/FS3capture-decran-2025-06-20-a-14-05-14.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-06/FS3capture-decran-2025-06-20-a-14-05-14.png)

- Enter the code displayed in Ente Auth and click **Next** to complete the setup

[![Capture_d’écran_2025-06-20_à_14_07_59.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-06/scaled-1680-/capture-decran-2025-06-20-a-14-07-59.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-06/capture-decran-2025-06-20-a-14-07-59.png)[![App_4.png](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/scaled-1680-/app-4.png)](https://wiki.unil.ch/ci/uploads/images/gallery/2025-04/app-4.png)