Require Outlook app to access Exchange Online on managed devices

Copper Contributor

In the past, I have been able to push out an email configuration profile and a device compliance policy (as seen below) to require a managed email account in order to enforce a managed device compliance. Along with this, we have then been able to have a conditional access policy that locks down access to Exchange Online to compliant devices - ensuring devices must be enrolled in Endpoint Manager to access company email.

 

iOS_compliance_policy_email.jpg

 

However, in an effort to move users to the much improved Outlook app and a consistent use of modern authN, I have not been able to get the above configuration to work the way that we would expect.

 

What I have tried for iOS/iPadOS devices (to replace the email configuration profile using basic authN), is created an app configuration policy for Outlook and kept my compliance policy and conditional access policy the same as before, only to hit a wall when trying to access email via Outlook after enrolling a device via the Company Portal app (see below). Essentially, the device isn't compliant because it doesn't have a managed email profile, thus CA blocks the user from accessing Outlook. But I can't have a compliant device unless unless I have a managed email profile on the device (chicken before the egg scenario). If I change the Unable to set up email on the device setting in the compliance policy to Not configured, this resolves the issue, but then we lose that compliance check.

 

Outlook_CA_error_edit.jpg

 

From this, I am seeing that an app configuration policy is not the equivalent of an email configuration policy from a "managed email profile" perspective.

 

I'm am looking for guidance to see if the type of configuration above is possible if we start to:

  1. Make the Outlook app the primary email app for accessing company email
  2. Have a device compliance policy where we "require" a managed email profile
  3. Via Conditional access, only allow access to Exchange Online if it is from a compliant device (iOS/iPadOS/Android)

Thanks!

1 Reply

@Hector Perez 

 

As the email setting is only available on iOS devices, a compliancy policy cannot be used to assure a managed email profile on all device types.  That being said, if you can deploy and configure, then require Outlook Mobile to access Exchange Online via a Conditional Access Policy that requires approved client apps.

 

Reference

Deploying Outlook for iOS and Android app configuration settings | Microsoft Docs

Securing Outlook for iOS and Android in Exchange Online | Microsoft Docs

Approved client apps with Conditional Access - Azure Active Directory | Microsoft Docs