Entra · Security

System-preferred multifactor authentication in Azure AD. Don't settle for less.

· Updated 27 March 2023 · 3 min read · Entra, Security

A new feature has popped up in Azure AD: System-preferred multifactor authentication (MFA). This will allow administrators to enforce the most secure method for Azure MFA. For example, if a user has multiple methods registered, the most secure method will be prompted first. How do I know what method is the strongest, you may ask? Here is the current order from most to least secure methods, currently supported in Azure Active Directory:

  1. Temporary Access Pass
  2. Certificate-based authentication
  3. FIDO2 security key
  4. Microsoft Authenticator notification
  5. Companion app notification
  6. Microsoft Authenticator time-based one-time password (TOTP)
  7. Companion app TOTP
  8. Hardware token based TOTP
  9. Software token based TOTP
  10. SMS over mobile
  11. OnewayVoiceMobileOTP
  12. OnewayVoiceAlternateMobileOTP
  13. OnewayVoiceOfficeOTP
  14. TwowayVoiceMobile
  15. TwowayVoiceAlternateMobile
  16. TwowayVoiceOffice
  17. TwowaySMSOverMobile

This list is dynamic and may change as new methods are introduced or old ones disappear. Always check the current docs for the current status: System-preferred multifactor authentication (MFA) - Azure Active Directory - Microsoft Entra | Microsoft Learn

How to configure this setting?#

Update 27-02-2023. This setting can now be configured using the Azure portal as well.

Screenshot: image 8

At the time of writing, this setting can only be set using Graph API. The super duper Graph Explorer tool is the easiest way to do this.

First, make sure you are signed in with proper permissions that allow you to change this setting. In Graph Explorer, you need to consent to the Policy.ReadWrite.AuthenticationMethod permission. Run the following query to get the current state of the setting. We are looking for the systemCredentialPreferences setting.

Graph API
GET https://graph.microsoft.com/beta/policies/authenticationMethodsPolicy

Screenshot: image

By default, system-preferred MFA is Microsoft managed and disabled during the preview. After general availability, the Microsoft managed state default value will change to enable system-preferred MFA.

To enable the feature for all users, run:

Graph API
PATCH https://graph.microsoft.com/beta/authenticationMethodsPolicy
Content-Type: application/json

{
    "systemCredentialPreferences": {
        "state": "enabled",
        "includeTargets": [
            {
                "id": "all_users",
                "targetType": "group"
            }
        ]
    }
}

Screenshot: image 1

You can also include or exclude (dynamic) groups for this feature. Just reach out to the guidance here:

System-preferred multifactor authentication (MFA) - Azure Active Directory - Microsoft Entra | Microsoft Learn

Example:

Graph API
PATCH https://graph.microsoft.com/beta/policies/authenticationMethodsPolicy
Content-Type: application/json

{
    "systemCredentialPreferences": {
        "state": "enabled",
        "excludeTargets": [
            {
                "id": "d1411007-6fcf-4b4c-8d70-1da1857ed33c",
                "targetType": "group"
            }
        ],
        "includeTargets": [
            {
                "id": "all_users",
                "targetType": "group"
            }
        ]
    }
}

User experience#

So, how does this looks on the users’ end? In this example, the user has registered three methods:

  1. FIDO2 key.
  2. Microsoft Authenticator App.
  3. SMS.

When the user signs in, only FIDO2 is prompted. The user can still cancel out and pick another method if needed.

As a result, users can no longer set their default method, as the most advisable sign-in method is used. Optinally, a user can change their fall-back method, in case the first method is unavailable.

Screenshot: image 2

*You’re using the most advisable sign-in method where it applies.*

Let’s wrap up#

This is a really nice feature, as many users (and admins) still can’t find their way into the authentication methods maze. With this feature, admins can make sure that users are using the strongest method possible while still giving users the ability to change the method during sign-in. Together with the Registration Campaign (Nudge) feature, this will improve the overall security posture for many companies.

Read more: System-preferred multifactor authentication (MFA) - Azure Active Directory - Microsoft Entra | Microsoft Learn

Stay safe!

Comments

Comments load when you scroll here.