Skip to content

Latest commit

 

History

History
91 lines (56 loc) · 5.09 KB

File metadata and controls

91 lines (56 loc) · 5.09 KB

title: Deploy and manage device control using JAMF description: Learn how to use device control policies using JAMF. ms.service: defender-endpoint author: limwainstein ms.author: lwainstein ms.reviewer: joshbregman manager: bagol ms.localizationpriority: medium audience: ITPro ms.collection:

  • m365-security
  • tier3
  • mde-macos ms.topic: install-set-up-deploy ms.subservice: macos search.appverid: met150 ms.date: 04/16/2025 appliesto:
    • Microsoft Defender for Endpoint Plan 1
    • Microsoft Defender for Endpoint Plan 2
    • Microsoft Defender for Business

Deploy and manage Device Control using JAMF

Device control in Microsoft Defender for Endpoint on macOS enables you to audit, allow, or prevent the read, write, or execute access to removable storage. Device control also allows you to manage iOS and portable devices and Bluetooth media, with or without exclusions.

Licensing requirements

Before you begin, confirm your subscription. To access and use device control, your subscription must include Defender for Endpoint Plan 1. For more information, see the following resources:

[!INCLUDE Microsoft Defender for Endpoint third-party tool support]

Deploy policy by using JAMF

Step 1: Creating a JSON policy

Device Control on macOS is defined through a JSON policy. This policy should have the appropriate groups, rules, and settings defined to tailor specific customer conditions. For example, some enterprise organizations might need to block all removable media devices entirely, while others might have specific exceptions for a vendor or serial number. Microsoft has a local GitHub repository that you can use to build your policies.

For more information about settings, rules, and groups, see Device Control for macOS.

Step 2: Validating a JSON policy

You must validate your JSON policy after it's created to ensure there are no syntax or configuration errors. A schema for device control policies is available in our GitHub repository. The Defender for Endpoint application has built-in functionality to compare your JSON to the defined schema. 

  1. Save your configuration on a local device as a .json file.

  2. Ensure you have access to mdatp commands. If your device is already onboarded, then you should have this functionality.

  3. Run mdatp device-control policy validate --path <pathtojson>.

Step 3: Update your Defender for Endpoint preferences Schema

The Defender for Endpoint preferences schema includes the new deviceControl/policy key. The existing Defender for Endpoint preferences configuration profile should be updated to use the new schema file's content.

:::image type="content" source="media/macos-device-control-jamf-mde-preferences-schema.png" alt-text="Shows where to edit the Microsoft Defender for Endpoint Preferences Schema to update." lightbox="media/macos-device-control-jamf-mde-preferences-schema.png":::

Step 4: Add the device control policy to Defender for Endpoint preferences

A new device control property is now available to add to the user experience.

  1. In your Jamf console, select Add/Remove properties, select Device Control, and then select Apply.

    :::image type="content" source="media/macos-device-control-jamf-device-control-property.png" alt-text="Shows how to add Device Control in Microsoft Defender for Endpoint" lightbox="media/macos-device-control-jamf-device-control-property.png":::

  2. Scroll down until you see the Device Control property (it's at the bottom of the list), and then select Add/Remove properties.

  3. Select Device Control Policy, and then select Apply.

    :::image type="content" source="media/macos-device-control-jamf-device-control-add-remove-property.png" alt-text="Shows how to apply Device Control Policy in Microsoft Defender for Endpoint." lightbox="media/macos-device-control-jamf-device-control-add-remove-property.png":::

  4. Copy and paste your device control policy JSON into the text box.

    :::image type="content" source="media/macos-device-control-jamf-device-control-policy-json.png" alt-text="Shows where to add the Device Control policy JSON in Microsoft Defender for Endpoint." lightbox="media/macos-device-control-jamf-device-control-policy-json.png":::

  5. Save your changes.

See also