Receive error: Profile Failed to Install. The profile Config Payload could not be installed. This occurs when trying to provision an iOS device.
or Enrollment failed message received on the iOS devices when attempting to enroll iOS devices.
Below errors were logged in iPCU log.
Warning>: connection:didReceiveResponse: http 405
Warning>: HomeViewController enrollmentRecordRequiredDataPutEndedWith  and http:405
The Windows Server 2008 Web Server WebDAV Publishing (Web-Distribution Authoring Versioning) Role Service is installed on the iOS Provisioning Server, the Relay Server or both.
The following errors will be displayed in the Apple iPhone Configuration Utility via USB device connection when trying to provision the device:
Desc: A transaction with the server at http://<address>/aips2/aipService.svc/TokenCheckin has failed with the status 405. US
Desc: A transaction with the server at http://<address>/aips2/aipService.svc/TokenCheckin has failed with the status 405.
Code: 23001 Type: MCFatalError Params : ( http://<address>/aips2/aipService.svc/TokenCheckin , 405)
To determine if the WebDAV Publishing Role Server is installed, do the following:
Open Server Manager on the Provisioning Server.
In the Roles window, select the Web Server (IIS) Role in the Roles Summary section.
Scroll down to the Role Services section.
Under the Web Server branch, verify that WebDAV Publishing is installed.
Select the Remove Role Services link and uninstall the WebDAV Publishing role service.