Share via

Thread Vector Store Lifecycle

Meenakshi Kathiresan 110 Reputation points
2026-01-03T01:32:37.81+00:00

I understand that in AI Foundry, conversations and their associated vector stores expire after 7 days of inactivity. What exactly happens when a VS expires? Does it still occupy memory or storage after expiration, and when is it fully cleaned up from the system?

Azure OpenAI in Foundry Models

Answer accepted by question author

Anonymous
2026-01-05T01:16:27.7766667+00:00

Hi Meenakshi Kathiresan

Welcome to Microsoft Q&A and Thank you for reaching out.

Thread‑attached vector stores in Azure AI Foundry follow a default expiration policy of 7 days after last activity (meaning the last time the vector store participated in a run). Once this expiration point is reached, the vector store enters an expired state, and any runs on that thread will fail because the store is no longer considered active. [How to use...soft Learn | Learn.Microsoft.com]

When a vector store expires, it is not automatically deleted. The object simply transitions to an expired status (a documented lifecycle state), but all stored chunks, embeddings, and associated file data continue to occupy storage. Expiration only disables functional use; it does not free disk or memory by itself. [Vector Sto...soft Learn | Learn.Microsoft.com], [How to use...soft Learn | Learn.Microsoft.com]

Cleanup does not happen automatically at the 7‑day expiration mark. Vector stores remain in the system still visible in the portal and still occupying storage until you or your system explicitly deletes them using the vector‑store delete operation. There is no guaranteed time‑based auto‑purge documented for expired vector stores. Manual deletion is the only reliable cleanup mechanism.

If a vector store expires and thread runs begin failing, the only fix is to:

  1. Create a new vector store,
  2. Re‑upload the same files, and
  3. Reattach the new store to the thread. This reactivates the file search tool and restores run functionality. [How to use...soft Learn | Learn.Microsoft.com]

Note:Expiration happens automatically after 7 days of inactivity.

  1. Expired vector stores remain stored and consume space until manually removed.
  2. They are not cleaned up by the system automatically.
  3. Expired stores cause run failures but do not disappear on their own.

I Hope this helps. Do let me know if you have any further queries.

Thank you!

Was this answer helpful?

1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. AI answer

    2026-01-03T01:32:43.6633333+00:00

    When a vector store (VS) expires in AI Foundry after 7 days of inactivity, the runs associated with that vector store will fail. However, the expired vector store does not get immediately cleaned up from the system. It continues to occupy memory or storage until it is explicitly deleted or cleaned up by the system. To restore functionality, you would need to recreate a new vector store with the same files and reattach it to the conversation or thread.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer 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.