I am using Jamf Pro and ran tests to get Microsoft Defender installed on our Macs. However, we’ve now decided to go a different route and I need a way to automate the removal of Defender. It was installed via a PKG and a policy in Jamf Pro. I have tried running a sudo rm etc to remove the app but that returns “operation not permitted”. I am an admin on my device and all our other users with defender are as well.
I read that I might need to give Terminal full disk access, so I did. That didn’t work. I also then revoked full disk access from Defender, that didnt’ do anything either. I’m not sure what script I need to be running in Jamf to get this gone.