Description
This article outlines two methods for providing a list of applications for both the macOS and iOS platforms in Jamf Pro; Search Volume Content and API. Scroll through the following sections to learn more about both.
Exporting Names Of Applications
Why Use Search Volume Content
Easy to access
Exports a CSV with the Content Name, Location, Content Type, Total Content, In Use, and Volume Assignments columns
The output options include; All Volume Purchase Content, Mobile Device Apps, Mac App Store Apps, or eBooks
Using Search Volume Content to Export Names
Log in to Jamf Pro
In the left navigation pane, select to either Computers or Devices
In the left navigation pane, click Search Volume Content
Note: You can click on the All Volume Content dropdown menu and select either Mobile Device Apps or Mac App Store Apps to only output values from a specific platform instead of both.
Leave the search field blank
In the upper right, click the Search button
In the lower right, select the Export button
Select Comma-Separated Values (.csv)
In the lower right, click the Next button
Save the .csv file to the desired location
Output Example:
Why Use API
Requires familiarity with API calls
Can be expanded upon
This method will include all entries from Jamf Pro's Mac Apps or Mobile Devices Apps sections (in-house, App Store without licenses, etc.)
Using API to Export Names
Open the Terminal application on a Mac
CHECK THESE STEPS Copy and paste the following command depending on the desired platform.
Note: Make sure to replace USERNAME with the username of a Jamf Pro user account and INSTANCE_NAME with the hostname of the Jamf Pro server. You can also adjust the where the file is saved and the file name by adjusting the ~/Desktop/ComputerApplicationNames.csv or ~/Desktop/DeviceApplicationNames.csv references found at the end of the command.
Computers (macOS)
curl -s -H "Authorization: Bearer BEARERTOKEN" -H "accept: text/xml" https://INSTANCE_NAME/JSSResource/macapplications | xmllint --xpath '/mac_applications/mac_application/name/text()' - > ~/Desktop/ComputerApplicationNames.csv
Devices (iOS)
curl -s -H "Authorization: Bearer BEARERTOKEN" -H "accept: text/xml" https://INSTANCE_NAME/JSSResource/mobiledeviceapplications | xmllint --xpath '/mobile_device_applications/mobile_device_application/name/text()' - > ~/Desktop/DeviceApplicationNames.csv
Type the Jamf Pro user's password when seeing the Enter host password for user prompt and press return
Navigate to the desktop of the Mac you ran the API call on and look for the either the ComputerApplicationNames.csv or DeviceApplicationNames.csv file depending on the call you ran
Output Example: