Jacob L
Moderator (Lawsonator)
I see it can be done here which ay help users who have got stuck: https://android.stackexchange.com/questions/45601/activate-device-administrator-via-adb/45604
You should be able to do this in MacroDroid's shell action
You should be able to do this in MacroDroid's shell action