iCloud Backup restore bypasses DEP process

Brass Contributor

We are currently facing the challenge that a recovery from an iCloud/Itunes backup bypasses the DEP process and no corporate portal is installed.


Preventing a restore from a backup can't be a solution, can it?



6 Replies

The DEP process should take effect prior to the Setup Assistant prompt to restore from backup. Do you have supervision enabled as part of the device management settings for the DEP profile? It is required for devices using Company Portal as the authentication method. Other things to check would be the number of available licenses for Company Portal. Hope this helps.

@trebelow Well, this is an issue that definitely exists and I am able to reproduce.


A small subset of our users are permitted to have a relatively relaxed configuration which includes allowing backup/restore to/from iCloud. On such devices the Remote Management screen appears during device setup and the DEP profile appears to be downloaded to the device. However, I suspect the subsequent restore from iCloud breaks this as, the Company Portal and Authenticator apps are never delivered by Intune via DEP+VPP. In the enrollment portal, the device is listed as in a state of "Not Contacted." Certain DEP device features such as locked enrollment, are not enforced.


(Starting again and setting up the device as a new device, results in expected behaviour.)


For the restored devices, as a workaround we are able to download Company Portal via app store and enrol as a personal iOS device, then switch the device type to Corporate later on. However as stated above, the device is not fully DEP-enrolled.

@Rob Hardman 


Second this, just doing some migration tests atm, and found the same behavior, if i allow icloud restore as part of the setup assistant, the device restores and starts back up streight into iPadOS... no supervision and no company portal app.

@trebelow  This behaviour is only present when restoring from unmanaged backups (ones created from an unsupervised state) to the same device that was used to create the backup. Restoring unmanaged backups to a different device works as expected without any issues.

Hi@trebelow - did you ever find a solution to this? I am facing the same issue in my environment.

In order to Backup by the DEP process, you must follow these steps:


  • Connect one or more devices to a USB port on the Mac that has Apple Configurator 2 installed, then select them in the device window.

Do one of the following:

  • Click Back Up in the toolbar.
  • Choose Actions > Back Up.
  • Control-click the selected devices, and choose Back Up.