Activation Unlock with bypass code

Hi


We are working on an MDM solution in which we use the Activation Unlock Bypass code.

Sending a POST request to the following url:

https://deviceservices-external.apple.com/deviceservicesworkers/escrowKeyUnlock?serial=1234567890&productType=iPad2,5

The request body contains the following data:

escrowKey=6FU7X-IUWJJ-IKND-KLWB-8CW8-0UY3&orgName=Something&guid=716B38B0CB0C4EFC9A8DF5ECC97046CE


The request body is formatted in form submission and data is:

65,73,63,72,6F,77,4B,65,79,3D,36,46,55,37,58,2D,49,55,57,4A,4A,2D,49,4B,4E,44,2D,4B,4C,57,42,2D,38,43,57,38,2D,30,55,59,33,26,6F,72,67,4E,61,6D,65,3D,53,6F,6D,65,74,68,69,6E,67,26,67,75,69,64,3D,37,31,36,42,33,38,42,30,43,42,30,43,34,45,46,43,39,41,38,44,46,35,45,43,43,39,37,30,34,36,43,45


The request is using SSL with an APNS client certificate.

The response from the Apple server is: 404 (NotFound)

and the Body is this:

<ns:escrowKeyDeviceServicesResponse version="1" xmlns:ns="http://www.apple.com/cds/mdmescrowKeyDeviceServices/xml">

<error code="1002" message="com.apple.cds.cyclops.mdm.MDMServiceException: No registered escrow key found" />

</ns:escrowKeyDeviceServicesResponse>


Does anyone have any idea to why we get this error code ?

Replies

Any luck enf?


I am also getting the same error when trying the request. For the escrowKey, I am using the bypasscode that i got from the device as part of the ActivationLockBypassCode request

I am also getting the same error when trying the request.

I have activated the activation lock, but I don't know how to close it. Can you provide some instance code? I don't know how to request this connection. Thank you.