azureblog.co.uk
← cd ~/intune-errors
// intune-errors · Enrollment

0x801C0002DSREG_E_DEVICE_AUTHENTICATION_ERROR

The device registration service returned an AuthenticationError (with a sub-code other than DeviceNotFound).

Hex0x801C0002
Decimal-2145648638 (unsigned 2149318658)
AreaEnrollment

How to fix it

Check the server error code in the User Device Registration Admin event log for the specific reason.

Find it on the device

Enrolment errors are logged in Event Viewer under Applications and Services Logs › Microsoft › Windows › DeviceManagement-Enterprise-Diagnostics-Provider › Admin:

powershell3 lines
Get-WinEvent -LogName "Microsoft-Windows-DeviceManagement-Enterprise-Diagnostics-Provider/Admin" -MaxEvents 200 |
    Where-Object Message -match "0x801C0002" |
    Format-List TimeCreated, Id, Message

Other enrollment errors

Search all 116 codes →