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

0x80180012MENROLL_E_INVALIDSSLCERT

The SSL certificate presented during enrolment was not valid.

Hex0x80180012
Decimal-2145910766 (unsigned 2149056530)
AreaEnrollment

How to fix it

Check that nothing on the network path is presenting a different certificate for the enrolment endpoints. Check the DeviceManagement-Enterprise-Diagnostics-Provider Admin event log on the device for the failing step and retry the enrolment.

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 "0x80180012" |
    Format-List TimeCreated, Id, Message

Other enrollment errors

Search all 116 codes →