Search Engine: Elastic

Article ID: 134496, created on Sep 19, 2019, last review on Oct 15, 2019

  • Applies to:
  • Operations Automation


  • Provider uses APS-package Azure CSP version 7.7-33

  • Cancelation/disabling of Azure CSP subscription fails with a specific error in /usr/local/azure/site/log/azure.log on the application End-Point:

    2019-09-18 01:45:39,452 DEBUG [] (azure task-81) <SERVER> Incoming request: PUT
    2019-09-18 01:45:48,591 INFO  [] (azure task-81) The customer's tenant with the commerce ID '75bf9f55-e36d-49cc-a1d2-342d035131c5' is already deleted
    2019-09-18 01:50:41,024 DEBUG [] (azure task-81) <SERVER> Incoming request 'PUT' has been finished: HTTP 500 Internal Server Error
    - headers:
            API-Error-Category: service
            Content-Encoding: UTF-8
            Content-Type: application/json
    - body:
      "error" : "",
      "message" : "Can't find resource with query 'aps/2/resources/?implementing(,limit(54000,1000)', type ''",
      "category" : "service"
  • Corresponding cancelation order typically gets stuck in status Long Running Operation. Failed event "Cancellation Order Placed" can be found in BA tasks list using ID of the subscription for search in field Parameters:


Key points of the scenario:

  • Azure tenant is already disabled in Microsoft
  • Azure APS-application starts to request all APS-resources of type in the system
  • It leads to PAU-transaction aborting due to timeout


Software bug APSA-21493 Unable to disable particular Azure CSP subscription: Can't find resource with query


The bug has been fixed in version 7.7-39 of Azure CSP application. Consider to upgrade your application in order to avoid similar issues.

Workaround for current version:

  1. Find relevant subscription here in PCP:

    PCP > Services > Azure Cloud Solution Provider > Click to the application instance > Customers

  2. Set option Do not suspend in Azure for the subscription:


  3. Resubmit subscription cancelation event:

    Billing > System > Settings > Events > Cancellation Order Placed > Event Log > Search by subscription ID in parameters > Resubmit

Notes: Workaround is suitable since service is already disabled in Microsoft

8fc71f07abe5b233fea1ae0377cd5e3d 5356b422f65bdad1c3e9edca5d74a1ae

Email subscription for changes to this article
Save as PDF