API Management instance stuck in transitioning mode

Andreas Rehmann 0 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.
2,111 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JananiRamesh-MSFT 27,021 Reputation points
    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.

    0 comments No comments

Your answer

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