title: Onboarding using Microsoft Intune description: Learn how to onboard to Microsoft Defender for Endpoint using Microsoft Intune. ms.service: defender-endpoint ms.author: painbar author: paulinbar ms.localizationpriority: medium manager: bagol audience: ITPro ms.collection:
- m365-security
- m365solution-endpointprotect
- m365solution-scenario
- highpri
- tier1 ms.topic: install-set-up-deploy ms.subservice: onboard search.appverid: met150 ms.date: 03/26/2025 appliesto:
- Microsoft Defender for Endpoint Plan 1
- Microsoft Defender for Endpoint Plan 2
This article acts as an example onboarding method.
In the Planning article, there were several methods provided to onboard devices to the service. This article covers the cloud-native architecture.
:::image type="content" source="media/cloud-native-architecture.png" alt-text="The cloud-native architecture" lightbox="media/cloud-native-architecture.png"::: Diagram of environment architectures
While Defender for Endpoint supports onboarding of various endpoints and tools, this article doesn't cover them. For information on general onboarding using other supported deployment tools and methods, see Onboarding overview.
The Microsoft Intune family of products is a solution platform that unifies several services. It includes Microsoft Intune and Microsoft Configuration Manager.
This article guides users in:
- Step 1: Onboarding devices to the service by creating a group in Microsoft Intune to assign configurations on
- Step 2: Configuring Defender for Endpoint capabilities using Microsoft Intune
This onboarding guidance walks you through the following basic steps that you need to take when using Microsoft Intune:
- Identifying target devices or users
- Creating a Microsoft Entra group (User or Device)
- Creating a Configuration Profile
- In Microsoft Intune, we guide you in creating a separate policy for each capability.
Here are the links you need for the rest of the process:
For more information about Microsoft Intune, go to Microsoft Intune securely manages identities, manages apps, and manages devices.
In this section, we create a test group to assign your configurations on.
Note
Intune uses Microsoft Entra groups to manage devices and users. As an Intune admin, you can set up groups to suit your organizational needs.
For more information, see Add groups to organize users and devices.
-
Open the Microsoft Intune admin center.
-
Open Groups > New Group.
[!div class="mx-imgBorder"] :::image type="content" source="media/66f724598d9c3319cba27f79dd4617a4.png" alt-text="The Microsoft Intune admin center1" lightbox="media/66f724598d9c3319cba27f79dd4617a4.png":::
-
Enter details and create a new group.
[!div class="mx-imgBorder"] :::image type="content" source="media/b1e0206d675ad07db218b63cd9b9abc3.png" alt-text="The Microsoft Intune admin center2" lightbox="media/b1e0206d675ad07db218b63cd9b9abc3.png":::
-
Add your test user or device.
-
From the Groups > All groups pane, open your new group.
-
Select Members > Add members.
-
Find your test user or device and select it.
[!div class="mx-imgBorder"] :::image type="content" source="media/149cbfdf221cdbde8159d0ab72644cd0.png" alt-text="The Microsoft Intune admin center3" lightbox="media/149cbfdf221cdbde8159d0ab72644cd0.png":::
-
Your testing group now has a member to test.
In the following section, you create several configuration policies.
First is a configuration policy to select which groups of users or devices are onboarded to Defender for Endpoint:
Then, you continue by creating several different types of endpoint security policies:
-
Open the Intune admin center.
-
Navigate to Endpoint security > Endpoint detection and response. Select on Create Policy.
[!div class="mx-imgBorder"] :::image type="content" source="media/58dcd48811147feb4ddc17212b7fe840.png" alt-text="The Microsoft Intune admin center4" lightbox="media/58dcd48811147feb4ddc17212b7fe840.png":::
-
Under Platform, select Windows 10, Windows 11, and Windows Server, Profile - Endpoint detection and response > Create.
-
Enter a name and description, then select Next.
[!div class="mx-imgBorder"] :::image type="content" source="media/a5b2d23bdd50b160fef4afd25dda28d4.png" alt-text="The Microsoft Intune admin center5" lightbox="media/a5b2d23bdd50b160fef4afd25dda28d4.png":::
-
Select settings as required, then select Next.
[!div class="mx-imgBorder"] :::image type="content" source="media/cea7e288b5d42a9baf1aef0754ade910.png" alt-text="The Microsoft Intune admin center6" lightbox="media/cea7e288b5d42a9baf1aef0754ade910.png":::
[!NOTE] In this instance, this has been auto populated as Defender for Endpoint has already been integrated with Intune. For more information on the integration, see Enable Microsoft Defender for Endpoint in Intune.
The following image is an example of what you'll see when Microsoft Defender for Endpoint is NOT integrated with Intune:
:::image type="content" source="media/2466460812371ffae2d19a10c347d6f4.png" alt-text="The Microsoft Intune admin center7" lightbox="media/2466460812371ffae2d19a10c347d6f4.png":::
-
Add scope tags if necessary, then select Next.
[!div class="mx-imgBorder"] :::image type="content" source="media/ef844f52ec2c0d737ce793f68b5e8408.png" alt-text="The Microsoft Intune admin center8" lightbox="media/ef844f52ec2c0d737ce793f68b5e8408.png":::
-
Add test group by clicking on Select groups to include and choose your group, then select Next.
[!div class="mx-imgBorder"] :::image type="content" source="media/fc3525e20752da026ec9f46ab4fec64f.png" alt-text="The Microsoft Intune admin center9" lightbox="media/fc3525e20752da026ec9f46ab4fec64f.png":::
-
Review and accept, then select Create.
[!div class="mx-imgBorder"] :::image type="content" source="media/289172dbd7bd34d55d24810d9d4d8158.png" alt-text="The Microsoft Intune admin center10" lightbox="media/289172dbd7bd34d55d24810d9d4d8158.png":::
-
You can view your completed policy.
[!div class="mx-imgBorder"] :::image type="content" source="media/5a568b6878be8243ea2b9d82d41ed297.png" alt-text="The Microsoft Intune admin center11" lightbox="media/5a568b6878be8243ea2b9d82d41ed297.png":::
-
Open the Intune admin center.
-
Navigate to Endpoint security > Antivirus > Create Policy.
[!div class="mx-imgBorder"] :::image type="content" source="media/6b728d6e0d71108d768e368b416ff8ba.png" alt-text="The Microsoft Intune admin center12" lightbox="media/6b728d6e0d71108d768e368b416ff8ba.png":::
-
Select Platform - Windows 10 and Later - Windows and Profile - Microsoft Defender Antivirus > Create.
-
Enter name and description, then select Next.
[!div class="mx-imgBorder"] :::image type="content" source="media/a7d738dd4509d65407b7d12beaa3e917.png" alt-text="The Microsoft Intune admin center13" lightbox="media/a7d738dd4509d65407b7d12beaa3e917.png":::
-
In the Configuration settings page: Set the configurations you require for Microsoft Defender Antivirus (Cloud Protection, Exclusions, Real-Time Protection, and Remediation).
[!div class="mx-imgBorder"] :::image type="content" source="media/3840b1576d6f79a1d72eb14760ef5e8c.png" alt-text="The Microsoft Intune admin center14" lightbox="media/3840b1576d6f79a1d72eb14760ef5e8c.png":::
-
Add scope tags if necessary, then select Next.
[!div class="mx-imgBorder"] :::image type="content" source="media/2055e4f9b9141525c0eb681e7ba19381.png" alt-text="The Microsoft Intune admin center15" lightbox="media/2055e4f9b9141525c0eb681e7ba19381.png":::
-
Select groups to include, assign to your test group, then select Next.
[!div class="mx-imgBorder"] :::image type="content" source="media/48318a51adee06bff3908e8ad4944dc9.png" alt-text="The Microsoft Intune admin center16" lightbox="media/48318a51adee06bff3908e8ad4944dc9.png":::
-
Review and create, then select Create.
[!div class="mx-imgBorder"] :::image type="content" source="media/dfdadab79112d61bd3693d957084b0ec.png" alt-text="The Microsoft Intune admin center17" lightbox="media/dfdadab79112d61bd3693d957084b0ec.png":::
-
You see the configuration policy you created.
[!div class="mx-imgBorder"] :::image type="content" source="media/38180219e632d6e4ec7bd25a46398da8.png" alt-text="The Microsoft Intune admin center18" lightbox="media/38180219e632d6e4ec7bd25a46398da8.png":::
-
Open the Intune admin center.
-
Navigate to Endpoint security > Attack surface reduction.
-
Select Create Policy.
-
Select Platform - Windows 10 and Later - Profile - Attack surface reduction rules > Create.
[!div class="mx-imgBorder"] :::image type="content" source="media/522d9bb4288dc9c1a957392b51384fdd.png" alt-text="The Microsoft Intune admin center19" lightbox="media/522d9bb4288dc9c1a957392b51384fdd.png":::
-
Enter a name and description, then select Next.
[!div class="mx-imgBorder"] :::image type="content" source="media/a5a71fd73ec389f3cdce6d1a6bd1ff31.png" alt-text="The Microsoft Intune admin center20" lightbox="media/a5a71fd73ec389f3cdce6d1a6bd1ff31.png":::
-
In the Configuration settings page: Set the configurations you require for Attack surface reduction rules, then select Next.
[!NOTE] We will be configuring all of the Attack surface reduction rules to Audit.
For more information, see Attack surface reduction rules.
[!div class="mx-imgBorder"] :::image type="content" source="media/dd0c00efe615a64a4a368f54257777d0.png" alt-text="The Microsoft Intune admin center21" lightbox="media/dd0c00efe615a64a4a368f54257777d0.png":::
-
Add Scope Tags as required, then select Next.
[!div class="mx-imgBorder"] :::image type="content" source="media/6daa8d347c98fe94a0d9c22797ff6f28.png" alt-text="The Microsoft Intune admin center22" lightbox="media/6daa8d347c98fe94a0d9c22797ff6f28.png":::
-
Select groups to include and assign to test group, then select Next.
[!div class="mx-imgBorder"] :::image type="content" source="media/45cefc8e4e474321b4d47b4626346597.png" alt-text="The Microsoft Intune admin center23" lightbox="media/45cefc8e4e474321b4d47b4626346597.png":::
-
Review the details, then select Create.
[!div class="mx-imgBorder"] :::image type="content" source="media/2c2e87c5fedc87eba17be0cdeffdb17f.png" alt-text="The Microsoft Intune admin center24" lightbox="media/2c2e87c5fedc87eba17be0cdeffdb17f.png":::
-
View the policy.
[!div class="mx-imgBorder"] :::image type="content" source="media/7a631d17cc42500dacad4e995823ffef.png" alt-text="The Microsoft Intune admin center25" lightbox="media/7a631d17cc42500dacad4e995823ffef.png":::
-
Open the Intune admin center.
-
Navigate to Endpoint security > Attack surface reduction.
-
Select Create Policy.
-
Select Windows 10 and Later - Web protection > Create.
[!div class="mx-imgBorder"] :::image type="content" source="media/cd7b5a1cbc16cc05f878cdc99ba4c27f.png" alt-text="The Microsoft Intune admin center26" lightbox="media/cd7b5a1cbc16cc05f878cdc99ba4c27f.png":::
-
Enter a name and description, then select Next.
[!div class="mx-imgBorder"] :::image type="content" source="media/5be573a60cd4fa56a86a6668b62dd808.png" alt-text="The Microsoft Intune admin center27" lightbox="media/5be573a60cd4fa56a86a6668b62dd808.png":::
-
In the Configuration settings page: Set the configurations you require for Web Protection, then select Next.
[!NOTE] We are configuring Web Protection to Block.
For more information, see Web Protection.
[!div class="mx-imgBorder"] :::image type="content" source="media/6104aa33a56fab750cf30ecabef9f5b6.png" alt-text="The Microsoft Intune admin center28" lightbox="media/6104aa33a56fab750cf30ecabef9f5b6.png":::
-
Add Scope Tags as required > Next.
[!div class="mx-imgBorder"] :::image type="content" source="media/6daa8d347c98fe94a0d9c22797ff6f28.png" alt-text="The Microsoft Intune admin center29" lightbox="media/6daa8d347c98fe94a0d9c22797ff6f28.png":::
-
Select Assign to test group > Next.
[!div class="mx-imgBorder"] :::image type="content" source="media/45cefc8e4e474321b4d47b4626346597.png" alt-text="The Microsoft Intune admin center30" lightbox="media/45cefc8e4e474321b4d47b4626346597.png":::
-
Select Review and Create > Create.
[!div class="mx-imgBorder"] :::image type="content" source="media/8ee0405f1a96c23d2eb6f737f11c1ae5.png" alt-text="The Microsoft Intune admin center31" lightbox="media/8ee0405f1a96c23d2eb6f737f11c1ae5.png":::
-
View the policy.
[!div class="mx-imgBorder"] :::image type="content" source="media/e74f6f6c150d017a286e6ed3dffb7757.png" alt-text="The Microsoft Intune admin center32" lightbox="media/e74f6f6c150d017a286e6ed3dffb7757.png":::
Once the Configuration policy has been assigned, it takes some time to apply.
For information on timing, see Intune configuration information.
To confirm that the configuration policy is applied to your test device, follow the following process for each configuration policy.
-
Open the Intune admin center and navigate to the relevant policy as shown in the preceding section. The following example shows the next generation protection settings.
-
Select the Configuration Policy to view the policy status.
-
Select Device Status to see the status.
-
Select User Status to see the status.
-
Select Per-setting status to see the status.
[!TIP] This view is very useful to identify any settings that conflict with another policy.
-
Before applying the configuration, the Defender for Endpoint Protection service shouldn't be started.
-
After the configuration is applied, the Defender for Endpoint Protection service should be started.
-
After the services are running on the device, the device appears in Microsoft Defender portal.
-
Before applying the policy on a test device, you should be able to manually manage the settings as shown in the following image:
[!div class="mx-imgBorder"] :::image type="content" source="media/88efb4c3710493a53f2840c3eac3e3d3.png" alt-text="The settings page-1" lightbox="media/88efb4c3710493a53f2840c3eac3e3d3.png":::
-
After the policy is applied, you shouldn't be able to manually manage the settings.
[!NOTE] In the following image Turn on cloud-delivered protection and Turn on real-time protection are being shown as managed.
[!div class="mx-imgBorder"] :::image type="content" source="media/9341428b2d3164ca63d7d4eaa5cff642.png" alt-text="The settings page-2" lightbox="media/9341428b2d3164ca63d7d4eaa5cff642.png":::
-
Before applying the policy on a test device, open a PowerShell Window and type
Get-MpPreference. -
You should see the following lines with no content:
AttackSurfaceReductionOnlyExclusions:
AttackSurfaceReductionRules_Actions:
AttackSurfaceReductionRules_Ids:
:::image type="content" source="media/cb0260d4b2636814e37eee427211fe71.png" alt-text="The command line-1" lightbox="media/cb0260d4b2636814e37eee427211fe71.png":::
-
After applying the policy on a test device, open a PowerShell Windows and type
Get-MpPreference. -
You should see the following lines with content, as shown in the following image:
:::image type="content" source="media/619fb877791b1fc8bc7dfae1a579043d.png" alt-text="The command line-2" lightbox="media/619fb877791b1fc8bc7dfae1a579043d.png":::
-
On the test device, open a PowerShell Windows and type
(Get-MpPreference).EnableNetworkProtection. -
This should respond with a 0 as shown in the following image:
:::image type="content" source="media/196a8e194ac99d84221f405d0f684f8c.png" alt-text="The command line-3" lightbox="media/196a8e194ac99d84221f405d0f684f8c.png":::
-
After applying the policy, open a PowerShell Windows and type
(Get-MpPreference).EnableNetworkProtection. -
You should see a response with a 1 as shown in the following image:
:::image type="content" source="media/c06fa3bbc2f70d59dfe1e106cd9a4683.png" alt-text="The command line-4" lightbox="media/c06fa3bbc2f70d59dfe1e106cd9a4683.png":::







