After you try to enroll a device, the device connection status shows that the device enrolled but the device remains in the Pending Enrollments list in MDM Console, and does not appear in the Managed Devices list. It can require the total expiration time of the enrollment password before MDM removes the device from the Pending Enrollments list.
Or, this issue indicates a problem with device connection to MDM Device Management Server. Until the device contacts MDM Device Management Server and becomes a managed device, it remains in the Pending Enrollments list. The device may not contact MDM Device Management Server for the following reasons:
-
Domain Name System (DNS) name resolution fails. To fix DNS issues, create a host file on the device that resolves the IP address and the host name of MDM Device Management Server.
-
A firewall is blocking the TCP port 8443 to MDM Device Management Server. Open this port to enable the device to contact MDM Device Management Server.
-
You must have a persistent route from MDM Gateway Server to the company network through the internal firewall. In addition, you must have another route on the firewall server to the MDM client network through MDM Gateway Server. For example:
-
Gateway route one: To add a route to the company network through the internal firewall, run the following command.
route –p add <corporate subnet> mask 255.255.0.0 <Firewall IP>
-
Firewall route two: To add a route to the MDM client network through MDM Gateway Server, run the following command.
route –p add <Client pool subnet> mask 255.255.0.0 <SCMDM 2008 GW IP>
To verify connectivity to MDM Device Management Server when a device connects to MDM Gateway Server successfully, install the MDM Connect Now Tool on the device. This tool is especially useful to force device-to-Device Management synchronization.
From MDM Device Management Server, at a command prompt, run the netstat -a command. This command retrieves the device name and port number for all active connections, listed by TCP or UDP port number.
For information about MDM Connect Now Tool, see the MDM Resource Kit Tools at this Microsoft Web site: http://go.microsoft.com/fwlink/?LinkId=127030.