Jamf Pro
Powerful workflows for IT pros
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Jamf Pro 10.41.0 Beta 2 now available!

Hey Jamf Nation!We've just released Jamf Pro 10.41.0 Beta 2. This is our compatibility release with the new operating systems coming from Apple this fall. There are a number of updated or new keys, a GSX Update, and updates to the Azure AD migration ...  View more

  • 308 Views
  • 0 replies
  • 2 kudos

Jamf Pro 10.40.1 Now Available

Hello Jamf Nation, Today we are releasing Jamf Pro 10.40.1. To learn more about this release and the product issues it addresses, please read the Jamf Pro 10.40.1 release notes here. Cloud Upgrade Schedule Your Jamf Pro server, including any free san...  View more

  • 820 Views
  • 1 replies
  • 1 kudos

API: Permissions needed for POSTing computergroups

Dear experts, I'm struggling again with the permissions needed for an account that can use the API - seems the documentation in that area is somewhat incomplete. The account shall be able to create or upload computergroups. I have already tried plent...  View more

  • 1232 Views
  • 5 replies
  • 0 kudos

API issue with mobile app

I am building a mobile application for my team to have the ability to activate lost mode on a selected device. Once selected, the device then is tracked with a map using the lost mode location. So I am able so far within the application to do everyth...  View more

  • 386 Views
  • 0 replies
  • 0 kudos

Jamf API Help

I need a script to edit all policies in Jamf to exclude 1 computer group. I have a script to edit one policy, but I need to get all policies and exclude 1 smart group. #!/bin/sh apiUsername="username" apiPassword="password" jssURL="jss.url.here" ​ po...  View more

  • 657 Views
  • 1 replies
  • 0 kudos

Remove remote policies logs till 'X' days

I found below script to remove the remote policies, would like to add some script to remove the policies till X days or till certain dates(EX would only able to target logs/policies which has time stamp before 6 months). Any help any one URL="https:/...  View more

  • 391 Views
  • 0 replies
  • 0 kudos

API Script for Mass Action MobileDevice Restart

I am familiar with the mobiledevicecommand with the RestartDevice payload which is great for resetting one or several IDs, but I'd like to have a SmartDeviceGroup where I can apply the Action to all members to RestartDevice using the API. So far I am...  View more

  • 557 Views
  • 1 replies
  • 0 kudos

Policy Logs: Download or Export?

Anyone out there know if there is a way to export or download the logs of a policy? I see way to grab the policy logs of individual or groups of computers, but no way to download the logs per policy. Am I just missing something or a specific workflow...  View more

  • 1518 Views
  • 3 replies
  • 0 kudos

JAMF cloud API

Hello Jamf COmmunity, I am tasked with setting up some code to do the API for JAMF. Baiscally I need to upload a csv and edit some fields. I am struggling mightily with this. Do you have any resources that might help. I want to learn what i am doing ...  View more

  • 638 Views
  • 1 replies
  • 0 kudos

Geo location data via API with Splunk

Wonder if anyone out there knows if ingesting location data into Splunk is possible with the data the Jamf API provides. I can pull street names, etc. but would be neat if we could utilize the Cluster or Choropleth map for visualization. Im wondering...  View more

  • 398 Views
  • 0 replies
  • 0 kudos

XMLLINT - Remove XML Tags

Hi All, I am using a script to pull data from the API. It works 100%, but I need to remove the XML tags from the data as the results get sent over for GDPR requests. I am using the following at the end of the script. xmllint --format - ThanksSimon  View more

  • 2320 Views
  • 7 replies
  • 0 kudos

Recording LAPS for macOS password to EA

I am having trouble with recording the LAPS for macOS passwords to the LAPS EA. Everything works and there is no error, yet the LAPS EA is blank every time. I can see the password if I look at log details so I know the rest of the process works prett...  View more

  • 1319 Views
  • 5 replies
  • 0 kudos

LDAP Sync

