Azure Search Service API version clarity

siddharth bansal 326 Reputation points
2023-06-23T11:39:54.6066667+00:00

I am using Azure Search service and my index is having api version as 2021-04-30-preview , but as per the docs(https://video2.skills-academy.com/en-us/rest/api/searchmanagement/management-api-versions), 2022-09-01 is latest stable, but i dont see that in my dropdown Untitled

How to update the index with latest stable version ?
and is it recommended to use api-version - 2021-04-30-preview in production ?

also i followed the tutorial to get list of admin keys(https://video2.skills-academy.com/en-us/rest/api/searchmanagement/2022-09-01/admin-keys/get?tabs=HTTP),but the api version mentioned in the tutorial doesnt match with the one my index is using , will it be an issue to get keys?
kindly suggest

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.
994 questions
{count} votes

Accepted answer
  1. SnehaAgrawal-MSFT 21,506 Reputation points
    2023-06-27T04:13:32.0966667+00:00

    @siddharth bansal Thanks for reaching here! The docs you referenced are about the management plane APIs. This is different from the data plane API versions, which are listed here: API versions of Search REST APIs - Azure Cognitive Search | Microsoft Learn.

    This is the 2021-04-30-Preview you observe in the portal.

    Hope this helps.

    Let us know.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Jose Luis Mantilla G 0 Reputation points
    2024-05-03T18:15:03.2466667+00:00

    Guys, I just want to let you know that I've tested many Azure API versions and the only way to be able to create an index for Azure AI Search was the 2024-03-01-Preview, I'd appreciate someone validates it because the latest stable didnt work showing ...

    {"error":{"code":"","message":"The request is invalid. Details: The property 'stored' does not exist on type 'Microsoft.Azure.Search.V2023_11_01.SchemaField'. Make sure to only use property names that are defined by the type."}}

    I'm afraid of someone removes this preview version in a near future because I have a pipeline that creates and delete a lot of indexes and I depends on the API.

    Thank you so much

    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.