Before you begin
Warning
It’s important to note that Azure AD wp-signup.phped devices is not supported in this scenario.
Only Intune enrolled devices are supported.
You need to make sure that all your devices are enrolled in Intune. You can use any of the following options to enroll devices in Intune:
- IT Admin: For more information on how to enabling auto-enrollment, see Windows Enrollment
- End-user: For more information on how to enroll your Windows 10 and Windows 11 device in Intune, see Enroll your Windows 10 device in Intune
- End-user alternative: For more information on joining an Azure AD domain, see How to: Plan your Azure AD join implementation.
There are steps you’ll need to take in Microsoft 365 Defender, the Intune portal, and Azure AD portal.
It’s important to note the required roles to access these portals and implement Conditional access:
- Microsoft 365 Defender – You’ll need to sign into the portal with a global administrator role to turn on the integration.
- Intune – You’ll need to sign in to the portal with security administrator rights with management permissions.
- Azure AD portal – You’ll need to sign in as a global administrator, security administrator, or Conditional Access administrator.
Note
You’ll need a Microsoft Intune environment, with Intune managed and Azure AD joined Windows 10 and Windows 11 devices.
Take the following steps to enable Conditional Access:
- Step 1: Turn on the Microsoft Intune connection from Microsoft 365 Defender
- Step 2: Turn on the Defender for Endpoint integration in Intune
- Step 3: Create the compliance policy in Intune
- Step 4: Assign the policy
- Step 5: Create an Azure AD Conditional Access policy
Step 1: Turn on the Microsoft Intune connection
- In the navigation pane, select Settings > Endpoints > General > Advanced features > Microsoft Intune connection.
- Toggle the Microsoft Intune setting to On.
- Click Save preferences.
Step 2: Turn on the Defender for Endpoint integration in Intune
- Sign in to the Azure portal.
- Select Device compliance > Microsoft Defender ATP.
- Set Connect Windows 10.0.15063+ devices to Microsoft Defender Advanced Threat Protection to On.
- Click Save.
Step 3: Create the compliance policy in Intune
- In the Azure portal, select All services, filter on Intune, and select Microsoft Intune.
- Select Device compliance > Policies > Create policy.
- Enter a Name and Description.
- In Platform, select Windows 10 and later.
- In the Device Health settings, set Require the device to be at or under the Device Threat Level to your preferred level:
- Secured: This level is the most secure. The device cannot have any existing threats and still access company resources. If any threats are found, the device is evaluated as noncompliant.
- Low: The device is compliant if only low-level threats exist. Devices with medium or high threat levels are not compliant.
- Medium: The device is compliant if the threats found on the device are low or medium. If high-level threats are detected, the device is determined as noncompliant.
- High: This level is the least secure, and allows all threat levels. So devices that with high, medium or low threat levels are considered compliant.
- Select OK, and Create to save your changes (and create the policy).
Step 4: Assign the policy
- In the Azure portal, select All services, filter on Intune, and select Microsoft Intune.
- Select Device compliance > Policies> select your Microsoft Defender for Endpoint compliance policy.
- Select Assignments.
- Include or exclude your Azure AD groups to assign them the policy.
- To deploy the policy to the groups, select Save. The user devices targeted by the policy are evaluated for compliance.
Step 5: Create an Azure AD Conditional Access policy
- In the Azure portal, open Azure Active Directory > Conditional Access > New policy.
- Enter a policy Name, and select Users and groups. Use the Include or Exclude options to add your groups for the policy, and select Done.
- Select Cloud apps, and choose which apps to protect. For example, choose Select apps, and select Office 365 SharePoint Online and Office 365 Exchange Online. Select Done to save your changes.
- Select Conditions > Client apps to apply the policy to apps and browsers. For example, select Yes, and then enable Browser and Mobile apps and desktop clients. Select Done to save your changes.
- Select Grant to apply Conditional Access based on device compliance. For example, select Grant access > Require device to be marked as compliant. Choose Select to save your changes.
- Select Enable policy, and then Create to save your changes.
For more information, see Enforce compliance for Microsoft Defender for Endpoint with Conditional Access in Intune.
Want to experience Defender for Endpoint? Sign up for a free trial.