Symptoms
After upgrade of the Office 365 APS package to version 16.8.3 or higher, the task Provisioning "Subscription" for APS application Office 365 cannot complete for a long time. The task output contains the following message:
Operation pending. Provisioning is being executed by the application.
Additional info: Waiting for Account creation
As a result sales order stucks in Long Running Operation status.
Cause
Since Office 365 16.8.3 new customization of subdomain forms was introduced for both Billing panel and online store. The subdomain field of the tenant APS resource was renamed from subdomain
to initial_subdomain
. However, during upgrade new customization was not applied, or older customization files were not removed. As a result, when placing new order, incorrect subdomain field is passed to OA:
{"aps":{"type":"http://www.parallels.com/Office365/Tenant/1.2"},"subdomain":"my365domain", "bind_to_domain": ""}
while newer version is expected:
{"aps":{"type":"http://www.parallels.com/Office365/Tenant/1.6"},"initial_subdomain":"my365domain", "bind_to_domain": "", "ms_account_id": ""}
This incorrect value can be observed at Billing > Operations > Orders > click the order > Provisioning Items, click the item. Under Service Info, next to the text Office 365 Subdomain the aforementioned parameter can be found.
Resolution
For orders placed from Billing panel: make sure all old customization files are deleted from the Billing node:
- Log on to the OA Billing Application Server (OABLINFE) as root.
- Go to the
/usr/local/bm/customization
directory and remove theBM_ProvisioningParams.xml
file (if it exists) - Make sure the directory
/usr/local/bm/conf/html/o365
does not contain backup copies of thescript.js
file.
For orders placed from online stores: make sure old store customization is removed (should be done for every store):
- Go to Products > Online Store and select your online store for editing.
- Go to Products > Online Store and select the Design tab.
- Click the Edit button.
- Remove all the custom CSS of the
Office 365
andAzure CSP
applications. - Click the Save button.
- Go to Products > Online Store and select the Layout Templates tab.
- Remove the
resourcegate
layout template (if it exists). - Remove the
o365_provision
layout template (if it exists). - If the
provision
layout template exists, click on its name and then click the Reset to Default button.
- Apply new customization as described in the article KB129556