Skip to main content
Question

get Activation Lock Bypass Code by script / API


Forum|alt.badge.img+2

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

Forum|alt.badge.img+4
  • Contributor
  • 17 replies
  • January 29, 2023

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


Forum|alt.badge.img+13
  • Valued Contributor
  • 334 replies
  • February 8, 2023
Loic wrote:

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


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


Forum|alt.badge.img+7
  • Jamf Heroes
  • 16 replies
  • November 3, 2023

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


Forum|alt.badge.img+13
  • Valued Contributor
  • 334 replies
  • November 3, 2023
DTB_Kirky wrote:

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


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


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