Skip to content

Jamf extension attribute

jelockwood edited this page Feb 1, 2021 · 13 revisions

pinpoint has been designed to also be able to act purely as a JAMF JSS extension attribute. pinpoint when used in this mode will return a Google map URL which will then be stored as an extension attribute for the matching Mac computer record in JSS. You can think of this as being equivalent to Apple's 'Find my Mac'.

In order to use pinpoint to populate an extension attribute you need to create the extension attribute as per the picture below.

If you are using pinpoint only for this extension attribute you then need to paste in to the script box the pinpoint.sh script. You will also need to hand edit the parameters YOUR_API_KEY and set jamf=1 which tells the pinpoint.sh script to run in JSS extension attribute mode.

Due to the way extension attributes work in JSS it will be updated at the interval you have defined the JSS recon process to run, this is typically weekly or daily. If this is the only use you make of pinpoint you do not need to directly install pinpoint on the client Macs at all as it will only be run via JSS.

If you are going to use pinpoint both as an extension attribute and in its normal mode i.e. installed on the client Mac then you will find it easier to use this script instead in the extension attribute script box which will retrieve the latest result from the client Mac by reading the value from the file on the client Mac.