question

Ramesh88 avatar image
0 Votes"
Ramesh88 asked Crystal-MSFT commented

Autopilot Device Setup failed

trying to enroll device into intune via autopilot but the device setup has failed

mem-intune-enrollmentmem-autopilot
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Crystal-MSFT avatar image
0 Votes"
Crystal-MSFT answered Crystal-MSFT commented

@Ramesh88, For Device setup phase in ESP, it will deploy security policies, applications like LOB, Win32 offline store app, connectivity profile, certificate profile in this phase. We can see more details in the following link: in this
https://docs.microsoft.com/en-us/mem/intune/enrollment/windows-enrollment-status#enrollment-status-page-tracking-information

For our issue, please firstly check if the network requirements are all met:
https://docs.microsoft.com/en-us/mem/autopilot/networking-requirements

Then try to increase the "Show an error when installation takes longer than specified number of minutes" in ESP to a much higher value and reset the device to try again to see if it can be successful.

Meanwhile, here is a link about troubleshooting the Enrollment Status Page for the reference:
https://docs.microsoft.com/en-us/troubleshoot/mem/intune/understand-troubleshoot-esp#troubleshooting

Hope it can help.


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Crystal,

Show an error when installation take longer is already set 90 mins
When looking at the log files i see these error showing more

Failed to get AAD token. len = 34 using client id xxxxxxxxxxxxxxxxxxxxxxx and resource id xxxxxxxxxxxxxxxxxx, errorCode = 3399548929

AAD User check is failed, exception is Intune Management Extension Error.

Failed to get AAD token. len = 34 using client id xxxxxxxxxxxxxxxxx and resource id xxxxxxxxxxxxxxxxxxx, errorCode = 3399548929

AAD User check is failed, exception is Intune Management Extension Error.

0 Votes 0 ·

@Ramesh88,, For the error in IME log, it seems AAD token is unable to get. Was there any device target app deployed to this device? Was any app installed under the error?

0 Votes 0 ·

@Ramesh88, Hope things are going well. I am writing to see if you have the opportunity to confirm the above information to go further. Thanks and have a nice day!
,,

0 Votes 0 ·
NickHogarth-MVP avatar image
0 Votes"
NickHogarth-MVP answered Ramesh88 commented

You can also install a script to get more information to determine what actually failed. See https://oofhours.com/2020/07/12/windows-autopilot-diagnostics-digging-deeper/

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks Nick, will looking to implementing this

0 Votes 0 ·
JamieSabbatella avatar image
0 Votes"
JamieSabbatella answered Ramesh88 commented

Hi @Ramesh88,

You will need to delete the device in Intune before starting Autopilot again. (not from Autopilot)

Try looking at the logs c:\programdata\Microsoft\IntuneManagementExtension\Logs\IntuneManagementExtension.log - You can view this pressing shift + F10 during Autopilot. This will show most errors etc.

Thanks,

Jamie

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

These are the error i see in the log file

Failed to get AAD token. len = 34 using client id xxxxxxxxxxxxxxxxxxxxxxx and resource id xxxxxxxxxxxxxxxxxx, errorCode = 3399548929

AAD User check is failed, exception is Intune Management Extension Error.

Failed to get AAD token. len = 34 using client id xxxxxxxxxxxxxxxxx and resource id xxxxxxxxxxxxxxxxxxx, errorCode = 3399548929

AAD User check is failed, exception is Intune Management Extension Error.

0 Votes 0 ·