Skip to main content

Hello!

I know there is a command to trigger policies which is "jamf policy -id<number>" and I am wondering where I can find the policy ID number. I was looking at the each policy I made, but I couldn't find or see anything related to the ID number. Does anyone know a way to find the policy ID?

Greetings!

 

The policy ID can be located on top of the url example: https://companyname.jamfcloud.com/policies.html?id=25&o=r
Policy ID would be 25, so when you run a jamf policy -id 25 that will trigger that policy if your device is in that scope. I hope this helps


Greetings!

 

The policy ID can be located on top of the url example: https://companyname.jamfcloud.com/policies.html?id=25&o=r
Policy ID would be 25, so when you run a jamf policy -id 25 that will trigger that policy if your device is in that scope. I hope this helps


Got it and thank you!!!


Got it and thank you!!!


While using the policy ID is certainly an option, I prefer to add a custom trigger to policies that I want to trigger from the command line or a script and use that custom trigger. If you select good names for the custom trigger this becomes much more readable than using the policy ID. Do you remember which policy had ID 354?