Activation Lock is Apple's built-in security feature that prevents unauthorized use of an iPhone or iPad after the device has been erased or factory reset. When Activation Lock is active, the device can only be reactivated with the Apple ID credentials originally used to enable the feature, or by using a management bypass code generated from the Endpoint Central console. Learn more
In a corporate environment, devices often need to be reassigned, re-provisioned, or repurposed. If Activation Lock is enabled by a user's Apple ID, it can block redeployment without that user's credentials.
Before you can manage Activation Lock using ManageEngine Endpoint Central:
https://deviceservices-external.apple.com/deviceservicesworkers/escrowKeyUnlock
Here are three Activation Lock scenarios:
In this scenario, any supervised devices enrolled through Apple Business Manager (ABM), Activation Lock is disabled by default. Even though Activation Lock is turned off, the devices remain associated with the organization in ABM. If the device is wiped, it will automatically re-enroll into EC during setup, preventing unauthorized use.
Activation Lock is controlled centrally by IT through ABM/ASM and the Endpoint Central. It does not depend on a user's personal Apple ID, and admins can enable, disable, or bypass the lock at any time. This setup is ideal for fully corporate-owned or shared devices.
Users enable Find My with their personal Apple ID to lock the device, usually when the device is used heavily for personal purposes. Even in this case, Ebdpoint Central can still recover the device using an Activation Lock bypass key without needing the user's Apple ID.
To clear Activation Lock, the following Apple service URL is used:https://deviceservices-external.apple.com/deviceservicesworkers/escrowKeyUnlock
Ensure this URL is allowed in your proxy, firewall, or any other network gateway restrictions. If it is blocked, the Activation Lock clearance process may fail.
Here are three ways to clear Activation Lock on the device:
If you have access to the device, on an iPhone or iPad, enter the device management service Activation Lock bypass code on the Activation Lock screen in the Apple Account password field, and leave the username field blank.
If a device is wiped or deprovisioned while still connected to Endpoint Cenytral, Activation Lock can be cleared. This ensures the device is ready to be set up again and reassigned without needing the previous user's Apple ID.
Sometimes, the Activation Lock cannot be cleared using Method 1 and 2. This can happen if:
In such cases, your IT team can:
If a device was enrolled before this feature was available, the device bypass code will not be present in Endpoint Central. If such a device has User-managed Activation Lock (Find My) enabled and is then reset using Apple Configurator or recovery mode, the device will show the Activation Lock screen tied to the user's personal Apple ID.
In this situation, the admin cannot remove the lock because no device bypass code is available. The possible recovery options are:
To view Activation Lock bypass codes:


Bypass codes allow IT to unlock a device if it is activation locked and Apple ID credentials are unavailable.
| BYPASS CODE TYPE | DESCRIPTION |
|---|---|
| Organization bypass code | Generated by MDM and registered with Apple's activation service when Organization-Linked Activation Lock is enabled. |
| Device bypass code | Retrieved from the device during enrollment via MDM command and used for user-managed locks. |
You can use these codes to unlock a device if it is locked and no Apple ID credentials are available. Learn more
To use a bypass code: