Skip to content

Latest commit

 

History

History
128 lines (81 loc) · 8.69 KB

conditional-access-exchange-create.md

File metadata and controls

128 lines (81 loc) · 8.69 KB
title titleSuffix description keywords author ms.author manager ms.date ms.topic ms.service ms.localizationpriority ms.technology ms.assetid ms.reviewer ms.suite search.appverid ms.custom ms.collection
Create Exchange Conditional Access policy
Microsoft Intune
Configure Conditional Access for Exchange on-premises and legacy Exchange Online Dedicated in Intune.
brenduns
brenduns
dougeby
09/19/2019
conceptual
microsoft-intune
high
127dafcb-3f30-4745-a561-f62c9f095907
stama
ems
MET150
intune-azure
M365-identity-device-management

Create a Conditional Access policy for Exchange on-premises and legacy Exchange Online Dedicated

[!INCLUDE azure_portal]

This article shows you how to configure Conditional Access for Exchange on-premises based on device compliance.

If you have an Exchange Online Dedicated environment and need to find out whether it is in the new or the legacy configuration, contact your account manager. To control email access to Exchange on-premises or to your legacy Exchange Online Dedicated environment, configure Conditional Access to Exchange on-premises in Intune.

Before you begin

Before you can configure Conditional Access, verify the following configurations exist:

  • Your Exchange version is Exchange 2010 SP1 or later. Exchange server Client Access Server (CAS) array is supported.

  • You have installed and use the Exchange Active Sync on-premises Exchange connector, which connects Intune to on-premises Exchange.

    [!IMPORTANT]
    Intune supports multiple on-premises Exchange connectors per subscription. However, each on-premises Exchange connector is specific to a single Intune tenant and cannot be used with any other tenant. If you have more than one on-premises Exchange organization, you can set up a separate connector for each Exchange organization.

  • The connector for an on-premises Exchange organization can install on any machine as long as that machine can communicate with the Exchange server.

  • The connector supports Exchange CAS environment. Intune supports installing the connector on the Exchange CAS server directly, but we recommend you install it on a separate computer because of the additional load the connector puts on the server. When configuring the connector, you must set it up to communicate to one of the Exchange CAS servers.

  • Exchange ActiveSync must be configured with certificate-based authentication, or user credential entry.

  • When Conditional Access policies are configured and targeted to a user, before a user can connect to their email, the device they use must be:

    • Either enrolled with Intune or is a domain joined PC.
    • Registered in Azure Active Directory. Additionally, the client Exchange ActiveSync ID must be registered with Azure Active Directory.
  • Azure AD Device Registration Service (DRS) is activated automatically for Intune and Office 365 customers. Customers who have already deployed the ADFS Device Registration Service don't see registered devices in their on-premises Active Directory. This does not apply to Windows PCs and Windows Phone devices.

  • Compliant with device compliance policies deployed to that device.

  • If the device doesn't meet Conditional Access settings, the user is presented with one of the following messages when they sign in:

    • If the device isn't enrolled with Intune, or isn't registered in Azure Active Directory, a message displays with instructions about how to install the Company Portal app, enroll the device, and activate email. This process also associates the device's Exchange ActiveSync ID with the device record in Azure Active Directory.
    • If the device isn't compliant, a message displays that directs the user to the Intune Company Portal website, or the Company Portal app where they can find information about the problem and how to remediate it.

Support for mobile devices

  • Windows Phone 8.1 and later
  • Native email app on iOS.
  • EAS mail clients such as Gmail on Android 4 or later.
  • EAS mail clients Android work profile devices: Only Gmail and Nine Work for Android Enterprise in the work profile are supported on Android work profile devices. For Conditional Access to work with Android work profiles, you must deploy an email profile for the Gmail or Nine Work for Android Enterprise app, and also deploy those apps as a required installation.

Note

Microsoft Outlook for Android and iOS is not supported via the Exchange on-premises connector. If you want to leverage Azure Active Directory Conditional Access policies and Intune App Protection Policies with Outlook for iOS and Android for your on-premises mailboxes, please see Using hybrid Modern Authentication with Outlook for iOS and Android.

Support for PCs

The native Mail application on Windows 8.1 and later (when enrolled into MDM with Intune)

Configure Exchange on-premises access

Before you can use the following procedure to set up Exchange on-premises access control, you must install and configure at least one Intune on-premises Exchange connector for Exchange on-premises.

  1. Sign in to Intune

  2. Go to Exchange access, and then select Exchange On-premises access.

  3. On the Exchange on-premises access pane, choose Yes to Enable Exchange on-premises access control.

  4. Under Assignment, choose Select groups to include, and then select one or more groups to configure access.

    Members of the groups you select have the Conditional Access policy for Exchange on-premises access applied to them. Users who receive this policy must enroll their devices in Intune and be compliant with the compliance profiles before they can access Exchange on-premises.

  5. To exclude groups, choose Select groups to exclude, and then select one or more groups that are exempt from requirements to enroll devices and be compliant with the compliance profiles before accessing Exchange on-premises.

  6. Next, configure settings for the Intune on-premises Exchange connector. Under Setup on the Exchange access pane, select Exchange ActiveSync on-premises connector and then select the connector for the Exchange organization that you want to configure.

  7. Under Settings, choose User notifications to modify the default email message that’s sent to users if their device isn't compliant and they want to access Exchange on-premises. The message template uses Markup language. You can also see the preview of how the message looks as you type.

    [!TIP] To learn more about Markup language see this Wikipedia article.

    Select OK to save your edits to complete configuration of Exchange on-premises access.

  8. Next, select Advanced Exchange Active Sync access settings to open the Advanced Exchange ActiveSync access settings pane where you configure device access rules:

    • For Unmanaged device access, set the global default rule for access from devices that are not affected by Conditional Access or other rules:

      • Allow access - All devices can access Exchange on-premises immediately. Devices that belong to the users in the groups you configured as included in the previous procedure are blocked if they're later evaluated as not compliant with the compliant policies or not enrolled in Intune.

      • Block access and Quarantine – All devices are immediately blocked from accessing Exchange on-premises initially. Devices that belong to users in the groups you configured as included in the previous procedure get access after the device enrolls in Intune and is evaluated as compliant.

        Android devices that do not run Samsung Knox standard don’t support this setting and are always blocked.

    • For Device platform exceptions, select Add, and then specify platform details as needed for your environment.

      If the Unmanaged device access setting is set to Blocked, devices that are enrolled and compliant are allowed even if there's a platform exception to block them.

    Select OK to save your edits.

  9. Select Save to save the Exchange Conditional Access policy.

Next, create a compliance policy and assign it to the users for Intune to evaluate their mobile devices, See Get started with device compliance.

See also

Troubleshooting Intune On-Premises Exchange Connector in Microsoft Intune