Posted on 09-06-2023 03:51 PM
I'm using the not-very-well-documented computercommands API to trigger device locks during termination events. I got it working on a test device last week, but it has not sent out the command to two separate devices in PROD just today even though when I run the script in verbose it returns a 200 from JSS.
Does anyone else use this API or seen something similar?
Here is my code:
Posted on 09-07-2023 05:14 AM
Youre getting a 200 code because the API has successfully queued the MDM command!
What does the management log say on the device? (Computer Inventory > Management > Management Commands)? Is the command pending or showing as failed?
If there is nothing there, whats showing under the Computer Inventory > History > Management History? Can you find the command at all?