Activation Lock in MDM: how IT manages it on company-owned Apple devices

Activation Lock is an Apple security feature that ties an iPhone, iPad, or Mac to an Apple Account, so a lost or stolen device cannot be erased and reused without that account’s credentials. For individuals, it deters theft. For IT teams managing a fleet of company-owned Apple devices, it is a double-edged tool: the same feature that protects a device can strand it when a departing employee hands back a company iPhone still locked to their personal Apple Account, and no one can reactivate it.
This guide is for IT teams managing company-owned Apple devices. It explains how Activation Lock works on managed devices, how to prevent a personal lock from ever attaching, how to clear it on a supervised device you legitimately own, and, just as importantly, where there is no shortcut. It is not a guide to removing Activation Lock from a device you do not own; that is a different question with a different and much more limited answer, covered honestly at the end.
MDM activation lock: The short answer
Whether IT can clear a company device’s Activation Lock is decided before the device ever locks, at the moment it is supervised. The diagram is the whole decision in one view, and the rest of this guide explains each branch.

Why Activation Lock is an IT problem, not just a consumer feature
Activation Lock turns on automatically when a user enables Find My on a device signed in to their Apple Account. On a personal device, that is exactly what you want. On a company-owned device, the risk is that the device gets tied to an employee’s personal Apple Account rather than the organization. When that employee leaves, the company owns the hardware but cannot reactivate it after a wipe, because reactivation needs the personal account’s password, which the organization does not have and cannot compel (Apple Support, Activation Lock security)
This is the scenario IT needs to design against. It is common, expensive (a locked device is effectively bricked for the organization), and almost entirely preventable through how the device is enrolled and managed. The feature is not the enemy; an unmanaged personal lock on a managed device is.
The two kinds of Activation Lock on a managed device
Apple distinguishes two ways Activation Lock attaches to an organization-owned device, and that difference determines whether IT can clear it later.
User-linked Activation Lock occurs when a user signs in with an unmanaged personal Apple Account and turns on Find My. Crucially, this can happen on a managed device only if the device management service allows it, because supervised devices disallow Activation Lock by default. Organization-linked Activation Lock is the managed form: through Apple Business (or Apple School Manager), the management service controls turning Activation Lock on and off server-side, independent of the user or the device’s state (Apple Support, Activation Lock on Apple devices)
| Factor | User-linked Activation Lock | Organization-linked (managed) |
|---|---|---|
| Who turns it on | The user, via a personal Apple Account plus Find My | The management service, server-side through Apple Business |
| Allowed on a supervised device? | Only if the MDM explicitly allows it (off by default) | Yes, this is the managed, IT-controlled form |
| Who holds the bypass code | The device generates it; the MDM must retrieve and store it | The MDM generates it and sends it to Apple |
| Can IT clear it later | Only if the MDM stored the code in time | Yes, IT controls it directly |
| The outcome IT wants | Avoid this on company devices | This, or no user lock at all |
Prevention: the part that actually matters
Because clearing Activation Lock after the fact is conditional and time-limited, the reliable strategy is to prevent a personal lock from attaching in the first place. For a company-owned fleet, prevention depends almost entirely on enrollment and policy, and IT should focus its effort there.
1. Supervise devices through Automated Device Enrollment. Devices enrolled through Apple Business and Automated Device Enrollment are supervised, and on supervised devices Activation Lock is disallowed by default. This single fact prevents the most common failure, an employee’s personal lock attaching, unless IT deliberately allows it. Buying through a channel that assigns devices to your Apple Business account before delivery keeps this clean.
2. Keep personal Apple Account sign-in off managed devices. Use Managed Apple Accounts for work identity, and restrict or avoid personal Apple Account sign-in on company devices through policy. A device that has never been signed in to a personal Apple Account cannot acquire a user-linked lock.
3. If you do allow user Activation Lock, let the MDM escrow the bypass code. Some organizations want the theft-deterrent benefit of Activation Lock on devices employees carry. That is legitimate, but only safe if the MDM is configured to retrieve and store the device-generated bypass code when the lock is enabled, so IT can clear it later. Allowing user Activation Lock without escrowing the code is the trap.
4. Mind the 15-day window on iPhone and iPad. Bypass codes are available only for about 15 days after a device is first supervised; codes not retrieved within that window cannot be recovered afterward. Confirm your MDM captures codes at supervision, not later.
Apple is explicit that the timing is strict: the bypass codes are available for up to 15 days after the device is first supervised, and once the service obtains and clears a code, it is gone (Apple Support, Activation Lock on Apple devices)
Clearing Activation Lock on a supervised device you own
When a company-owned, supervised device is locked, and IT needs to reactivate it legitimately because the organization owns it, there are three routes, all built on the escrowed bypass code.
The primary route is remote: the management service turns off Activation Lock using the stored bypass code, which you use when the user cannot authenticate, such as after they leave the organization. You can also clear the device physically: on iPhone or iPad, enter the bypass code in the Apple Account password field and leave the user name blank; on a Mac, use Recovery Assistant’s “Activate with MDM key” option. And in Apple Business, a user with Manage Device privileges can turn off either kind of lock, as long as the device is still in the organization’s account and has not been released (Apple Support, Activation Lock on Apple devices)
A practical note for Macs: Activation Lock on Mac requires Apple silicon or the Apple T2 Security Chip, and an MDM can’t clear Activation Lock on a Mac that already had it enabled before it enrolled in management. In that case, the user has to turn it off. This is why Mac devices, like iPhones and iPads, benefit from being supervised through Automated Device Enrollment from the start.
Where there is no shortcut (the honest boundary)
Be direct about the limits, because much of what is written about Activation Lock online is about circumventing it on devices the writer doesn’t own, and none of that belongs in a managed-fleet strategy.
If a company device was never supervised before it locked, there is no escrowed bypass code, so the MDM has nothing to clear. The lock holds. The only legitimate routes are the account owner signing out of their Apple Account and disabling Find My, or, where the organization can prove it owns the device, Apple’s own ownership-verification process. No MDM command, bypass tool, or third-party service can legitimately remove Activation Lock from a device you cannot prove you own, and any that claims to is one IT should avoid. The genuine answer to “the device locked and we were not managing it” is prevention next time, not a workaround this time.
“Activation Lock is a very strong deterrent. If a device is lost or stolen, Activation Lock can continue to deter anyone from reactivating it without the owner’s permission.”
Apple Platform Security, Activation Lock, support.apple.com
How a cross-platform MDM fits in
Activation Lock is Apple’s mechanism, so what an MDM adds is the ability to drive it correctly and at fleet scale: supervising devices through Automated Device Enrollment so a personal lock is disallowed by default, escrowing bypass codes within the window Apple allows, and issuing the clear command when a legitimately owned device needs reactivating. Every compliant Apple MDM exposes this; Microsoft Intune, Jamf, and others document the same Apple mechanism, so the practical question when evaluating one is whether it captures bypass codes reliably at supervision and makes the clear action straightforward.
Bento MDM manages Apple devices alongside Android and Windows from one console, and for Apple fleets it handles the Activation Lock lifecycle: supervision through Automated Device Enrollment, bypass-code escrow, and the clear command for supervised company-owned devices. For a mixed fleet, the value is handling this Apple-specific workflow in the same place as the rest of the fleet, rather than in a separate Apple-only tool. Apple handles hardware protection; the MDM handles fleet-scale management.
Frequently asked questions
On a supervised, company-owned device, yes. If the device was supervised through Apple Business before it locked, the MDM holds a bypass code and can turn Activation Lock off with a clear command, which is the normal way to reactivate a device after an employee leaves. If the device was never supervised, the MDM has no escrowed code and can’t clear it. So “can an MDM remove Activation Lock” really means “was the device supervised in time”, which is decided at enrollment, not at the moment it locks.
It is a code that can turn off Activation Lock on a device the organization legitimately manages. For managed (organization-linked) locks, the MDM generates the code and sends it to Apple. For user-linked locks, the device generates it, and the MDM must retrieve and store it. On iPhone and iPad, the codes are available only up to about 15 days after the device is first supervised, so the MDM has to capture them at supervision. This is a legitimate IT mechanism for owned devices, not a way to unlock a device you do not own.
No. That is the entire point of the feature. Erasing a device, whether through the MDM, Recovery, or a manual wipe, does not clear Activation Lock; the device still asks for the locking Apple Account’s credentials on reactivation. The only legitimate ways to clear it are for the owner to sign out of their Apple Account beforehand, use an escrowed MDM bypass code on a supervised device, or use Apple’s proof-of-ownership process. That is why a returned but locked device cannot simply be wiped and reissued.
Supervise them through Automated Device Enrollment, which disallows Activation Lock by default, and keep personal Apple Account sign-in off managed devices by using Managed Apple Accounts and policy. A supervised device that is never signed in to a personal Apple Account cannot acquire a user-linked Activation Lock. If you do choose to allow Activation Lock for its theft-deterrent value, make sure the MDM escrows the bypass code at supervision so you can clear the device later.
Related Articles



