get Activation Lock Bypass Code by script / API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
05-24-2019
02:07 AM
- last edited
yesterday
by
kh-richa_mig
Hello,
I have few iPad who get lock by activation lock, I would like to grab the code from command line ...
I found that site https://github.com/dnikles/removeActivationLock who explain how to do ... but the Phyton part is not working when you have the SSO on console activated..
is there a direct API call we can do with the current version?
- Labels:
-
Jamf Pro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 01-29-2023 03:40 AM
Hello
I'm starting to work on a script to get a weekly computers report and I'd like to grab the Activation Lock Bypass Code for each computer.
The purpose is being able to erase and reinstall a Mac even if it has been removed from JSS (without having checked that the Find My option was not activated).
I can't figure out how to get this code through the API for a specific computer id:
- The URI https://yourServer.jamfcloud.com/JSSResource/computermanagement/id/{id} does not return this parameter
- The URI https://yourServer.jamfcloud.com/api/v1/computers-inventory/{id}/view-recovery-lock-password fails
Jamf Pro 10.42.1-t1667311080
Best

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 02-08-2023 01:06 PM
recovery lock password is the EFI password equivalent for Apple Silicon, so it won't be there.
Not sure we can retrieve this via API currently. =(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 11-03-2023 07:28 AM
I'm hoping now I'm on Jamf Pro 11.0.1 that the api is now working

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 11-03-2023 04:53 PM
not seeing any way to get that info still. Would think it would have been mentioned in release notes. Not seeing any mention in API docs, or here: https://learn.jamf.com/bundle/technical-articles/page/Leveraging_Apples_Activation_Lock_Feature_with...
