Provisioning 'AsyncOperations' task fails with the following output:
Last execution output Operation pending. Provisioning: resource 3dc35c31-xxxx-xxxx-xxxx-d7a35d421b11 of type 'asyncOperations' (http://www.parallels.com/Office365/AsyncOperation/1.0) for APS application 'Office 365-16.5-64': Provisioning is being executed by the application. Additional info: Configuring subscriptions is in progress. Waiting for the completion of the BA Order #219434.
O365 Endpoint sitelog contains the following entries:
2018-06-28 16:55:52,161 [ 140] INFO PBA : Open API method 'GetOrder_API' called. 2018-06-28 16:55:52,169 [ 140] INFO aps_endpoint: Check ChangePlan order #22321817... 2018-06-28 16:55:52,169 [ 140] INFO aps_endpoint: ChangePlan order #22321817 isn't yet completed. Waiting for the resource limits propagation. 2018-06-28 16:55:52,170 [ 140] INFO aps_endpoint: BM order cannot be completed yet. 2018-06-28 16:55:52,170 [ 140] INFO aps_endpoint: Subscription provisioning is in progress: BM order cannot be completed yet.
The current order completion status is not specified as valid in the Office365 Endpoint configurations file.
- Check the corresponding order current status in Order Status History. E.g. it could be 'CP' (Completed).
C:\inetpub\wwwroot\<Office 365 Gateway Application Name>\settings.configfile.
Alter the line to include the target order status:
<add key="ORDER_COMPLETION_STATUSES" value="PC,PT,WZ,WI"/>
<add key="ORDER_COMPLETION_STATUSES" value="PC,PT,WZ,WI,CP"/>
- Recycle the Office 365 website application pool in IIS.