Skip to main content
Solved

Report or List of all failed commands

  • February 23, 2023
  • 3 replies
  • 33 views

Forum|alt.badge.img+6

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.

Best answer by kgam

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}

View original
Did this topic help you find an answer to your question?

3 replies

mvu
Forum|alt.badge.img+20
  • Jamf Heroes
  • 921 replies
  • February 23, 2023

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


kgam
Forum|alt.badge.img+8
  • Valued Contributor
  • 51 replies
  • Answer
  • February 28, 2023

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}


Forum|alt.badge.img+1
  • New Contributor
  • 3 replies
  • October 7, 2024
mvu wrote:

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


Helpful reply, thanks


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings