HomeKb › Ios return to service
Knowledge base · iOS / iPadOS

Return to Service: wipe and auto re-enrol iPhones with zero touches

Since iOS 17, an MDM erase command can carry a Wi-Fi profile through the wipe, skip every Setup Assistant screen and re-enrol the device automatically. If you are still hand-configuring recycled iPhones between users, this is the feature nobody told you about.

The problem

You run a pool of shared or high-turnover iPhones or iPads — frontline workers, wards, classrooms, retail counters, loaner stock. Every time a device changes hands, someone on the helpdesk does the same ritual: erase it, wait, pick a language, join Wi-Fi by hand, click through Setup Assistant screen by screen, wait for MDM re-enrolment, then check the apps came back. Minutes of hands-on human attention per device, multiplied by every handover, forever.

The frustrating part: since iOS 17 (September 2023), Apple's MDM protocol has been able to do the whole cycle unattended. A single command wipes the device, carries a Wi-Fi profile through the erase, skips Setup Assistant entirely and re-enrols the device into MDM with nobody touching the screen. It is called Return to Service, and a surprising number of admins — particularly in Intune-centred shops — have never heard of it.

Why it happens

Historically, an erase was a point of no return for automation. Wiping a device destroyed everything, including its Wi-Fi credentials — so a freshly erased iPhone could not talk to anything until a human joined it to a network in Setup Assistant. Automated Device Enrollment (ADE) automated the enrolment step, but activation still needed connectivity, and connectivity needed fingers.

iOS 17 changed the protocol. The MDM EraseDevice command gained a ReturnToService dictionary that can carry payloads which survive the erase:

After the erase, the device restores its previous language and region, reconnects using the persisted Wi-Fi payload, and — in ManageEngine's words — "bypasses all setup assistant screens", re-enrols into MDM and lands on the Home Screen.

So why do so few Intune shops know it exists? Because Return to Service is a protocol-level capability: you only see it if your MDM builds an interface for it. Third-party Apple MDMs (SimpleMDM, Miradore, ManageEngine MDM Plus, and others) expose it as a wipe option. Microsoft Intune's documented Wipe action for iOS/iPadOS, at the time of writing, exposes only the eSIM data-plan choice — no Return to Service toggle — so admins who live in the Intune console simply never encounter it.

The fix

1. Check the prerequisites

2. Issue the wipe with Return to Service

In an MDM that supports it, Return to Service appears as an option on the wipe/erase action: you select the Wi-Fi profile to carry through the erase (and, for non-ADE devices, the enrolment profile). That is the entire admin-side workflow — one action instead of a hands-on rebuild.

3. Know what to expect

4. Mind the gotchas

5. If you are on Intune

How Decolla handles it

Straight answer: it doesn't. Decolla provisions Windows devices over your own Intune and Autopilot tenant — it does not send Apple MDM commands and will not wipe or re-enrol an iPhone. Return to Service lives entirely in your Apple MDM stack, and the steps above are everything you need.

The reason this article sits in our knowledge base is that the underlying lesson is exactly the one Decolla is built on: the most valuable capabilities are often protocol- or platform-level features that nobody surfaces, so fleets keep paying a per-device human tax that stopped being necessary years ago. On the Windows side of your estate, Decolla's approach to reprovisioning mirrors what Return to Service does for iOS: you define a build once through a wizard against a curated catalogue of 260+ items across 21 sections; Decolla produces a written, itemised plan — delivery method and reversibility class stated per item, with anything irreversible flagged — which you approve before anything runs; deployment then executes unattended in your own tenant, and Decolla can roll back its own changes item by item.

That catalogue is backed by the Library: pre-built, industry-tested policies, scripts and fixes — including the recurring helpdesk fixes and built-in hardening that, like Return to Service, most teams never discover on their own. Decolla is pre-launch; if the Windows half of this problem sounds familiar, the waitlist is open at decolla.app.

Sources

See it on a real device.

Decolla is in private build — early-access members see a build defined, deployed and rolled back first.

Get early access