Home

Issues enrolling Device in DEP

%3CLINGO-SUB%20id%3D%22lingo-sub-582240%22%20slang%3D%22en-US%22%3EIssues%20enrolling%20Device%20in%20DEP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-582240%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20testing%20with%20Enrolling%20new%20iOS%20devices%20in%20DEP.%3C%2FP%3E%3CP%3EWe%20have%20configured%20a%20the%20DEP%20with%3A%3C%2FP%3E%3CP%3E1.%20User%20Affinity%3C%2FP%3E%3CP%3E2.%20User%20must%20authenticate%20with%20the%20company%20portal%3C%2FP%3E%3CP%3E3%20And%20set%20Run%20company%20portal%20in%20Single%20App%20Mode%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20enabled%20restore%20from%20icloud.%3C%2FP%3E%3CP%3EThe%202%20issues%20we%20have%20are%3A%3C%2FP%3E%3CP%3E1.%20After%20the%20icloud%20backup%20is%20succesfully%20restored.%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20Then%20Remote%20management%20kicks%20in%2C%20configurationsettings%20are%20retrieved%2C%20when%20you%20are%20prompted%20the%20continue.%20So%20far%20so%20good.%20The%20we%20are%20prompted%20to%20create%20the%20Face%20ID.%20Upon%20that%20the%20screen%20is%20stuck%20for%20at%20least%2030%20minutes.%20After%20a%20while%20the%20screen%20unfreezes%20and%20we%20are%20able%20to%20create%20a%20Face%20ID.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E2.%20Other%20issue%20is%20when%20the%20Face%20ID%20is%20created%20the%20company%20portal%20setup%20kicks%20in.%3C%2FP%3E%3CP%3E%26nbsp%3B%20User%20logs%20on%2C%20enters%20credentials%2C%20goes%20to%20the%20screen%20to%20install%20the%20management%20profile.%3C%2FP%3E%3CP%3E%26nbsp%3B%20When%20the%20user%20press%20to%20continue%20the%20user%20gets%20a%20error%20that%20Safari%20is%20probably%20disabled.%3C%2FP%3E%3CP%3EThe%20error%20log%20show%20as%20follows%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EError%20domain%3A%3C%2FP%3E%3CP%3Ecom.microsoft.intune.ios.ssp.enrollment%3C%2FP%3E%3CP%3ECode%3A802%3C%2FP%3E%3CP%3EDescription%3A%20Enroll%20url%20cannot%20be%20opened.%20Safari%3C%2FP%3E%3CP%3Emay%20be%20disabled%3C%2FP%3E%3CP%3EUser%20info%3A%20%7B%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%20NSlocalizedDescription%20%3D%20%22Enroll%20url%20cannot%20be%3C%2FP%3E%3CP%3Eopened.%20Safari%20may%20be%20disabled%22%3B%3C%2FP%3E%3CP%3E%7D%3C%2FP%3E%3CP%3EPressing%20retry%20does%20help.%20Same%20error%20is%20displayed.%20Again%20only%20after%20while%20(say%2030%20minutes%2C%20is%20a%20guess)%20retry%20is%20successfull%20a%20the%20single%20app%20mode%20is%20ended.%20User%20is%20now%20able%20use%20the%20iPhone.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20the%20user%20chooses%20to%20not%20restore%20the%20icloud%20but%20chooses%20to%20setup%20the%20iPhone%20is%20new%20device%2C%20after%20the%20remote%20managent%20is%20completed%20the%20homescreen%20appears%20and%20the%20user%20gets%20the%20message%20%22%3CSPAN%3EGuided%20Access%20app%20unavailable%20please%20contact%20your%20administrator%22%20%3CSPAN%3EThat%20error%20stays%20on%20the%20screen%20for%20a%20while%20(say%2030%20minutes%2C%20is%20a%20guess)%20and%20then%20company%20portal%20is%20downloaded%20and%20user%20is%20able%20to%20configure%20the%20company%20portal.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSPAN%3ESo%20somehow%20there%20seems%20a%20big%20delay%20in%20enrolling%20the%20device.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSPAN%3ESo%20what%20can%20cause%20this%20delay%3F%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-582240%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-631901%22%20slang%3D%22en-US%22%3ERe%3A%20Issues%20enrolling%20Device%20in%20DEP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-631901%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20can%20try%20following%20to%20fix%20this%20issue.%3C%2FP%3E%3CP%3ERun%20Company%20Portal%20in%20Single%20App%20Mode%20until%20authentication%20%3D%20No.%20From%20my%20experience%2C%20this%20works%20every%20time%20and%20help%20you%20to%20review%20the%20state%20of%20the%20device.%3C%2FP%3E%3CP%3EDisable%20Face%20ID%20setup%20during%20initial%20setup%20to%20isolate%20the%20issue.%3C%2FP%3E%3CP%3EiCloud%20might%20restore%20the%20previous%20MDM%20state%20as%20result%20you%20might%20not%20be%20able%20to%20enroll%20device%20again%20part%20of%20Comp%20Portal%20Authentication.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-652424%22%20slang%3D%22en-US%22%3ERe%3A%20Issues%20enrolling%20Device%20in%20DEP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-652424%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F336519%22%20target%3D%22_blank%22%3E%40prtkdv%3C%2FA%3E%26nbsp%3BI%20have%20this%20issue%20as%20well.%20Could%20you%20expand%20upon%20what%20you%20mean%20by%20%22%3CSPAN%3ERun%20Company%20Portal%20in%20Single%20App%20Mode%20until%20authentication%20%3D%20No.%22%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-773767%22%20slang%3D%22en-US%22%3ERe%3A%20Issues%20enrolling%20Device%20in%20DEP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-773767%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F102408%22%20target%3D%22_blank%22%3E%40Manoj%20Sood%3C%2FA%3E%26nbsp%3BWe%20too%20are%20experiencing%20this%20challenge.%20Did%20you%20ever%20figure%20out%20what%20was%20meant%20by%20%22Run%20Company%20Portal%20in%20Single%20App%20Mode%20until%20authentication%20%3D%20No%3F%22%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-777213%22%20slang%3D%22en-US%22%3ERe%3A%20Issues%20enrolling%20Device%20in%20DEP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-777213%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F128959%22%20target%3D%22_blank%22%3E%40Nate%20Jackson%3C%2FA%3E%26nbsp%3Bthis%20is%20a%20property%20of%20the%20DEP%20enrollment%20profile%20in%20Intune.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-808646%22%20slang%3D%22en-US%22%3ERe%3A%20Issues%20enrolling%20Device%20in%20DEP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-808646%22%20slang%3D%22en-US%22%3ENot%20sure%20I%20understand%20what%20you%20mean%20by%20%22property%20of%20DEP%20enrollment%20profile%22.%20Coul%20dyou%20be%20more%20specific%20as%20to%20what%20this%20is%20and%20where%20to%20find%20it%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-808672%22%20slang%3D%22en-US%22%3ERe%3A%20Issues%20enrolling%20Device%20in%20DEP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-808672%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F102408%22%20target%3D%22_blank%22%3E%40Manoj%20Sood%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fintune%2Fdevice-enrollment-program-enroll-ios%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fintune%2Fdevice-enrollment-program-enroll-ios%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Ronald Meer
Contributor

