This article is for troubleshooting Volume Purchase Program (VPP) installs. We will use an example of installing Slack on macOS.
All of the following commands can be run using the Terminal app on the device, or via JumpCloud Commands, to better understand an application's current status.
- Check if there is an app store receipt:
ls /Applications/slack.app/Contents/_MASReceipt
if there is a receipt:receipt
if no receipt:ls: /Applications/Slack.app/Contents/_MASReceipt: No such file or directory
- Show if the app is VPP licensed or from the App Store:
mdls /Applications/Slack.app/ -name kMDItemAppStoreReceiptIsVPPLicensed
when installed by a user via App Store:kMDItemAppStoreReceiptIsVPPLicensed = 0
when installed by an admin via VPP:kMDItemAppStoreReceiptIsVPPLicensed = 1
when installed by a user via PKG or drag and drop:kMDItemAppStoreReceiptIsVPPLicensed = (null)
- Output a text file to show install attempts for this app:
log show --predicate 'eventMessage contains ""' --info --last 1d > ~/Desktop/systemlogs.txt
If the command was sent by app was not installed you can check Apple unified logs in Console.app.
To identify which apps are managed on a device locally:
- On a Mac, go to System Settings > General > Device Management > MDM Enrollment Profile > Managed Apps.
- On iOS, go to Settings > General > VPN & Device Management > MDM Enrollment Profile > Apps.
Back to Top