Issue:
Enrollment of Android device fails when submitting enrollment code through MDM app.
reviewing logcat output from the android device reveals
V/DownloadManager? MIME Type = application/camdm-enrollment
I/DownloadManager? Download 11785 finished with status 401
Environment:
Cause:
The MDM app was unable to authenticate to the enrollment server due to incorrect IIS authentication settings
Resolution:
enabled both "Anonymous Authentication" and "Windows Authentication" in IIS authentication settings for the MDM enrollment server.