Symptoms


Placed Sales Order for Azure NCE fails with following error:

Service Creation Failed: Platform service was not created. Task "Provisioning "AzureSubscription" for APS application Azure Cloud Solution Provider NCE(https://10.0.1.73:11443/aps/)" (id = 68149019) is failed with error: "'500 Internal Server Error' received from 'POST https://10.0.1.73:11443/aps/subscriptions': The remote cloud service returned an unknown error.


In Azure NCE endpoint log we can observe similar error after retrieve subscriptions list information from Microsoft Partner Center:

<API-GATE> Inner error: [com.fasterxml.jackson.databind.exc.InvalidFormatException] Cannot deserialize value of type `com.microsoft.store.partnercenter.models.subscriptions.SubscriptionStatus` from String "disabled": value not one of declared Enum instance names: [none, deleted, suspended, active] at [Source: 

Cause


The issue is on the CB Commerce Azure NCE APS connector. When retrieving subscriptions status it is received an unexpected status that is not one of the expected values included into following list: [none, deleted, suspended, active]. 


Resolution


The development of Azure NCE APS application has stopped and reached EOL as mentioned in https://docs.cloudblue.com/cbc/services/azure/home.htm, it is replaced by NCE Azure Connect connector.

This order can not be completed and must be switched to the new NCE Azure Connect connector.