Deploy Microsoft Defender for Endpoint on macOS with Microsoft Intune

Applies to:

This article describes how to deploy Microsoft Defender for Endpoint on macOS through Microsoft Intune.

Prerequisites and system requirements

Before you get started, see the main Microsoft Defender for Endpoint on macOS page for a description of prerequisites and system requirements for the current software version.

Overview

The following table summarizes the steps to deploy and manage Microsoft Defender for Endpoint on Macs via Microsoft Intune. See the following table for more detailed steps:

Step Sample file name Bundle identifier
Approve system extension sysext.mobileconfig N/A
Network extension policy netfilter.mobileconfig N/A
Full Disk Access fulldisk.mobileconfig com.microsoft.wdav.epsext
Microsoft Defender for Endpoint configuration settings

If you're planning to run non-Microsoft antivirus on Mac, set passiveMode to true.
MDE_MDAV_and_exclusion_settings_Preferences.xml com.microsoft.wdav
Background services background_services.mobileconfig N/A
Configure Microsoft Defender for Endpoint notifications notif.mobileconfig com.microsoft.wdav.tray
Accessibility settings accessibility.mobileconfig com.microsoft.dlp.daemon
Bluetooth bluetooth.mobileconfig com.microsoft.dlp.agent
Configure Microsoft AutoUpdate (MAU) com.microsoft.autoupdate2.mobileconfig com.microsoft.autoupdate2
Device Control DeviceControl.mobileconfig N/A
Data Loss Prevention DataLossPrevention.mobileconfig N/A
Download the onboarding package WindowsDefenderATPOnboarding__MDATP_wdav.atp.xml com.microsoft.wdav.atp
Deploy the Microsoft Defender for Endpoint on macOS application Wdav.pkg N/A

Create system configuration profiles

The next step is to create system configuration profiles that Microsoft Defender for Endpoint needs. In the Microsoft Intune admin center, open Devices > Configuration profiles.

Step 1: Approve system extensions

  1. In the Intune admin center, go to Devices, and under Manage Devices, select Configuration.

  2. Under Configuration profiles, select Create Profile.

  3. On the Policies tab, select Create > New Policy.

  4. Under Platform, select macOS.

  5. Under Profile type, select Settings catalog.

  6. Select Create.

  7. On the Basics tab, Name the profile and enter a Description.

  8. Select Next.

  9. On the Configuration settings tab, select +Add settings.

  10. Under Template name, select Extensions.

  11. In the Settings picker, expand the System Configuration category, and then select System Extensions > Allowed System Extensions:

    Screenshot showing the Settings Picker

  12. Close the Settings picker, and then select + Edit instance.

  13. Configure the following entries in the Allowed system extensions section:

    Allowed System Extensions Team Identifier
    com.microsoft.wdav.epsext UBF8T346G9
    com.microsoft.wdav.netext UBF8T346G9

    Screenshot showing allowed system extensions

  14. Select Next.

  15. On the Assignments tab, assign the profile to a group where the macOS devices or users are located.

  16. Review the configuration profile. Select Create.

Step 2: Network filter

As part of the Endpoint Detection and Response capabilities, Microsoft Defender for Endpoint on macOS inspects socket traffic and reports this information to the Microsoft 365 Defender portal. The following policy allows the network extension to perform this functionality.

Download netfilter.mobileconfig from GitHub repository.

Important

Only one .mobileconfig (plist) for Network Filter is supported. Adding multiple Network Filters leads to network connectivity issues on Mac. This issue is not specific to Defender for Endpoint on macOS.

To configure your network filter:

  1. Under Configuration profiles, select Create Profile.

  2. Under Platform, select macOS.

  3. Under Profile type, select Templates.

  4. Under Template name, select Custom.

  5. Select Create.

  6. On the Basics tab, Name the profile. For example, NetFilter-prod-macOS-Default-MDE.

  7. Select Next.

  8. On the Configuration settings tab, enter a Custom configuration profile name. For example, NetFilter-prod-macOS-Default-MDE.

  9. Choose a Deployment channel and select Next.

  10. Select Next.

  11. On the Assignments tab, assign the profile to a group where the macOS devices and/or users are located, or All Users and All devices.

  12. Review the configuration profile. Select Create.

