How to Deploy Office365 MFA

 

Office365 MFA Deployment Guide

May 2, 2019

Overview

Many consultants may have come across a few difficulties when rolling Multi-factor authentication (MFA) out on Office365, this guide will walk you through all the steps to deploy it without the need of those pesky app passwords.

What you need

  1. Clients running Office 2016 and up: MFA deployment without the use of app passwords will only work if your clients are running Office 2016 and up.
  2. A Windows machine: In order to apply some of the settings in this guide you will need one machine running one of the following versions of Windows; Windows 10, Windows 8.1, Windows Server 2016, Windows Server 2012, Windows Server 2012 R2, Windows 7 Service Pack 1, Windows Server 2008 R2 Service Pack 1.
  3. Access to the client’s Office365 Admin Center: The Admin Center is used to manage the deployment of MFA for the client, if your admin account already has MFA turned on make sure to disable it for the PowerShell session.
  4. Clients running compatible mobile phone mail applications: MFA deployment for Office365 is not supported on outdated versions of both the IOS mail and Samsung Mail email clients. Make sure that your clients are running the newest versions of their mobile phones operating system as well as the most up to date versions of their phone's email clients. If your users are still experiencing issues simply delete the account from their phone and sign back in, or use the Outlook mobile application.
  5. Identify risky accounts: If you are unsure about the purpose of a user account on your Office365 Admin dashboard, then it is strongly recommended not to turn on MFA on the account until it’s scope is identified.

Steps

  1. Connect to Exchange Online PowerShell

  1. Open PowerShell as an administrator.
  2. Run the command “Set-ExecutionPolicy RemoteSigned”, input the letter “A” and hit enter to enforce signed trusted PowerShell scripts.
  3. Run the command “$UserCredential = Get-Credential” and input your Office365 administrator credentials into the dialog box.
  4. Run the following command “$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection”.
  5. Run this command “Import-PSSession $Session -DisableNameChecking”.

  1. Enable Active Directory Authentication Library (ADAL)

  1. Run this command “Get-OrganizationConfig | Format-Table name, *OAuth*”, if the value for “OAuth2ClientProfileEnabled” returns “True skip step b.
  2. Run the following command to enable ADAL “Set-OrganizationConfig -OAuth2ClientProfileEnabled:$true

  1. Manage MFA user settings

  1. On the multi-factor authentication page, select the check box next to the people you want to manage.
  2. On the right, under quick steps, choose to Manage user settings.
  3. In the Manage user settings dialog box, select one or more of the following options:
  1. Require selected users to provide contact methods again
  2. Delete all existing app passwords generated by the selected users
  3. Restore multi-factor authentication on all remembered devices
  1. Choose Save, then choose Close.

  1. Set up multi-factor authentication in the Microsoft 365 admin center

  1. In the admin center, go to Users > Active users.
  2. IMPORTANT: BEFORE you select a user, choose More (...) > Setup Azure multi-factor authentication.
  3. Find the people for whom you want to enable MFA. In order to see everyone, you might need to change the Multi-Factor Auth status view at the top.
  4. The views have the following values, based on the MFA state of the users:
  1. Any Displays all users. This is the default state.
  2. Enabled The person has been enrolled in MFA, but has not completed the registration process. They will be prompted to complete the process the next time they sign in.
  3. Enforced The person may or may not have completed registration. If they have completed the registration process, then they are using MFA. Otherwise, they will be prompted to complete the process the next time they sign in.
  1. Select the check box next to the people for whom you want to enable MFA.
  1. On the right, under quick steps, you’ll see Enable and Manage user settings. Choose Enable.
  2. In the dialog box that opens, choose to enable multi-factor auth.

Have more questions? Submit a request

Comments

Powered by Zendesk