Mac-OS deployment via Intune

MacOS Profile

Deploying DefensX Agent to MacOS devices managed by Microsoft Intune, consists of following items:

  1. Download DefensX-CA certificate, MobileConfig profile and Installer PKG file from Policies&Groups page in the backend

  2. Create Intune configuration profile to install DefensX-CA certificate

  3. Create Intune configuration profile to install DefensX deployment settings

  4. Create Intune macOS Line-of-business app and upload the .pkg file

Downloading DefensX-CA, MobileConfig and PKG Installer

DefensX-CA must be installed on all the computers to ensure that the DefensX Agent and browser extensions run without any problems.

MobileConfig file is used to publish DEPLOYMENT_KEY and other settings specific to your customer accounts.

Because of the way how Intune works, it is not possible to combine a profile for Trusted certificate and custom application settings into a single package. This is intune’s limitation. In this step, we need to download required files for the configuration steps.

First, Login to DefensX backend and navigate to Policies&Groups page. In this screen click on the RMM button and configure the options based on your deployment model, eg. Enable LOGON User.

After that, click on the "MacOS Intune" button in the dialog and select "Download mobileconfig" to download mobile configuration file. When the download is completed click on the "MacOS Intune" button once more and at this time click on the "Download DefensX-CA" button.

As the last step now download the macOS installer from the Agent Downloads section.

rmm

Please keep these three files, you will need to use it in the following steps.

Creating DefensX-CA Trusted Cert Profile

Login to Intune Management Portal and navigate to DevicesConfiguration profiles menu and click on the Create profile.

At first step, ensure following are selected:

  • Platform: macOS

  • Profile type: Templates

  • Template name: Truested certificate

and click the Create button.

ca1

On the next screen, enter DefensX-CA as Name and click the Next button.

In this screen, upload the DefensX-CA.cer file which is downloaded at the first step and click the Next button.

Now assign some groups or All the devices to this profile which you’re planning to install DefensX. Then click the Next and after Create button.

Creating MacOS Application Deployment Profile

Login to Intune Management Portal and go to DevicesConfiguration profiles menu and click Create profile.

At first step, make following selections:

  • Platform: macOS

  • Profile type: Templates

  • Template name: Custom

and click Create button.

profile

On the next step, just fill out the Name field as DefensX and click Next button.

profile2

On the next step, on the Custom configuration profile name field enter DefensX Browser Settings and on the Deployment channel field select Device channel.

At this stage, profile file which is downloaded at the first step (ending with .mobileconfig) must be uploaded on the Configuration profile file.

profile3

On the next step, depending on your deployment strategy, you can assign some specific Groups or you can select "All devices" to assign this profile. After than click the Next button. On the final step review the changes and click the Create button.

Create Intune macOS Line-of-business App

On the last step we need to define install .pkg file in the Intune as LineOfBusiness app.

  • Goto the AppsmacOS apps menu and click the Add button.

  • Select Line-of-business app type under the Other menu.

lob1

On the next screen click Select app package file link and upload the DefensXInstaller.pkg file which is downloaded at the first step and click OK button.

On the next screen;

  • Enter DefensX as Publisher Name

  • Remove App bundle IDs with clicking the delete button other than the (highlighted as red on the screenshot below). If you skip this part, you may see the installation status as "Failed" in the Intune even though it is installed and running properly.

    • com.defensx.uninstall

    • com.defensx.tray

  • Click Next button and assing user groups or devices which you want to install DefensX. Review the changes and complete the configuration.

app

Testing

After all the steps completed successfully, MacOS devices will start to fetch new profiles and install the agent.

Tip
When DefensX installed on a Mac device through Intune, in order to start on user context, currently logged in user must logoff and login from their device. When the user logged in again, DefensX tray application and browser extensions will be deployed and start protection.

You can check the installation status per device through Intune in following menus:

  • DevicesmacOS → <target-device> → Device configuration

  • DevicesmacOS → <target-device> → Managed apps