Step 3: Full Disk Access

Note

Starting with macOS Catalina (10.15) or newer, in order to provide privacy for the end-users, it created the FDA (Full Disk Access). Enabling TCC (Transparency, Consent & Control) through a Mobile Device Management solution such as Intune, will eliminate the risk of Defender for Endpoint losing Full Disk Access Authorization to function properly.

This configuration profile grants Full Disk Access to Microsoft Defender for Endpoint. If you previously configured Microsoft Defender for Endpoint through Intune, we recommend you update the deployment with this configuration profile.

Download fulldisk.mobileconfig from GitHub repository.

To configure Full Disk Access:

  1. In the Intune admin center, under Configuration profiles, select Create Profile.

  2. Under Platform, select macOS.

  3. Under Profile type, select Templates.

  4. Under Template name, select Custom, and then select Create.

  5. On the Basics tab, Name the profile. For example, FullDiskAccess-prod-macOS-Default-MDE.

  6. Select Next.

  7. On the Configuration settings tab, enter a Custom configuration profile name. For example, FullDiskAccess-prod-macOS-Default-MDE.

  8. Choose a Deployment channel and then select Next.

  9. Select a Configuration profile file.

  10. On the Assignments tab, assign the profile to a group where the macOS devices and/or users are located, or All Users and All devices.

  11. Review the configuration profile. Select Create.

Note

Full Disk Access granted through Apple MDM Configuration Profile is not reflected in System Settings > Privacy & Security > Full Disk Access.

Step 4: Background services

Caution

macOS 13 (Ventura) contains new privacy enhancements. Beginning with this version, by default, applications cannot run in background without explicit consent. Microsoft Defender for Endpoint must run its daemon process in background. This configuration profile grants Background Service permissions to Microsoft Defender for Endpoint. If you previously configured Microsoft Defender for Endpoint through Microsoft Intune, we recommend you update the deployment with this configuration profile.

Download background_services.mobileconfig from GitHub repository.

To configure background services:

  1. Under Configuration profiles, select Create Profile.

  2. Under Platform, select macOS.

  3. Under Profile type, select Templates.

  4. Under Template name, select Custom.

  5. Select Create.

  6. On the Basics tab, Name the profile. For example, BackgroundServices-prod-macOS-Default-MDE.

  7. Select Next.

  8. On the Configuration settings tab, enter a Custom configuration profile name. For example, backgroundServices-prod-macOS-Default-MDE.

  9. Choose a Deployment channel.

  10. Select Next.

  11. Select a Configuration profile file.

  12. On the Assignments tab, assign the profile to a group where the macOS devices and/or users are located, or All Users and All devices.

  13. Review the configuration profile. Select Create.

Step 5: Notifications

This profile is used to allow Microsoft Defender for Endpoint on macOS and Microsoft AutoUpdate to display notifications in UI.

Download notif.mobileconfig from GitHub repository.

To turn off notifications for the end users, you can change Show NotificationCenter from true to false in notif.mobileconfig.

Screenshot showing notif.mobileconfig with ShowNotificationCenter set to True.

To configure notifications:

  1. Under Configuration profiles, select Create Profile.

  2. Under Platform, select macOS.

  3. Under Profile type, select Templates.

  4. Under Template name, select Custom.

  5. Select Create.

  6. On the Basics tab, Name the profile. For example, BackgroundServices-prod-macOS-Default-MDE.

  7. Select Next.

  8. On the Configuration settings tab, enter a Custom configuration profile name. For example, Notif.mobileconfig.

  9. Choose a Deployment channel and then select Next.

  10. Select a Configuration profile file.

  11. On the Assignments tab, assign the profile to a group where the macOS devices and/or users are located, or All Users and All devices.

  12. Review the configuration profile. Select Create.

