In rare instances when using Automated Device Enrolment, a macOS device may display the following error:
"An error occurred while obtaining automatic configuration settings."
To resolve this issue, please ensure you follow this document from Apple to reset the PRAM before attempting the enrolment again: https://support.apple.com/en-gu/HT201255
If you require further assistance, please contact our support team.