Onboard, manage, and secure macOS devices using Microsoft Intune, Apple Business Manager (ABM), and Microsoft Defender for Endpoint

This comprehensive article base outlines the end-to-end architecture and configuration steps required to successfully onboard, manage, and secure macOS devices using Microsoft Intune, Apple Business Manager (ABM), and Microsoft Defender for Endpoint.


macOS Deployment Lifecycle

Sequential phase overview from initial tenant prep to compliance enforcement


Phase 1: Tenant Preparation

Before enrolling Apple devices, your Microsoft Entra ID and Intune environments must be properly staged.

  • MDM Authority: Ensure the Mobile Device Management (MDM) authority is set to Microsoft Intune in the Intune Admin Center (Tenant administration > Tenant status).

  • Entra ID Custom Domain & CNAMEs: Verify your custom domains are verified in Entra ID. For device registration and Company Portal authentication, configure the following CNAME records in your DNS hosting provider pointing to Microsoft:

    • EnterpriseEnrollment.yourdomain.com -> EnterpriseEnrollment-s.manage.microsoft.com

    • EnterpriseRegistration.yourdomain.com -> EnterpriseRegistration.windows.net

  • Company Branding: Configure company branding in Entra ID and the Intune Tenant Administration. This ensures the Company Portal app and Entra ID sign-in screens present a trusted, unified experience during macOS Setup Assistant.

  • Licensing: Ensure users have an assigned license that includes Intune (e.g., Microsoft 365 E3/E5, EMS E3/E5, or Microsoft Intune Plan 1) and Microsoft Defender for Endpoint.

Phase 2: Apple Business Manager (ABM) Integration

To achieve zero-touch provisioning and manage app licensing, Intune must be securely tethered to Apple Business Manager.

Intune and ABM Connector Architecture. Source: Modern Workplace Blog

1. Apple Push Notification service (APNs) Certificate

  • Requirement: Intune cannot communicate with macOS without this certificate.

  • Configuration: Navigate to Devices > macOS > macOS enrollment > Apple MDM Push certificate. Download the CSR from Intune, upload it to the Apple Push Certificates Portal using a corporate Apple ID, and upload the resulting .pem file back to Intune. (Must be renewed annually).

2. Automated Device Enrollment (ADE) Token

  • Requirement: Syncs corporate-owned hardware from ABM to Intune.

  • Configuration: In Intune, go to Enrollment program tokens and download the public key. Upload this key to ABM to create a new MDM Server. Assign your macOS devices to this MDM server in ABM. Generate the server token in ABM and upload it to Intune.

3. Volume Purchase Program (VPP) Token

  • Requirement: Allows Intune to deploy Apple App Store apps silently without requiring personal Apple IDs.

  • Configuration: In ABM, navigate to Settings > Apps and Books and download the VPP token. In Intune, navigate to Tenant administration > Connectors and tokens > Apple VPP tokens and upload it.

Phase 3: macOS Enrollment Profiles

Once devices sync from ABM to Intune, they require an enrollment profile to dictate the out-of-box experience (OOBE).

  • Profile Creation: Navigate to Devices > macOS > macOS enrollment > Enrollment program tokens. Select your token and create a new profile.

  • User Affinity: Set to Enroll with User Affinity. This binds the device to a specific Entra ID user, which is strictly required for Company Portal, Conditional Access, and seamless Office 365 licensing.

  • Authentication Method: Select Setup Assistant with modern authentication. This allows MFA during the macOS setup and requires the user to open the Company Portal app later to finalize Entra ID registration.

  • Setup Assistant Payload: Hide unnecessary screens (e.g., Apple ID, Siri, Screen Time, FileVault - since we will enforce FileVault via Intune later). This streamlines the user onboarding process.

Phase 4: Application Deployment

Applications are assigned to device or user groups.

App TypeDeployment MethodUse Case
Microsoft 365 SuiteNative Intune App (macOS > Add > Microsoft 365 Apps)Deploys Word, Excel, PowerPoint, Outlook, and Teams.
Company PortalmacOS LOB app (.pkg) or VPPRequired for compliance checking and Entra ID registration.
VPP AppsApple VPP (Synced from ABM)Deploys App Store apps (e.g., Slack, Xcode) silently as "Device Licensed."
Microsoft DefendermacOS LOB app (.pkg)Download the official .pkg from the Microsoft 365 Defender portal and deploy it as a required app.
Custom / Third-PartymacOS app (.pkg, .dmg, .app wrapped via Intune App Wrapping Tool)Deploying specialized developer tools, VPN clients, or proprietary LOB apps.

