Mac-OS uninstall via IntuneManaging uninstallation via IntuneDefensX Agents installed by the Intune to Mac devices can be uninstalled via Intune with the steps below:
Removing previous assignments for installationIf 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 uninstallGoto the Devices → macOS → Shell 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.
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. |
||