Site icon Technical Blog | REBELADMIN

Step-by-Step: Enabling MFA for Azure Administrative Portals via Microsoft Entra ID Conditional Access

As per the recent Microsoft Digital Defense Report 2023 (available at https://www.microsoft.com/en-gb/security/security-insider/microsoft-digital-defense-report-2023), it is highlighted that adhering to fundamental security practices still provides protection against approximately 99% of cyberattacks. When delving into these core security recommendations, the foremost among them is the implementation of multifactor authentication (MFA). Microsoft’s official guidance encourages the adoption of MFA for all users, with a few exceptions:

While enabling MFA for all users may seem straightforward, it can pose challenges within corporate environments. Instead of an across-the-board implementation, organizations may opt for a phased approach, aligning MFA with specific business cases or units. An effective starting point for this MFA journey is to begin with privileged accounts.

There are two potential methods to achieve this:

  1. Creating Conditional Access Policies for Administrators: Microsoft advises enabling MFA for the following directory roles at a minimum:

A conditional access policy can be established to enforce MFA for these roles, activating MFA verification when users engage with the specified roles. It’s worth noting that such a policy typically targets “All cloud apps.”

2.Creating Conditional Access Policies to Enforce MFA for Admin Portals: In lieu of specific roles, organizations can craft conditional access policies aimed at administrative portals, thus mandating MFA for users accessing these portals. Admin portals encompass:

Microsoft will incorporate additional portals into this list over time. The advantage of this approach lies in its limited impact on backend resources and services, such as Microsoft Graph or Azure Resource Manager APIs. This ensures that only the portal itself is subject to MFA enforcement, leaving operations reliant on APIs or PowerShell unaffected.

Once administrators are prepared, they can transition to the first option mentioned, implementing MFA for all privileged roles. In this blog post, we will explore the process of enforcing MFA for admin portals using conditional access policies.

To configure the policy,

  1. Log in to Entra Admin Center https://entra.microsoft.com/ as at least a Conditional Access Administrator.
  2. Go to Protection | Conditional Access

  1. Then click on Policies | + New policy

  1. In the new policy window, type Name for the policy and click on Users
  2. In this policy, we are going to target all users. So make sure to select All users option.

  1. Then under the Target resources, click on Selected apps | Select, and then from the list select Microsoft Admin Portals.

  1. The next step of the configuration is to define access control settings. To do that click on Access Control | Grant and then select Required authentication strength. So in there, we have three options to choose from.

The recommendation is to use Phishing-resistant MFA strength as it provides maximum protection. But that required the use of FIDO2 security key / Windows Hello. To learn more about these options please visit https://learn.microsoft.com/en-us/azure/active-directory/authentication/concept-authentication-strengths#built-in-authentication-strengths

For this demo, I am going to use  MFA strength and it is similar to using the Require multifactor authentication setting as it uses the same set of combinations.

    1. Then select On under Enable policy setting and click on Create to finish the policy setup.

This completes the policy setup and let’s do some testing to confirm.

Testing

For testing, I am trying to log in to the entra admin center as Global Admin. As expected it prompted me to MFA.

Also under the Sign-in logs, I can see the new policy has been applied.

As we can see now MFA is enforced for admin portal logins. This marks the end of this blog post and if you have any questions, feel free to reach me at rebeladm@live.com