[et_pb_section fb_built=”1″ fullwidth=”on” _builder_version=”3.0.67″ background_image=”https://www.mdsny.com/wp-content/uploads/2017/08/dreamstime_xxl_38518064.jpg” background_position=”center_right” background_blend=”darken” custom_padding=”0px|0px|0px|0px”][et_pb_fullwidth_header title=”%22It’s Not You, It’s Me%22″ subhead=”How to exclude ActiveSync from Azure MFA when using Office 365 Exchange Online” text_orientation=”center” background_overlay_color=”rgba(0,0,0,0.42)” title_font_color=”#ffffff” _builder_version=”3.0.101″ title_font=”||||||||” title_font_size=”37px” title_text_color=”#ffffff” subhead_font=”||||||||” subhead_font_size=”19px” subhead_text_color=”#ffffff”][/et_pb_fullwidth_header][/et_pb_section][et_pb_section fb_built=”1″ _builder_version=”3.0.65″ custom_padding=”12px|0px|0px|0px”][et_pb_row make_fullwidth=”on” custom_padding=”27px|1px|0px|2px” _builder_version=”3.0.65″][et_pb_column type=”4_4″ _builder_version=”3.0.47″ parallax=”off” parallax_method=”on”][et_pb_text _builder_version=”3.0.101″ text_font=”||||||||” text_font_size=”15px” text_text_color=”#000000″ header_font=”||||||||”]By Neil Hoffman, MDS

If you are planning to deploy Azure MFA you probably already know that you need to ‘deal’ with ActiveSync and the challenge that it brings to an MFA deployment.

As George Costanza would say: “It’s not you, it’s me!”

It’s not Azure MFA’s fault, it’s actually ActiveSync’s.  ActiveSync is an older protocol that does not support modern authentication which is required for multi-factor authentication flow.  No multi-factor authentication system can support it.

The dilemma is that basically all smartphones use ActiveSync for the default email client when connecting to an Exchange mailbox.

The common answer is just don’t allow ActiveSync, and there is some merit to that as it is not as secure and there is limited control you can have over native mail clients on smartphones but that is a discussion for another blog…  In this scenario, you would block ActiveSync and only allow an email client that supports modern authentication such as the Outlook App.  This is a more secure and fully manageable application and would be the recommended approach from a security perspective.
[/et_pb_text][et_pb_image _builder_version=”3.0.65″ animation_style=”slide” animation_direction=”left” animation_duration=”500ms” animation_intensity_slide=”10%”][/et_pb_image][/et_pb_column][/et_pb_row][/et_pb_section][et_pb_section fb_built=”1″ background_color=”#e8e8e8″ _builder_version=”3.0.65″ custom_padding=”0px|0px|34px|0px”][et_pb_row make_fullwidth=”on” custom_padding=”0px|0px|0px|0px” _builder_version=”3.0.65″][et_pb_column type=”4_4″ _builder_version=”3.0.47″ parallax=”off” parallax_method=”on”][et_pb_text _builder_version=”3.0.101″ text_font=”||||||||” text_font_size=”15px” inline_fonts=”Droid Serif”]
That being said, if you do not want to go that route then you need one of the following workarounds:

Workaround one:

Use the App Password.

Microsoft has come up with an alternative solution to the “don’t allow ActiveSync” option.

Microsoft’s workaround is called an App Password.  This is a special system generated password that a user can create in their Azure AD Security portal that would be used with an application that only supports legacy authentication such as our friend ActiveSync.  This password would be used instead of the user’s regular password and would satisfy the MFA requirement.

While this method works, it tends to be a bit challenging as the process is not very intuitive.  For one, the password prompt dialog doesn’t specify that it is looking for the App Password so very often a user will continuously try their regular password until:

  • They lock their account
  • The lightbulb goes off and they realize it wants the App Password and hopefully, they have it handy or know how to login to the security portal and create a new one
  • They open a support case

Or even worse, since this password is not generated by the user and is a random string, it is more prone to being jotted down on a sticky note or saved in an insecure text file somewhere which negates any positive security measures that are being put in place.

Workaround two:

Only require Azure MFA for applications that support modern authentication and bypass it for applications that don’t.

Typically when you are rolling out MFA, you would just enable it for a user in the MFA portal.  At that point, any access attempt made by that user for any application will require MFA (or an app password for legacy apps).  This is the standard deployment scenario.

The alternative approach is rather than categorically require MFA for a user, we create a conditional access policy that requires MFA for applications that support modern authentication (cloud apps) for the user.  This essentially will exclude apps that do not support modern authentication from requiring MFA.

This can be accomplished by:

  • Don’t enable MFA for the user in the MFA portal.
  • Create a conditional access policy with the following attributes:Assignments
    1. Include users in the scope of your test
    2. Include all cloud apps
    3. Include any location. Note that here is where you can exclude an IP whitelist created in the MFA portal by clicking on the exclude tab and selecting ‘MFA Trusted IPs’

Access controls:

  1. Grant access
    • Require multi-factor authentication

What this accomplishes is:

  • If an application identifies itself as supporting modern authentication… we will require MFA.
  • If an application does not identify itself as supporting modern authentication… we will not require MFA.

It should be noted again that this approach is less secure and would also allow other legacy clients such as older versions of Outlook (prior to 2016) to bypass MFA.

MDS recommends hardening your security posture by enforcing a managed application, however, if allowing ActiveSync without using an App Password is a requirement of your organization, then this is how you can accomplish it.
[/et_pb_text][/et_pb_column][/et_pb_row][/et_pb_section][et_pb_section fb_built=”1″ background_color=”#bcbcbc” admin_label=”section” _builder_version=”3.0.65″ custom_padding=”14px|0px|9px|0px”][et_pb_row make_fullwidth=”on” background_color=”#bcbcbc” admin_label=”row” _builder_version=”3.0.65″ background_size=”initial” background_position=”top_left” background_repeat=”repeat”][et_pb_column type=”4_4″ _builder_version=”3.0.47″ parallax=”off” parallax_method=”on”][et_pb_cta title=”Take Back Your Day” button_url=”https://www.mdsny.com/contact” button_text=”Contact Us” use_background_color=”off” background_layout=”light” _builder_version=”3.0.65″ header_font=”Droid Sans|on|||” header_font_size=”31px” header_text_color=”#141414″ body_font=”Droid Sans||||” body_font_size=”19px” body_text_color=”#000000″ background_size=”initial” background_position=”top_left” background_repeat=”repeat” custom_button=”on” button_text_color=”#000000″ button_bg_color_hover=”#008a93″]Learn how the latest technologies can free up your time so you can focus on your business
[/et_pb_cta][/et_pb_column][/et_pb_row][/et_pb_section]