Mac-OS uninstall via Intune

Managing uninstallation via Intune

DefensX Agents installed by the Intune to Mac devices can be uninstalled via Intune with the steps below:

  1. Remove assignment from the previously created DefensX Agent Configuration profiles and application from the Intune (which is used before to install the agent)

  2. Create a Shell Script in Intune and assign it to devices which you want to uninstall the agent

Removing previous assignments for installation

If you want to remove the agent from a specific devices, in this step you should go back the profiles which will be created to install DefensX Agent via Intune and edit the assignments for excluding devices which you want to uninstall.

Creating Shell Script for uninstall

Goto the DevicesmacOSShell scripts in the Intune and click to + Add button.

On the next screen, give a name to the shell script like DefensX Uninstall and click on the Next button.

Now you need to download DefensX-Uninstall.sh script from the link included the top-right section of this document and upload it to the Intune.

You can select script frequency from 15 minutes to 1 week period.

Tip
Script will be periodically executed with this time period but it doesn’t generate an extra load on the system after the installation.
uninstall

Click on the Next button and assign the devices which you want to uninstall it from.

Click on the Next button, review the changes and click to the Add button to complete.