MDM registration error values
Header: mdmregistration.h
The following error values are with MDM registration.
| Symbolic | Code | Description |
|---|---|---|
| E_DATATYPE_MISMATCH | 0x8007065d | The datatype does not match the expected datatype. |
| MREGISTER_E_DEVICE_MESSAGE_FORMAT_ERROR | 0x80190001 | Invalid Schema, Message Format Error from server. |
| MENROLL_E_DEVICE_MESSAGE_FORMAT_ERROR | 0x80180001 | Invalid Schema , Message Format Error from server. **Windows 8.1:** This constant is not available before Windows 10. |
| MREGISTER_E_DEVICE_AUTHENTICATION_ERROR | 0x80190002 | Server failed to authenticate the user. |
| MENROLL_E_DEVICE_AUTHENTICATION_ERROR | 0x80180002 | Server failed to authenticate the user. **Windows 8.1:** This constant is not available before Windows 10. |
| MREGISTER_E_DEVICE_AUTHORIZATION_ERROR | 0x80190003 | The user is not authorized to enroll. |
| MENROLL_E_DEVICE_AUTHORIZATION_ERROR | 0x80180003 | The user is not authorized to enroll. **Windows 8.1:** This constant is not available before Windows 10. |
| MREGISTER_E_DEVICE_CERTIFCATEREQUEST_ERROR | 0x80190004 | The user has no permission for the certificate template or the certificate authority is unreachable. |
| MENROLL_E_DEVICE_CERTIFCATEREQUEST_ERROR | 0x80180004 | The user has no permission for the certificate template or the certificate authority is unreachable. **Windows 8.1:** This constant is not available before Windows 10. |
| MREGISTER_E_DEVICE_CONFIGMGRSERVER_ERROR | 0x80190005 | There was a failure at the management server, such as a database access error. |
| MENROLL_E_DEVICE_CONFIGMGRSERVER_ERROR | 0x80180005 | There was a failure at the management server, such as a database access error. **Windows 8.1:** This constant is not available before Windows 10. |
| MREGISTER_E_DEVICE_INTERNALSERVICE_ERROR | 0x80190006 | There was an unhandled exception on the server. |
| MENROLL_E_DEVICE_INTERNALSERVICE_ERROR | 0x80180006 | There was an unhandled exception on the server. **Windows 8.1:** This constant is not available before Windows 10. |
| MREGISTER_E_DEVICE_INVALIDSECURITY_ERROR | 0x80190007 | There was an unhandled exception on the server. |
| MENROLL_E_DEVICE_INVALIDSECURITY_ERROR | 0x80180007 | There was an unhandled exception on the server. **Windows 8.1:** This constant is not available before Windows 10. |
| MREGISTER_E_DEVICE_UNKNOWN_ERROR | 0x80190008 | Unknown server error. |
| MENROLL_E_DEVICE_UNKNOWN_ERROR | 0x80180008 | Unknown server error. **Windows 8.1:** This constant is not available before Windows 10. |
| MREGISTER_E_REGISTRATION_IN_PROGRESS | 0x80190009 | Another enrollment operation is currently underway. |
| MENROLL_E_ENROLLMENT_IN_PROGRESS | 0x80180009 | Another enrollment operation is currently underway. **Windows 8.1:** This constant is not available before Windows 10. |
| MREGISTER_E_DEVICE_ALREADY_REGISTERED | 0x8019000A | No longer used. **Windows 8.1:** The device is already enrolled. |
| MENROLL_E_DEVICE_ALREADY_ENROLLED | 0x8018000A | The device is already enrolled. **Windows 8.1:** This constant is not available before Windows 10. |
| MREGISTER_E_DEVICE_NOT_REGISTERED | 0x8019000B | No longer used. **Windows 8.1:** The device is not enrolled. |
| MENROLL_E_DEVICE_NOT_ENROLLED | 0x8018000B | The device is not enrolled. **Windows 8.1:** This constant is not available before Windows 10. |
| MREGISTER_E_DISCOVERY_REDIRECTED | 0x8019000C | No longer used. **Windows 8.1:** Redirection is needed. |
| MREGISTER_E_DEVICE_NOT_AD_REGISTERED_ERROR | 0x8019000D | No longer used. **Windows 8.1:** The device is not registered with Active Directory. |
| MENROLL_E_DISCOVERY_SEC_CERT_DATE_INVALID | 0x8018000D | During discovery the sec cert date was invalid. **Windows 8.1:** This constant is not available before Windows 10. |
| MREGISTER_E_DISCOVERY_FAILED | 0x8019000E | No longer used. **Windows 8.1:** Discovery failed; redirection is needed. |
| MENROLL_E_PASSWORD_NEEDED | 0x8018000E | A password is needed, but was not supplied. **Windows 8.1:** This constant is not available before Windows 10. |
| MENROLL_E_WAB_ERROR | 0x8018000F | An error occurred during WAB enrollment. **Windows 8.1:** This constant is not available before Windows 10. |
| MENROLL_E_CONNECTIVITY | 0x80180010 | A network error occurred, such as DNS or a network timeout. **Windows 8.1:** This constant is not available before Windows 10. |
| MENROLL_S_ENROLLMENT_SUSPENDED | 0x00180011 | Enrollment was suspended. No longer supported. **Windows 8.1:** This constant is not available before Windows 10. |
| MENROLL_E_INVALIDSSLCERT | 0x80180012 | The SSL cert was not valid. **Windows 8.1:** This constant is not available before Windows 10. |
| MENROLL_E_DEVICECAPREACHED | 0x80180013 | The user has already enrolled too many devices. Delete or unenroll old ones to fix this error. Note that the user can resolve this error without admin assistance. **Windows 8.1:** This constant is not available before Windows 10. |
| MENROLL_E_DEVICENOTSUPPORTED | 0x80180014 | A specific platform (e.g. Windows) or version is not supported. The general fix for this error is to upgrade the device. **Windows 8.1:** This constant is not available before Windows 10. |
| MENROLL_E_NOTSUPPORTED | 0x80180015 | Mobile device management is generally not supported for this device - the user may call the admin, but will be unlikely to resolve this issue. **Windows 8.1:** This constant is not available before Windows 10. |
| MREGISTER_E_NOTELIGIBLETORENEW | 0x80180016 | The device is attempting to renew, but the server rejected the request. Check time on device. The user may be able to resolve this error by re-enrolling. **Windows 8.1:** This constant is not available before Windows 10. |
| MENROLL_E_INMAINTENANCE | 0x80180017 | Account is in maintenance; retry later. The user can retry later. However, the user may choose to call the admin to determine the maintenance schedule. **Windows 8.1:** This constant is not available before Windows 10. |
| MENROLL_E_USERLICENSE | 0x80180018 | The license of user is in bad state blocking enrollment; the user will need to call the admin. **Windows 8.1:** This constant is not available before Windows 10. |
| MENROLL_E_ENROLLMENTDATAINVALID | 0x80180019 | The server rejected the Enrollment Data; the server may not be configured correctly. **Windows 8.1:** This constant is not available before Windows 10. |
| MENROLL_E_INSECUREREDIRECT | 0x8018001A | The server requested HTTP rather than HTTPS but it was not accepted. **Windows 8.1:** This constant is not available before Windows 10. |
| MENROLL_E_PLATFORM_WRONG_STATE | 0x8018001B | An invalid operation was attempted, such trying to enroll the same device twice or unenroll an unknown device. **Windows 8.1:** This constant is not available before Windows 10. |
| MENROLL_E_PLATFORM_LICENSE_ERROR | 0x8018001C | The version of Windows installed on the client does not support this enrollment type. **Windows 8.1:** This constant is not available before Windows 10. |
| MENROLL_E_PLATFORM_UNKNOWN_ERROR | 0x8018001D | An unknown error occurred on the client. **Windows 8.1:** This constant is not available before Windows 10. |
| MENROLL_E_PROV_CSP_CERTSTORE | 0x8018001E | Provisioning failed in the certificate store CSP. **Windows 8.1:** This constant is not available before Windows 10. |
| MENROLL_E_PROV_CSP_W7 | 0x8018001F | Provisioning failed in a W7/DMAcc CPP. **Windows 8.1:** This constant is not available before Windows 10. |
| MENROLL_E_PROV_CSP_DMCLIENT | 0x80180020 | Provisioning failed in a DM client CSP. **Windows 8.1:** This constant is not available before Windows 10. |
| MENROLL_E_PROV_CSP_PFW | 0x80180021 | Provisioning failed in a Passport for Work CSP. **Windows 8.1:** This constant is not available before Windows 10. |
| MENROLL_E_PROV_CSP_MISC | 0x80180022 | Provisioning failed in a CSP not listed above. **Windows 8.1:** This constant is not available before Windows 10. |
| MENROLL_E_PROV_UNKNOWN | 0x80180023 | Provisioning failed, but a specific CSP is not indicated. **Windows 8.1:** This constant is not available before Windows 10. |
| MENROLL_E_PROV_SSLCERTNOTFOUND | 0x80180024 | When attempting to bind the public cert/private key, the public cert was not found either: when attempting to bind the public cert/private key, or when looking into provisioning payload (perhaps targeting the wrong store). **Windows 8.1:** This constant is not available before Windows 10. |
| MENROLL_E_PROV_CSP_APPMGMT | 0x80180025 | Provisioning failed in the EnterpriseAppManagement CSP. > [!Note] > This constant is not available before Windows 10, version 1709. |
| MENROLL_E_DEVICE_MANAGEMENT_BLOCKED | 0x80180026 | Mobile Device Management (MDM) was blocked, possibly by Group Policy or the [**SetManagedExternally**](/windows/desktop/api/MDMRegistration/nf-mdmregistration-setmanagedexternally) function. > [!Note] > This constant is not available before Windows 10, version 1709. |
| MENROLL_E_CERTPOLICY_PRIVATEKEYCREATION_FAILED | 0x80180027 | Failed to create the private key. > [!Note] > This constant is not available before Windows 10, version 1709. |
| MENROLL_E_CERTAUTH_FAILED_TO_FIND_CERT | 0x80180028 | Certificate Authentication was requested, but failed find a certificate to use. > [!Note] > This constant is not available before Windows 10, version 1709. |
| MENROLL_E_EMPTY_MESSAGE | 0x80180029 | The server responded with HTTP 200, but the message was empty. > [!Note] > This constant is not available before Windows 10, version 1709. |
| MENROLL_E_USER_CANCELED | 0x80180030 | The user canceled the operation. > [!Note] > This constant is not available before Windows 10, version 1709. |
| MENROLL_E_MDM_NOT_CONFIGURED | 0x80180031 | Mobile Device Management (MDM) is not configured. > [!Note] > This constant is not available before Windows 10, version 1709. |
| 57 entries | ||
Article text from the Win32 documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.