Automated enrollment profile
For automated enrollment to take place, you must provide a configuration profile that contains Wi-Fi information and, if necessary, any associated certificates. With this profile, the device can look for a network you specified so it can contact Apple and your mobile device management (MDM) solution.
To create a configuration profile with Wi-Fi and Certificates payloads, see Create and edit configuration profiles, and see Certificate settings and Wi-Fi settings in Apple Platform Deployment.