I'm looking for an LDAP sync solution. I need to detect changes on AD accounts without relying on a device inventory update. One reason for this is that we need to detect accounts that belonged to school leavers. If they have already wiped the device...  View more

  • 583 Views
  • 1 replies
  • 0 kudos

Jamf Google Data Studio

Hi Guys I want to be able to Link in purchasing information for all devices including stock items from a sheet into data studio and match the serial number and last seen dates so I can publish a financial asset report weekly. Has anyone been able to ...  View more

  • 606 Views
  • 1 replies
  • 1 kudos

Splunk Jamf Pro Add-on v. 1.0.6 issue

Hello all, We recently upgraded the Jamf Pro Add-on for Splunk add-on to version 1.0.6 on our Splunk Cloud IDM which is running Splunk v. 7.2. The Splunk server is also running Python v. 2.7.17. After the add-on upgrade, data stopped coming in from t...  View more

  • 474 Views
  • 0 replies
  • 0 kudos

Curl-ing to extension attribute not working in Big Sur?

Hello fellow Jamf Admins, I'm trying to GET a specific extension attribute and only output the specific result using the following script: curl -sku $jssUser:$jssPass -H "accept: text/xml" xml=$(https://$orgName.jamfcloud.com/JSSResource/computers/id...  View more

  • 1523 Views
  • 3 replies
  • 0 kudos

Programmatic macOS updates for Apple Silicon

(Please pardon the piecemeal post; I'm presuming partial information is better than nothing.) scheduleOSUpdate via the Jamf Pro API Thanks to AppleCare pointing out that: When running the softwareupdate command in a root shell on Apple Silicon users ...  View more

  • 9290 Views
  • 54 replies
  • 17 kudos

python 3 script to put users into static group

I work 99% in bash, so thats my main language, but currently Im working with python as thats whats working with OKTA. Currently I get a list of all user status from OKTA, which i need to then compare against and see if there are any overlapping names...  View more

  • 470 Views
  • 0 replies
  • 0 kudos

Policy Log Flushing Permissions

I'm looking to give a specific user access to flush specific computer logs on a policy. This is to allow SecOps to re-run policies that are set to once per computer. I set custom permissions as follows: Jamf Pro Server Objects > Policies > ReadJamf P...  View more

  • 1769 Views
  • 5 replies
  • 1 kudos

Help with a computer rename script

I've been using this script for the last year and it's worked fine, but is now failing with the following error.We get the username from the computer record in Jamf Pro as well as the model, truncate the model name (so MacBookPro16,1 becomes MacBookP...  View more

  • 1072 Views
  • 3 replies
  • 0 kudos

PatchBot & API Error 409

My company is in the process of setting up PatchBot (https://github.com/Honestpuck/PatchBot) for all of our Jamf Pro cloud instances. Per the checklist, I've set up all of the necessary policies (both computer and patch), and am using Firefox as my t...  View more

  • 1357 Views
  • 4 replies
  • 2 kudos

Script to delete static groups (by name or ID)

I have a number of static device groups that I need to delete (about 500 groups!).I have all of the exact group names and the group ID's.Could someone please help me with a script to load in these names or IDs and delete them in a batch? Thanks in ad...  View more

  • 766 Views
  • 1 replies
  • 0 kudos

API Get Devices

Hi! Started last week with the task to build a script which counts the number of our devices. Starting with a few basics i am now able to connect to the API via Powershell getting some data. Access over: https://oursubdomain.jamfcloud.com/api/apps or...  View more

  • 1910 Views
  • 5 replies
  • 1 kudos

Big Sur and Xpatch changes

Hello all Does anyone of you already noticed this "tiny" change in Xpath syntax causing a problems with existing scripts (codes)?As described in this ARTICLE the change is related to the version of Pearl running in Big Sur. Old syntax seems to look l...  View more

  • 784 Views
  • 2 replies
  • 0 kudos
Labels