To enable Apple User Enrollment in MDM, configuring the .well-known directory is essential for Remote Management. This directory contains files required by Apple devices for discovery and enrollment. This guide provides step-by-step instructions for setting up the .well-known folder and configuring a custom MIME type on a Windows IIS server.
In this section, we will create a .well-known directory and a com.apple.remotemanagement file containing MDM server information. This file allows Apple devices to discover and enroll via Apple User Enrollment.
Step 1: Access the Root Directory
Step 2: Create the Directory and File
Step 3: Add a Virtual Directory
Since Windows does not allow directory names starting with ., we will create a virtual directory to map HTTP requests for .well-known to the well-known directory.
Apple devices expect the HTTP response for the com.apple.remotemanagement file to have the Content-Type header set to application/json. To configure this on the IIS server, follow these steps:
Step 1: Add a Custom MIME Type
After completing the above steps, verify the configuration by accessing the following URL in a browser or using a tool like curl:
https://{your-domain}/.well-known/com.apple.remotemanagement
Ensure that:
1. The file is accessible.
2. The Content-Type header in the response is application/json.
For more details, visit our Apple User Enrollment Guide.