Symptoms

Task "Unprovisioning "Tenant" for APS application Azure Cloud Solution Provider" fails with the following output:

APS Application Error:
500 Internal Server Error
[unknown] Unprovisioning: resource <UUID> of type 'tenants' (http://www.odin.com/app/azure-csp/tenant/2.1) for APS application 'Azure Cloud Solution Provider-4.2-8': An unexpected error has occurred.

In APS Endpoint Application log the same error can be seen:

2017-08-10 12:34:56,848 ERROR [com.odin.azure.server.ErrorsHandler] (azure task-93) <APS-APP> Error: java.lang.IllegalArgumentException: customerId must be set

............

2017-08-10 12:34:56,851 DEBUG [com.odin.azure.server.ServerLogs] (azure task-93) <SERVER> Incoming request 'DELETE https://10.0.0.1:10443/azure/aps/tenants/<UUID>' has been finished: HTTP 500 Internal Server Error
- headers:
        API-Error-Category: unknown
        Content-Encoding: UTF-8
        Content-Type: application/json
- body:
{
  "error" : "unknown",
  "message" : "An unexpected error has occurred.",
  "category" : "unknown"
}
- end

Cause

The tenant and subscription were removed on the Azure Cloud side bypassing Odin Service Automation and Azure CSP application. It cannot be unprovisioned on Operations Automation side due to the removed subscription.

Such behavior was reported to Engineering team as Request #APSA-18793.

Resolution

Contact your Technical Account Manager or Pooled Technical Associate Team (pta@odin.com) in order to trace the current status of #APSA-18793.

Internal content