Phase 5: Microsoft Defender & Core macOS Configurations

macOS requires explicit user consent for background tasks, network filtering, and disk access. To achieve a silent, enterprise-grade deployment of Microsoft Defender (and other tools), you must push these configuration profiles before the apps are installed.

Deploy the following profiles under Devices > macOS > Configuration profiles.

Settings Catalog Profiles

These use Microsoft's native UI template for macOS settings.

Profile NameProfile TypePurpose & Configuration
OneDrive FullDisk AccessSettings catalogGrants OneDrive permission to sync user data without prompting. Add Privacy > Privacy Preferences Policy Control > Full Disk Access. Define the OneDrive bundle ID (com.microsoft.OneDrive) and set to Allowed.
Approve System ExtensionsSettings catalogApproves kernel/system extensions required by Defender and VPNs. Add System Extensions > Allowed System Extensions. Define Microsoft's Team ID (U0431264) and specific bundle IDs.

Endpoint Security Profiles

These use Intune's dedicated security node (Endpoint security > Endpoint detection and response).

Profile NameProfile TypePurpose & Configuration
MacOS EDR PolicyEndpoint detection and responseConnects the device to your Defender workspace. Configures block mode, sample sharing, and telemetry frequency.

Custom Mobileconfig Profiles

These require uploading an XML .mobileconfig file. Download the official property list (plist) templates from the Microsoft Defender GitHub repository or generate them via tools like iMazing Profile Editor.

Profile NameProfile TypePurpose & Configuration
Defender onboarding for macOSCustomThe actual onboarding blob downloaded from the M365 Defender Portal (WindowsDefenderATPOnboarding.xml). Connects the local agent to your tenant.
macOS wdav preferencesCustomConfigures Defender behavior (Real-time Protection = True, Cloud-delivered protection = True, PUA protection = Block). Payload: com.microsoft.wdav.
macOS Microsoft Auto-Update (MAU)CustomEnsures Defender and Office apps stay updated automatically. Payload: com.microsoft.autoupdate2.
MacOS Full disk accessCustomPrivacy Preferences Policy Control (PPPC) payload granting com.microsoft.wdav and its endpoints full disk access for deep scanning.
MacOS Bluetooth consentCustomPPPC payload allowing corporate apps (like Teams or custom VoIP) to access Bluetooth hardware without user prompts.
MacOS Accessibility settingsCustomPPPC payload granting apps (like Remote Desktop or security agents) accessibility control over the macOS UI.
MacOS Notifications consentCustomSuppresses or allows system notifications. Specifically configured to allow Defender to show threat alerts silently without requiring the user to "Allow" notifications in OOBE.
MacOS background servicesCustommacOS 13+ (Ventura) prompts users when items are added to login items. This payload (com.apple.servicemanagement) suppresses the "Background Items Added" notification for Microsoft tools.
Network filter for MacOS DefenderCustomConfigures the Web Content Filter payload. Ensures Defender can inspect network traffic for web protection and network protection capabilities.

Phase 6: Compliance & FileVault

To gate access to corporate resources via Conditional Access, devices must be marked as compliant.

1. FileVault Repo (Disk Encryption)

  • Profile Creation: Endpoint security > Disk encryption > macOS FileVault.

  • Configuration: Enforce FileVault. Choose to escrow the personal recovery key to Microsoft Entra ID. Set the prompt frequency to ensure the user enables it at their next login, or configure it to enable silently during Setup Assistant (if using macOS 14+).

2. Device Compliance Policy

  • Profile Creation: Devices > macOS > Compliance policies.

  • Configuration:

    • Device Health: Require System Integrity Protection (SIP) to be enabled.

    • Properties: Set minimum OS versions.

    • System Security: Require a password (alphanumeric, minimum length), enforce screen lock, and require encryption (FileVault) to be active.

    • Defender: Under "Microsoft Defender for Endpoint", set "Require the device to be at or under the machine risk score" to Clear or Low. This integrates the EDR telemetry directly into the Entra ID Conditional Access evaluation.




Comments