MDM registration error values

Header: mdmregistration.h

The following error values are with MDM registration.

SymbolicCodeDescription
E_DATATYPE_MISMATCH0x8007065dThe datatype does not match the expected datatype.
MREGISTER_E_DEVICE_MESSAGE_FORMAT_ERROR0x80190001Invalid Schema, Message Format Error from server.
MENROLL_E_DEVICE_MESSAGE_FORMAT_ERROR0x80180001Invalid Schema , Message Format Error from server. **Windows 8.1:** This constant is not available before Windows 10.
MREGISTER_E_DEVICE_AUTHENTICATION_ERROR0x80190002Server failed to authenticate the user.
MENROLL_E_DEVICE_AUTHENTICATION_ERROR0x80180002Server failed to authenticate the user. **Windows 8.1:** This constant is not available before Windows 10.
MREGISTER_E_DEVICE_AUTHORIZATION_ERROR0x80190003The user is not authorized to enroll.
MENROLL_E_DEVICE_AUTHORIZATION_ERROR0x80180003The user is not authorized to enroll. **Windows 8.1:** This constant is not available before Windows 10.
MREGISTER_E_DEVICE_CERTIFCATEREQUEST_ERROR0x80190004The user has no permission for the certificate template or the certificate authority is unreachable.
MENROLL_E_DEVICE_CERTIFCATEREQUEST_ERROR0x80180004The 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_ERROR0x80190005There was a failure at the management server, such as a database access error.
MENROLL_E_DEVICE_CONFIGMGRSERVER_ERROR0x80180005There 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_ERROR0x80190006There was an unhandled exception on the server.
MENROLL_E_DEVICE_INTERNALSERVICE_ERROR0x80180006There was an unhandled exception on the server. **Windows 8.1:** This constant is not available before Windows 10.
MREGISTER_E_DEVICE_INVALIDSECURITY_ERROR0x80190007There was an unhandled exception on the server.
MENROLL_E_DEVICE_INVALIDSECURITY_ERROR0x80180007There was an unhandled exception on the server. **Windows 8.1:** This constant is not available before Windows 10.
MREGISTER_E_DEVICE_UNKNOWN_ERROR0x80190008Unknown server error.
MENROLL_E_DEVICE_UNKNOWN_ERROR0x80180008Unknown server error. **Windows 8.1:** This constant is not available before Windows 10.
MREGISTER_E_REGISTRATION_IN_PROGRESS0x80190009Another enrollment operation is currently underway.
MENROLL_E_ENROLLMENT_IN_PROGRESS0x80180009Another enrollment operation is currently underway. **Windows 8.1:** This constant is not available before Windows 10.
MREGISTER_E_DEVICE_ALREADY_REGISTERED0x8019000ANo longer used. **Windows 8.1:** The device is already enrolled.
MENROLL_E_DEVICE_ALREADY_ENROLLED0x8018000AThe device is already enrolled. **Windows 8.1:** This constant is not available before Windows 10.
MREGISTER_E_DEVICE_NOT_REGISTERED0x8019000BNo longer used. **Windows 8.1:** The device is not enrolled.
MENROLL_E_DEVICE_NOT_ENROLLED0x8018000BThe device is not enrolled. **Windows 8.1:** This constant is not available before Windows 10.
MREGISTER_E_DISCOVERY_REDIRECTED0x8019000CNo longer used. **Windows 8.1:** Redirection is needed.
MREGISTER_E_DEVICE_NOT_AD_REGISTERED_ERROR0x8019000DNo longer used. **Windows 8.1:** The device is not registered with Active Directory.
MENROLL_E_DISCOVERY_SEC_CERT_DATE_INVALID0x8018000DDuring discovery the sec cert date was invalid. **Windows 8.1:** This constant is not available before Windows 10.
MREGISTER_E_DISCOVERY_FAILED0x8019000ENo longer used. **Windows 8.1:** Discovery failed; redirection is needed.
MENROLL_E_PASSWORD_NEEDED0x8018000EA password is needed, but was not supplied. **Windows 8.1:** This constant is not available before Windows 10.
MENROLL_E_WAB_ERROR0x8018000FAn error occurred during WAB enrollment. **Windows 8.1:** This constant is not available before Windows 10.
MENROLL_E_CONNECTIVITY0x80180010A network error occurred, such as DNS or a network timeout. **Windows 8.1:** This constant is not available before Windows 10.
MENROLL_S_ENROLLMENT_SUSPENDED0x00180011Enrollment was suspended. No longer supported. **Windows 8.1:** This constant is not available before Windows 10.
MENROLL_E_INVALIDSSLCERT0x80180012The SSL cert was not valid. **Windows 8.1:** This constant is not available before Windows 10.
MENROLL_E_DEVICECAPREACHED0x80180013The 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_DEVICENOTSUPPORTED0x80180014A 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_NOTSUPPORTED0x80180015Mobile 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_NOTELIGIBLETORENEW0x80180016The 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_INMAINTENANCE0x80180017Account 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_USERLICENSE0x80180018The 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_ENROLLMENTDATAINVALID0x80180019The 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_INSECUREREDIRECT0x8018001AThe 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_STATE0x8018001BAn 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_ERROR0x8018001CThe 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_ERROR0x8018001DAn unknown error occurred on the client. **Windows 8.1:** This constant is not available before Windows 10.
MENROLL_E_PROV_CSP_CERTSTORE0x8018001EProvisioning failed in the certificate store CSP. **Windows 8.1:** This constant is not available before Windows 10.
MENROLL_E_PROV_CSP_W70x8018001FProvisioning failed in a W7/DMAcc CPP. **Windows 8.1:** This constant is not available before Windows 10.
MENROLL_E_PROV_CSP_DMCLIENT0x80180020Provisioning failed in a DM client CSP. **Windows 8.1:** This constant is not available before Windows 10.
MENROLL_E_PROV_CSP_PFW0x80180021Provisioning failed in a Passport for Work CSP. **Windows 8.1:** This constant is not available before Windows 10.
MENROLL_E_PROV_CSP_MISC0x80180022Provisioning failed in a CSP not listed above. **Windows 8.1:** This constant is not available before Windows 10.
MENROLL_E_PROV_UNKNOWN0x80180023Provisioning failed, but a specific CSP is not indicated. **Windows 8.1:** This constant is not available before Windows 10.
MENROLL_E_PROV_SSLCERTNOTFOUND0x80180024When 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_APPMGMT0x80180025Provisioning failed in the EnterpriseAppManagement CSP. > [!Note] > This constant is not available before Windows 10, version 1709.
MENROLL_E_DEVICE_MANAGEMENT_BLOCKED0x80180026Mobile 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_FAILED0x80180027Failed to create the private key. > [!Note] > This constant is not available before Windows 10, version 1709.
MENROLL_E_CERTAUTH_FAILED_TO_FIND_CERT0x80180028Certificate Authentication was requested, but failed find a certificate to use. > [!Note] > This constant is not available before Windows 10, version 1709.
MENROLL_E_EMPTY_MESSAGE0x80180029The server responded with HTTP 200, but the message was empty. > [!Note] > This constant is not available before Windows 10, version 1709.
MENROLL_E_USER_CANCELED0x80180030The user canceled the operation. > [!Note] > This constant is not available before Windows 10, version 1709.
MENROLL_E_MDM_NOT_CONFIGURED0x80180031Mobile 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.