Policy ID's and Custom Even Triggers Not Working

New Contributor

When trying to run policies in a script with jamf policy -ID IDNumber or jamf poilcy - event triggername we get the . I've confirmed the ID's are correct by inputing the ID number into the URL and it pulls the correct policy and I copy and pasted the triggers exactly as they are in the policy. Any ideas?


Contributor II

I've been having similar issues. Make sure you check your Scope, and ANY Policy it depends on Scope as well. If you try to run it while A) It's not in the Scope OR B) JAMF is running checks, it will likely fail. You may need to run KILLALL JAMF. I often do to run Recon.