Skip to main content
Answer

Unable to send message with Device Lock command

  • September 21, 2015
  • 7 replies
  • 53 views

Forum|alt.badge.img+12

Whenever I send a Device Lock command, the message I enter does not appear on the device.

Is there some setting I need to set for this to work? The device locks immediately but lacks the message I enter

Best answer by brandonusher

Nevermind, just tried it with setting a passcode on a device first then sending the message. It displays the message if a passcode is enabled

7 replies

Forum|alt.badge.img+12
  • Author
  • Contributor
  • Answer
  • September 21, 2015

Nevermind, just tried it with setting a passcode on a device first then sending the message. It displays the message if a passcode is enabled


Forum|alt.badge.img+4
  • Contributor
  • September 25, 2015

And for devices with no passcode set? Is there a way to get them a message?


Forum|alt.badge.img+12
  • Author
  • Contributor
  • September 25, 2015

@paulvb Not that I'm aware of, unless you use the Self Service Mobile app. But that only let's you send a message, not lock the device.


Forum|alt.badge.img+3
  • New Contributor
  • August 29, 2018

@brandonusher how did you send the message command after the lock command? Did you send another API call? If so what API command did you use?


Forum|alt.badge.img+12
  • Author
  • Contributor
  • August 29, 2018

@Ian.W I don't think I had done it via the API, but rather the "Lock Device" option under Management.

Via the API though, you can go to the below URL for your JSS and see the syntax for sending the API call:

https://jss.company.com:8443/api/#!/mobiledevicecommands/createMobileDeviceLockCommandURL_post


Forum|alt.badge.img+3
  • New Contributor
  • August 29, 2018

@brandonusher Thanks for the quick response. I reached out to Jamf and it looks like it only works for iOS devices presently, but there are plans to extend this functionality to macOS 10.14.

JAMF Nation Feature Request

Apple's newest MDM Reference


Forum|alt.badge.img+12
  • Author
  • Contributor
  • August 29, 2018

@Ian.W My apologies, I thought you were talking about Mobile Device commands. I'm glad to hear that it will be coming to Computers though, that's exciting!