Symptoms

"Provisioning "AsyncOperation" for APS application Office 365" task fails:

500 Internal Server Error
[ApplicationUnknownError] Provisioning: resource cc343a91-...e6fb57 of type 'asyncOperations'
Unable to connect to the remote server.

sitelog error:

ERROR aps_endpoint: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 192.168.231.47:5224
StackTrace:    at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
...

Cause

Business Automation API is not available for the Office365 Endpoint host.

Resolution

Check connection between Office365 Endpoint host and Business Automation API interface.

Internal content