When the port details are changed on the server, all the enrolled mobile devices get unmanaged. You must re-enroll all the devices...