We are testing with Enrolling new iOS devices in DEP.

We have configured a the DEP with:

1. User Affinity

2. User must authenticate with the company portal

3 And set Run company portal in Single App Mode

 

We have enabled restore from icloud.

The 2 issues we have are:

1. After the icloud backup is succesfully restored.
   Then Remote management kicks in, configurationsettings are retrieved, when you are prompted the continue. So far so good. The we are prompted to create the Face ID. Upon that the screen is stuck for at least 30 minutes. After a while the screen unfreezes and we are able to create a Face ID.

 

2. Other issue is when the Face ID is created the company portal setup kicks in.

  User logs on, enters credentials, goes to the screen to install the management profile.

  When the user press to continue the user gets a error that Safari is probably disabled.

The error log show as follows:

 

Error domain:

com.microsoft.intune.ios.ssp.enrollment

Code:802

Description: Enroll url cannot be opened. Safari

may be disabled

User info: {

   NSlocalizedDescription = "Enroll url cannot be

opened. Safari may be disabled";

}

Pressing retry does help. Same error is displayed. Again only after while (say 30 minutes, is a guess) retry is successfull a the single app mode is ended. User is now able use the iPhone.

 

When the user chooses to not restore the icloud but chooses to setup the iPhone is new device, after the remote managent is completed the homescreen appears and the user gets the message "Guided Access app unavailable please contact your administrator" That error stays on the screen for a while (say 30 minutes, is a guess) and then company portal is downloaded and user is able to configure the company portal.

 

So somehow there seems a big delay in enrolling the device.

So what can cause this delay?

 

6 Replies

You can try following to fix this issue.

Run Company Portal in Single App Mode until authentication = No. From my experience, this works every time and help you to review the state of the device.

Disable Face ID setup during initial setup to isolate the issue.

iCloud might restore the previous MDM state as result you might not be able to enroll device again part of Comp Portal Authentication. 

@prtkdv I have this issue as well. Could you expand upon what you mean by "Run Company Portal in Single App Mode until authentication = No."

@Manoj Sood We too are experiencing this challenge. Did you ever figure out what was meant by "Run Company Portal in Single App Mode until authentication = No?"

@Nate Jackson this is a property of the DEP enrollment profile in Intune.

Not sure I understand what you mean by "property of DEP enrollment profile". Coul dyou be more specific as to what this is and where to find it?
Related Conversations
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies