Context
Important note: all resource names used in my question are examples
I am moving api management service "apimA" from tenant A, subscription A to tenant B subscription B.
apimA has been deleted several months ago (july this year), I am now trying to create the api management service with the same name (apimA) in subscription B.
Issue
When trying to create the api management service with name apimA I get the following error: Specified service name is already in use
What I have checked
- I have tried to check the soft-deleted status of apimA in subscription A, I could not recover it which suggests its "hard" deleted
- I ran the az storage account check-name command on tenant A and tenant B, the name apimA is available for use on tenant A, the name is not available for use in tenant B. This suggests the name is still reserved for tenant A and nobody else is using it.
- I deleted subscription A since I do not use it anymore, I also hoped it would clear any leftover soft-deleted resources from this subscription
- Unfortunately this meant that when I found this API: https://learn.microsoft.com/en-us/rest/api/apimanagement/deleted-services/purge?view=rest-apimanagement-2024-05-01&tabs=HTTP I can not try this anymore without subscription A
The api management name appears to stay reserved for tenant A despite the resources being deleted and the retention period having passed.
Question
Why is the name still locked to tenant A and how do I unlock it?
- Is it possible that the api management is stuck in a pending deletion state?
- Is there some other proces in azure that prevents the name from being released?
- Can this resource somehow be purged so that the name becomes available again?
Thanks in advance!