Step 6: Accessibility settings

This profile is used to allow Microsoft Defender for Endpoint on macOS to access the accessibility settings on Apple macOS High Sierra (10.13.6) and newer.

Download accessibility.mobileconfig from GitHub repository.

  1. Under Configuration profiles, select Create Profile.

  2. Under Platform, select macOS.

  3. Under Profile type, select Templates.

  4. Under Template name, select Custom.

  5. Select Create.

  6. On the Basics tab, Name the profile. For example, Accessibility-prod-macOS-Default-MDE.

  7. Select Next.

  8. On the Configuration settings tab, enter a Custom configuration profile name. For example, Accessibility.mobileconfig.

  9. Choose a Deployment channel.

  10. Select Next.

  11. Select a Configuration profile file.

  12. On the Assignments tab, assign the profile to a group where the macOS devices and/or users are located, or All Users and All devices.

  13. Review the configuration profile. Select Create.

Step 7: Bluetooth permissions

Caution

macOS 14 (Sonoma) contains new privacy enhancements. Beginning with this version, by default, applications cannot access Bluetooth without explicit consent. Microsoft Defender for Endpoint uses it if you configure Bluetooth policies for Device Control.

Download bluetooth.mobileconfig from GitHub repository and use the same workflow as in Step 6: Accessibility settings to enable Bluetooth access.

Note

Bluetooth granted through Apple MDM Configuration Profile is not reflected in System Settings => Privacy & Security => Bluetooth.

Step 8: Microsoft AutoUpdate

This profile is used to update the Microsoft Defender for Endpoint on macOS via Microsoft AutoUpdate (MAU). If you're deploying Microsoft Defender for Endpoint on macOS, you have the options to get an updated version of the application (Platform Update) that are in the different channels mentioned here:

  • Beta (Insiders-Fast)
  • Current channel (Preview, Insiders-Slow)
  • Current channel (Production)

For more information, see Deploy updates for Microsoft Defender for Endpoint on macOS.

Download AutoUpdate2.mobileconfig from GitHub repository.

Note

The sample AutoUpdate2.mobileconfig from the GitHub repository has it set to Current Channel (Production).

  1. Under Configuration profiles, select Create Profile.

  2. Under Platform, select macOS.

  3. Under Profile type, select Templates.

  4. Under Template name, select Custom.

  5. Select Create.

  6. On the Basics tab, Name the profile. For example, Autoupdate-prod-macOS-Default-MDE.

  7. Select Next.

  8. On the Configuration settings tab, enter a Custom configuration profile name. For example, Autoupdate.mobileconfig.

  9. Choose a Deployment channel.

  10. Select Next.

  11. Select a Configuration profile file.

  12. On the Assignments tab, assign the profile to a group where the macOS devices and/or users are located, or All Users and All devices.

  13. Review the configuration profile. Select Create.

Step 9: Microsoft Defender for Endpoint configuration settings

