Profile Installation Failed. A connection to the server could not be established.
During enrollment of Apple Devices for InTune, we have run into a Profile Installation Failed error message:
An unexpected error has occurred with “iPhone”.
Profile Installation Failed
A connection to the server could not be established. [MCInstallationErrorDomain – 0xFA1 (4001)]
The error appeared when I have tried to add an expired profile onto the Apple device using Apple Configurator 2. This is because downloaded profiles are valid for only 14 days.
In order to download a new profile navigate to portal.azure.com and click on Microsoft Intune | Device Enrollment | Apple enrollment | Apple Configurator
Select the wanted profile and Click on the Export profile button. Once downloaded try to add the profile again. Have in mind that you will not need to prepare this device again.