Share via

API Management instance stuck in transitioning mode

Andreas Rehmann 20 Reputation points
2024-10-01T22:16:37.07+00:00

I created an Azure API Management instance (Standard v2) via Terraform. During terraform apply the instance should have been destroyed and recreated. It seems like this has gone wrong. Further terraform apply lead to status 409 Conflict. The service already exists.

Status right now is: I can not create an API Management instance with the name I used previously - but I need to. When I check the Portal, I don't see this particular resource. When I check for deleted resources via API it shows an API Management instance with the name with a suffix.

When I try to purge this resource (via API), it says: "Service locked. The API Service XXX is transitioning at this time. Please try the request again later."

What can I do to unlock this? I already waited 1,5 h to see, if it unlocks somewhen. This did not happen.

If someone working for Microsoft is able to check: Name of the resource is pk-apimgmt-echt

Thanks in advance.

Azure API Management
Azure API Management

An Azure service that provides a hybrid, multi-cloud management platform for APIs.


Answer accepted by question author
  1. JananiRamesh-MSFT 29,446 Reputation points Moderator
    2024-10-03T13:56:29.1166667+00:00

    @Andreas Rehmann Thanks for your patience! I had initiated a request from backend to clean up the resource and it's successful now. Please try to recreate the service with the same name and that should be successful.

    do let me know incase of further queries, I would be happy to assist you.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.