One of the remnants of the PhoneFactor infrastructure is an old page that is linked in the Azure Portal. It allows for enforcing multi-factor authentication on a per-user basis. It should not be used for several reasons. Here’s why.
Ways to require multi-factor authentication in Azure AD
In Azure Active Directory, there are three ways to require multi-factor authentication:
- Through a Conditional Access Policy;
- Through Security Defaults, when the Azure AD account has a privileged role or is an Azure service owner. or;
- Through enabling an Azure AD user object with multi-factor authentication.
Conditional Access policies are the preferred way to require multi-factor authentication and/or other apply other access restrictions, like requiring a compliant device or require a certain location (based on egress IP address).
It is a flexible and straightforward means to break free from the old actor-action-resource model in Active Directory, but requires Azure AD Premium licenses.
People who are in scope of a Conditional Access policy will be prompted for one-time multi-factor authentication registration when they first sign in. However, requiring people to perform registration is prohibited to people with Azure AD Premium P2 licenses assigned.
For organizations that run Azure AD tenants without Azure AD Premium licenses, multi-factor authentication can be enforced through the Security Defaults feature.
The Security Defaults are non-configurable, but require multi-factor authentication registration at first sign-in and require multi-factor authentication for Azure AD user objects with privileged roles like the Global Administrator, SharePoint Administrator and Exchange administrator roles.
Security Defaults may prompt people in the organization for multi-factor authentication, when the user is a high risk user. As this can be perceived as erratic behavior from the platform, these people might call the service desk, which is exactly what you want.
Per user multi-factor authentication
The third way is the original way of enforcing multi-factor authentication in Azure AD. On a per-user basis, multi-factor authentication can be enabled and then enforced for specific users. No matter how the account is used to sign in, or what application, system or service is signed into, multi-factor authentication is required.
What’s wrong with per-user multi-factor authentication?
There are three big problems with per-user multi-factor authentication:
The page to configure these settings has never been migrated to the Azure Portal.
This leads to a disparate admin experience and confusion. Also, because the page is not a part of the Azure Portal, (custom) roles can’t be used to delegate access. Its access requires Global Administrator privileges.
Conditional Access Inaccuracy
Second, when you enable per-user multi-factor authentication, a Conditional Access administrator will be seeking everywhere as to why a user always needs to perform multi-factor authentication. Conditional Access does not know of the requirement. The sign-in logs do not mention the per-user requirement. People with the Conditional Access administrator role do not have access to the page, as its access is limited to people with the Global Administrator role.
And then there are the app passwords. App Passwords are only available to users with per-user multi-factor authentication configured. Microsoft offers app passwords to people who need to meet multi-factor authentication on legacy platforms and in legacy applications. However, visibility of the usage of app passwords is next to none, making them hard to eradicate once deployed.
After the per-user multi-factor authentication requirement is lifted, people will not be able to create new App passwords or read the values of any existing App passwords. Eventually, they will have to use multi-factor authentication with their next hardware refresh, unless they’ve securely stored the value of their App password(s). It’s something.
Disabling per-user multi-factor authentication and switching to a Conditional Access policy
Disabling per-user multi-factor authentication is the way to go. The best way to disable per-user multi-factor authentication is to remove the enforcement on the user objects in the PhoneFactor portal and build a replacing Conditional Access policy targeting the group of users that was previously enforced.
Perform these steps:
- Start a browser and navigate to the Azure AD Portal.
- Sign in with an account with Global Administrator privileges.
Perform multi-factor authentication when prompted.
- In the left navigation menu, click Azure Active Directory.
- In Azure AD’s navigation menu, click Security.
- In the Security navigation menu, click on MFA under Manage.
- Follow the Additional cloud-based MFA settings link in the main pane.
A new tab or browser window opens.
- Near the top of the page click on Users. This word represents a different ‘tab’ in the management experience of the cloud-based MFA service.
- In the field to the left of the bulk update button, select Enforced from the drop-down list of MFA statuses for Azure AD user objects.
- Write down the accounts.
- Now, in the field to the left of the bulk update button, select Enabled from the drop-down list of MFA statuses for Azure AD user objects.
- Write down these accounts, too.
- Select the option box to the left of DISPLAY NAME at the top of the list of user objects to select of filtered objects with the Enabled status.
- In the quick steps area to the right of the list, follow the link Disable.
- In the Disable multi-factor authentication modal screen, click the yes button.
- Now, in the field to the left of the bulk update button, select Enforced from the drop-down list of MFA statuses for Azure AD user objects.
- Follow steps 9 through 11 to disable the per-user multi-factor authentication requirement for these user objects, too.
- Close the browser tab or browser window and return back to the Azure AD Portal.
- In the Azure Portal tab or window, click Azure Active Directory in the left navigation menu and then click Groups in Azure AD’s navigation menu.
- In the Groups | All groups main pane, click the + New group link to create a new group in Azure AD.
- Leave the Group type as Security.
- Enter a name for the group in the Group name field, following your organization’s naming policy for groups. Something like People with MFA Required might cover it. Optionally, enter a Group description.
- Leave the Membership type to Assigned and click the No members selected link.
The Add members blade appears.
- Search for the user objects on the list you created in steps 9 and 11. Add them to the newly created group by selecting them.
- When you’ve selected all user objects, click the Select button at the bottom of the Add members blade.
- In the New Group pane, click the Create button at the bottom of the pane.
- Now, in the left navigation menu, click on Azure Active Directory.
- In Azure AD’s navigation menu, click on Security.
- Click on Conditional Access in the Security Menu.
- In the Conditional Access | Policies main pane, click the + New policy link in the top action bar.
The New pane appears.
- In the Name field, enter a name for the Conditional Access policy following your organization’s naming policy for policies.
- Under assignments, click on the 0 users and groups selected status for Users and groups.
- Select the Select users and groups option, then select the Users and groups option. In the Select blade, search for the group you’ve created in steps 19 through 25. Select it. Then, click the Select button to save your group selection.
- Under assignments, click on the No cloud apps or actions selected link.
- Select the All cloud apps option.
- Then, under Access Controls, under Grant, click the 0 controls selected link.
The Grant blade opens
- On the Grant blade, select the Require multi-factor authentication option.
- Click Select at the bottom of the blade to save the control.
- At the bottom of the New pane, under Enable policy, select On.
- Click the Create button.
You will be linked back to the Conditional Access | Policies pane
- In the right top corner of the Azure AD Portal, click on the accounts name or profile picture and click on Sign out from the context menu.
- Close the browser.
Please switch from per-user multi-factor authentication to Conditional Access to allow straightforward management of MFA settings, allow delegation and, eventually, get rid of App passwords.