get Activation Lock Bypass Code by script / API

mnahum
New Contributor

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?

4 REPLIES 4

Loic
New Contributor III

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:

Jamf Pro 10.42.1-t1667311080

Best

rstasel
Valued Contributor

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. =(

DTB_Kirky
New Contributor III

I'm hoping now I'm on Jamf Pro 11.0.1 that the api is now working

rstasel
Valued Contributor

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...