Symptoms

Order provisioning fails with the below error:

The order provisioning has failed.
The last error - "Service Creation Failed: Parallels Operations Automation error #error_code #0, extype_id #1, module_id #Common, Internal error: APSC: The underlying connection was closed: An unexpected error occurred on a send... Service Creation Failed: Parallels Operations Automation error #error_code #0, extype_id #1, module_id #Common, Internal error: APSC: The underlying connection was closed: An unexpected error occurred on a send...".

In the core.log:

Dec 29 19:06:43.086 : INF [openapi:4298 1:22143:ee58bb70 SAAS 1178412042]: [ HTTP] OUT  o365aeh.example.com  [1727] "POST /Office365GatewayApplication01/aps/tenants HTTP/1.1"  [0] "500 Internal Server Error"  713ms
Dec 29 19:06:43.086 : DBG [openapi:4298 1:22143:ee58bb70 SAAS 1178412042]: [ APSC] [APS::Provision::AppRequest::execute] <=== EXIT [0.713218]
Dec 29 19:06:43.086 : ERR [openapi:4298 1:22143:ee58bb70 SAAS 1178412042]: [ APSC] POST /Office365GatewayApplication01/aps/tenants to 'o365aeh.example.com'
Dec 29 19:06:43.086 : DBG [openapi:4298 1:22143:ee58bb70 SAAS 1178412042]: [ APSC] SSLSessionsPool: save session for o365aeh.example.com:443 [4b480000a0fc399d33bbbec24b7e89341fb84a84c81e8b7ed6d927201e51d579]
Dec 29 19:06:43.086 : DBG [openapi:4298 1:22143:ee58bb70 SAAS 1178412042]: [ APSC] [APS::Provision::ProvideStepHandler::process] <=== EXIT (by exception) [0.724411]

Cause

OA API URL is specified in the Office 365 app instance settings starts with https://.

Resolution

  1. Go to OA > Services > Applications > Office 365 > Instances > instance_name > Office 365 Settings
  2. Edit the Operations Automation OpenAPI URL so it would start with http://
  3. Resubmit the order for provisioning.

Internal content