Posted on 02-23-2023 08:36 AM
Is there a way to get a report or list of all failed commands for our mobile devices in Jamf Pro. Whenever I go to a device for any reason I often find failed commands from several months ago and manually clear those. But it would be nice to be able to know all the devices with failed commands so I can look at what failed without having to go to each device individually.
Solved! Go to Solution.
Posted on 02-28-2023 06:40 AM
There's not an option within Jamf to pull this report but you can use the classic API to get the 'Management History' from your computers which will include the failed commands which you can then isolate for you report. This method will involve some scripting though.
The API will be https://yourcompany.jamfcloud.com/JSSResource/computerhistory/id/{id}
Posted on 02-23-2023 09:43 AM
You could send a mass MDM command to clear failed and/or pending commands...
1. Devices tab
2. Smart Device groups (Or static)
3. Click on the desired group
4. Click View
5. Click Action
6. Cancel Remote Commands
7. Select the desired option
8. Click Next
Posted on 10-07-2024 01:26 PM
Helpful reply, thanks
Posted on 02-28-2023 06:40 AM
There's not an option within Jamf to pull this report but you can use the classic API to get the 'Management History' from your computers which will include the failed commands which you can then isolate for you report. This method will involve some scripting though.
The API will be https://yourcompany.jamfcloud.com/JSSResource/computerhistory/id/{id}