In this step, we go over Preferences that enables you to configure anti-malware and EDR policies using Microsoft Intune (https://intune.microsoft.com).

9a. Set policies using Microsoft Defender portal

Set policies using Microsoft Defender Portal by implementing the following instructions, or by using Microsoft Intune:

  1. Go through Configure Microsoft Defender for Endpoint in Intune before setting the security policies using Microsoft Defender for Endpoint Security Settings Management.

  2. In the Microsoft Defender portal, go to Configuration management > Endpoint security policies > Mac policies > Create new policy.

  3. Under Select Platform, select macOS.

  4. Under Select Template, choose a template and select Create Policy.

  5. Specify a name and description for the policy, and then select Next.

  6. On the Assignments tab, assign the profile to a group where the macOS devices and/or users are located, or All Users and All devices.

For more information about managing security settings, see:

Note

If managed via Intune, it will not allow for the device to register via the Microsoft Defender for Endpoint Security Settings Management ([Microsoft Defender XDR portal (https://security.microsoft.com)](Microsoft Defender XDR portal (https://security.microsoft.com) or)).

Important

Important Only the policies set via Intune will take effect, and the Microsoft Defender for Endpoint Security Settings Management will not be used.

Set policies using Microsoft Intune

You can manage the security settings for Microsoft Defender for Endpoint on macOS under Setting Preferences in Microsoft Intune.

For more information, see Set preferences for Microsoft Defender for Endpoint on Mac.

Step 10: Network protection for Microsoft Defender for Endpoint on macOS

In the Microsoft Defender portal:

  1. Go to Configuration management > Endpoint security policies > Mac policies > Create new policy.

  2. Under Select Platform, select macOS.

  3. Under Select Template, select Microsoft Defender Antivirus and select Create Policy.

    Screenshot that shows the page on which you create a policy.

  4. On the Basics tab, enter the Name and Description of the policy. Select Next.

    Screenshot that shows the Basics tab.

  5. On the Configuration Settings tab, under Network Protection, select an Enforcement level. Select Next.

    Screenshot that shows the Create a new policy page.

  6. On the Assignments tab, assign the profile to a group where the macOS devices and/or users are located, or All Users and All devices.

    Screenshot that shows the page on which you configure the settings for the Assignments option.

  7. Review the policy in Review+Create and select Save.

Tip

You can also configure network protection by appending the information from Network protection to help prevent macOS connections to bad sites to the .mobileconfig from step 8.

Step 11: Device Control for Microsoft Defender for Endpoint on macOS

To set Device Control for Microsoft Defender for Endpoint on macOS, follow the steps in:

Step 12: Data Loss Prevention (DLP) for Endpoint

To set Purview's Data Loss Prevention (DLP) for endpoint on macOS, follow the steps in Onboard and offboard macOS devices into Compliance solutions using Microsoft Intune.

Step 13: Check status of PList (.mobileconfig)

After completing the profile configuration, you'll be able to review the status of the policies.

View Status

Once the Intune changes are propagated to the enrolled devices, you can see them listed under Monitor > Device status:

Screenshot that shows the view of the device status.

Client device setup

A standard Company Portal installation is sufficient for a mac device.

  1. Confirm device management.

    Screenshot that shows the Confirm device management page.

    Select Open System Preferences, locate Management Profile on the list, and select Approve.... Your Management Profile would be displayed as Verified:

    Screenshot that shows the Management profile page.

  2. Select Continue and complete the enrollment.

    You may now enroll more devices. You can also enroll them later, after finishing the provisioning system configuration and application packages.

  3. In Intune, open Manage > Devices > All devices. Here you can see your device among the listed:

    Screenshot that shows the All Devices page.

Verify client device state

  1. After the configuration profiles are deployed to your devices, open System Preferences > Profiles on your Mac device.

    Screenshot that shows the System preferences page.

    Screenshot that shows the System Preferences Profiles page.

  2. Verify that the following configuration profiles are present and installed. The Management Profile should be the Intune system profile. Wdav-config and wdav-kext are system configuration profiles that were added in Intune:

    Screenshot that shows the Profiles page.

  3. You should also see the Microsoft Defender for Endpoint icon in the top-right corner.

    Screenshot that shows the icon for Microsoft Defender for Endpoint in the status bar.

Step 14: Publish application

This step enables deploying Microsoft Defender for Endpoint to enrolled machines.

  1. In the Microsoft Intune admin center, open Apps.

    Screenshot that shows the application's overview page.

  2. Select By platform > macOS > Add.

  3. Under App type, select macOS. Select Select.

    Screenshot that shows the specific application type.

  4. On the App information, keep the default values and select Next.

    Screenshot that shows the application properties page.

  5. On the Assignments tab, select Next.

    Screenshot that shows the Intune assignments information page.

  6. Review and Create. You can visit Apps > By platform > macOS to see it on the list of all applications.

    Screenshot that shows the application lists page.

For more information, see Add Microsoft Defender for Endpoint to macOS devices using Microsoft Intune.

Important

You should create and deploy the configuration profiles in the order specified (steps 1-13) for a successful system configuration.

Step 15: Download the onboarding package

To download the onboarding packages from Microsoft 365 Defender portal:

  1. In the Microsoft 365 Defender portal, go to Settings > Endpoints > Device management > Onboarding.

  2. Set the operating system to macOS and the deployment method to Mobile Device Management / Microsoft Intune.

    Screenshot that shows the Onboarding settings page.

  3. Select Download onboarding package. Save it as WindowsDefenderATPOnboardingPackage.zip to the same directory.

  4. Extract the contents of the .zip file:

    unzip WindowsDefenderATPOnboardingPackage.zip
    
    Archive:  WindowsDefenderATPOnboardingPackage.zip
    warning:  WindowsDefenderATPOnboardingPackage.zip appears to use backslashes as path separators
     inflating: intune/kext.xml
     inflating: intune/WindowsDefenderATPOnboarding.xml
     inflating: jamf/WindowsDefenderATPOnboarding.plist
    

    Screenshot that shows the sample description.

Step 16: Deploy the onboarding package

This profile contains license information for Microsoft Defender for Endpoint.

To deploy the onboarding package:

  1. Under Configuration profiles, select Create Profile.

  2. Under Platform, select macOS.

  3. Under Profile type, select Templates.

  4. Under Template name, select Custom.

  5. Select Create.

    Screenshot that shows the deploy onboarding package.

  6. On the Basics tab, Name the profile. For example, Autoupdate-prod-macOS-Default-MDE. Select Next.

    Screenshot that shows the Custom page.

  7. On the Configuration settings tab, enter a Custom configuration profile name. For example, Autoupdate.mobileconfig.

  8. Choose a Deployment channel.

  9. Select Next.

  10. Select a Configuration profile file.

    Screenshot that shows the configuration settings.

  11. On the Assignments tab, assign the profile to a group where the macOS devices and/or users are located, or All Users and All devices.

    Screenshot that shows the Assignments tab.

  12. Review the configuration profile. Select Create.

  13. Open Devices > Configuration profiles to see the created profile.

Step 17: Verify anti-malware detection

See the following article to test for an anti-malware detection review: Antivirus detection test for verifying device's onboarding and reporting services

Step 18: Verifying EDR detection

See the following article to test for an EDR detection review: EDR detection test for verifying device onboarding and reporting services

Troubleshooting

Issue: No license found.

Solution: Follow the steps in this article to create a device profile using WindowsDefenderATPOnboarding.xml.

Logging installation issues

See Logging installation issues for information on how to find the automatically generated log created by the installer, when an error occurs.

For information on troubleshooting procedures, see:

Uninstallation

See Uninstalling for details on how to remove Microsoft Defender for Endpoint on macOS from client devices.

Article Description
Add Microsoft Defender for Endpoint to macOS devices using Microsoft Intune Learn about adding Microsoft Defender for Endpoint to macOS devices using Microsoft Intune
Examples of device control policies for Intune Learn how to use device control policies using examples that can be used with Intune
Configure Microsoft Defender for Endpoint on iOS features Describes how to deploy Microsoft Defender for Endpoint on iOS features
Deploy Microsoft Defender for Endpoint on iOS with Microsoft Intune Describes how to deploy Microsoft Defender for Endpoint on iOS using an app
Configure Microsoft Defender for Endpoint in Microsoft Intune Describes connecting to Defender for Endpoint, onboarding devices, assigning compliance for risk levels, and conditional access policies
Troubleshoot issues and find answers on FAQs related to Microsoft Defender for Endpoint on iOS Troubleshooting and FAQ - Microsoft Defender for Endpoint on iOS
Configure Microsoft Defender for Endpoint on Android features Describes how to configure Microsoft Defender for Endpoint on Android
Manage Defender for Endpoint on Android devices in Intune - Azure Configure Microsoft Defender for Endpoint web protection on Android devices managed by Microsoft Intune