Azure AI Search: Resource in inconsistent state blocking resource group deletion — Need guidance

Ivan RAMUS 0 Reputation points
2026-10-15T12:56:33.51+00:00

Problem description

I am facing an issue with my Azure AI Search service in the Sweden Central region. After a failed creation attempt, the service entered a stuck, inconsistent state where it cannot be read, updated, or deleted. It does not appear in the resource group listing and still blocks the deletion of the resource group.

Environment

Service: Azure AI Search; Region: Sweden Central; SKU: serverless and later redeployment attempt: basic.

What I've already tried

I have attempted multiple retries of creation, updates, and deletions. Specifically, I retried deployment with different SKUs, sent delete requests, and attempted to delete the resource group multiple times. I also confirmed that there are no resource locks affecting the resource or resource group. Additionally, I verified that the resource is not listed in the resource group view, yet Azure still treats it as present and blocks deletion.

Current status

The resource remains in an inconsistent, stuck state, preventing deletion of the resource group. I am seeking guidance on how to resolve this orphaned resource and clear the blocking state to delete the resource group.

Azure AI Search
Azure AI Search

An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Venkatesan S 10,830 Reputation points Microsoft External Staff Moderator
    2026-10-15T13:56:05.9133333+00:00

    Hi @Ivan RAMUS

    Thank you for your patience while we investigated this issue.

    I am pleased to share a positive update regarding the Azure AI Search resource dse-chatbot-srch.   

    We have received confirmation that the backend cleanup of the orphaned resource has been successfully completed.   

    Additionally, Sweden Central is now open for new Azure AI Search service creation, and you should be able to create a new service using the previously affected service name.

    Could you please help us validate the following from your end?

    Resource group deletion: Please check whether you can now successfully delete dse-chatbot-rg without encountering the previous error.

    Service name availability: Please verify whether dse-chatbot-srch is now available for reuse. You do not need to create a replacement service solely for this validation.

    Issue resolution: Please confirm whether the original issue has been resolved or if you are still experiencing any difficulties.   

    If you encounter any errors during validation, please share the error details or screenshots so we can investigate further. 

    Please do not forget to 210246-screenshot-2021-12-10-121802.pngand “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

  2. 2026-10-15T13:04:35.2133333+00:00

    Hi Ivan,

    This is a known issue in Azure Resource Manager (ARM) where a failed provisioning state leaves behind a "ghost" or orphaned resource. Because the resource provisioning never fully completed, the Azure Portal UI hides it, but the ARM backend still registers its existence—which is why it is blocking your Resource Group deletion.

    Since the portal UI, standard deletion attempts, and checking for resource locks have not worked, you will need to bypass the standard UI to clear it. Here are the steps to resolve this:

    1. Force Delete via Azure CLI / Cloud Shell

    Sometimes the CLI can force the deletion of the entire resource group even when the portal gets confused by the stuck state. Open Azure Cloud Shell and run:

    az group delete --name <YourResourceGroupName> --yes --no-wait

    2. Use Azure Resource Explorer

    The Azure Resource Explorer allows you to see the raw ARM backend state and issue direct API calls.

    Go to resources.azure.com and log in.

    In the left tree, navigate to: subscriptions > [Your Subscription] > resourceGroups > [Your Resource Group] > providers > Microsoft.Search > searchServices.

    If you see your stuck AI Search service here, click the Edit button at the top of the screen, and then click Delete.

    3. Open a Support Ticket (Backend Purge)

    If the resource explorer fails with a backend error, the resource is completely locked at the underlying infrastructure level. At this point, only Microsoft Support can purge it.

    Open a support ticket via the Azure Portal. You do not need a paid technical support plan for this—you can route it under Subscription Management (which is always free) and clearly state that an "orphaned ARM resource is blocking resource group deletion." The support team will run a backend script to forcefully clear the stuck state so you can finally delete the resource group.

    Was this answer helpful?

    0 comments No comments

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.