Symptoms

The following error can be seen upon placing a Sales order for a new Azure NCE subscription:

Service Creation Failed: Platform service was not created. Task "Provisioning "AzureSubscription" for APS application Azure Cloud Solution Provider NCE(https://xxx.xx.xx.xxx:11443/aps/)" (id = xxxxxxx) is failed with error: "'400 Bad Request' received from 'POST https://xxx.xx.xx.xxx:11443/aps/subscriptions': An order provisioning has failed: 'null' cannot be processed. "

Following errors can be found in Azure log one after another:

2020-12-08 09:24:38,552 ERROR [com.odin.azure.server.DefaultExceptionHandler] (APS_task:xxxxxxx:166671_93432 https-jsse-nio-xxx.xx.xx.xxx-11443-exec-39) <APS-APP> Error
com.odin.azure.model.exceptions.CreateCartErrorException: An order provisioning has failed: 'null' cannot be processed.

and

2020-12-08 09:24:38,553 ERROR [com.odin.azure.server.DefaultExceptionHandler] (APS_task:xxxxxxx:166671_93432 https-jsse-nio-xxx.xx.xx.xxx-11443-exec-39) <APS-APP> Error details: The line items cannot be processed while a cart creating:
[{"billingCycle":"monthly","catalogItemId":"DZH318Z0BPS6:0001:DZH318Z0BMP8","error":{"attributes":{"objectType":"CartError"},"errorDescription":"Azure plan purchase is not allowed. Use transition workflow."},"id":0,"participants":[{"key":"transaction_reseller","value":"2241384"}],"provisioningContext":{},"quantity":1}]
2020-12-08 09:24:38,554 INFO [org.zalando.logbook.DefaultHttpLogWriter] (APS_task:xxxxxxx:166671_93432 https-jsse-nio-xxx.xx.xx.xxx-11443-exec-39) <SERVER> Incoming Response (ce037fc5cf282b10) POST https://xxx.xx.xx.xxx:11443/aps/subscriptions HTTP/1.1 400 BAD_REQUEST 00:00:10.956


Cause

Error 'Azure plan purchase is not allowed. Use transition workflow' from the aforementioned log fragment means that customer already has existing Azure CSP subscription.


Resolution

Existing subscription should be transitioned to Azure NCE. It is not possible to purchase Azure NCE if there is an existing Azure CSP subscription.


Internal

Internal link