How can I delete the failed indexes created in Azure AI project?

MK 60 Reputation points
2024-09-26T19:25:23.3766667+00:00

I'm unable to create new indexes in my project. I got this error message for the second index.

Need help to delete the unused indexes as there is no delete button.

[2024-08-19 11:07:04] ERROR    azureml.rag.update_acs - Failed to create search index: () An index with the name '<indexname>' in service '<servicename>' could not be created. Index quota has been exceeded for this service. You must either delete unused indexes first, add a delay between index creation requests, or upgrade the service for higher limits. Maximum number of indexes allowed: 3
Code: 
Message: An index with the name '<indexname>' in service '<servicename>' could not be created. Index quota has been exceeded for this service. You must either delete unused indexes first, add a delay between index creation requests, or upgrade the service for higher limits. Maximum number of indexes allowed: 3 (update_acs.py:266)
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.
1,027 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,866 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sina Salam 11,206 Reputation points
    2024-09-26T23:40:54.7966667+00:00

    Hello MK,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you would like to delete the failed indexes created in Azure AI project.

    If you can see the indexes in both AI studio and Azure portal, you can use the Azure Portal or the Azure Cognitive Search REST API.

    1. You can use tools like Postman or cURL to send the DELETE request using CURL:
         curl -X DELETE "https://<service name>.search.windows.net/indexes/<index name>?api-version=<api-version>" -H "Content-Type: application/json" -H "api-key: <admin key>"
      
    2. Prepare the API Request TO USE Azure Cognitive Search REST API: Endpoint: https://<service name>.search.windows.net/indexes/<index name>?api-version=<api-version> Method: DELETE Headers:
       - `Content-Type: application/json`
      
       - `api-key: <admin key>`
      
    3. Go to the Azure Portal and select your Azure AI Search resource - https://learn.microsoft.com/en-us/answers/questions/2006083/azure-ai-studio-how-to-delete-a-failed-vector-inde
    4. Or follow a similar thread from this community to achieve the purpose: https://learn.microsoft.com/en-us/answers/questions/1640538/how-to-delete-indexes-in-azure-ai-studio-preview

    I hope this is helpful! Do not hesitate to let me know if you have any other questions.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.


1 additional answer

Sort by: Most helpful
  1. brtrach-MSFT 16,431 Reputation points Microsoft Employee
    2024-09-26T23:24:38.8733333+00:00

    @MK Currently, there is no method to delete indexes in Azure AI Studio.

    However, here are a few steps you can take to manage this situation:

    1. Filter and Manage Indexes:
      • Use the filter option on the index page to manage the display of indexes. This won’t delete the failed indexes but can help you focus on the active ones.
    2. Upgrade Your Service:
      • Consider upgrading your Azure AI Search service to a higher tier that allows more indexes. This can be a temporary workaround until you can manage the failed indexes.

    If you require further assistance, please reply here so we can help.

    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.