What apiVersion should be used to create Microsoft.ApiManagement service/properties resources via ARM templates?

Nicolas Louw 0 Reputation points
2025-02-14T10:46:42.4266667+00:00

The Azure API management portal recommends updating the API management minimum API version to 2019-12-01 or higher.User's image

More detail is provided here: https://learn.microsoft.com/en-us/azure/api-management/breaking-changes/api-version-retirement-sep-2023#required-action

We also recommend setting the Minimum API version in your API Management instance. Update your tools, scripts, and programs

  • ARM, Bicep, or Terraform templates - Update the template to use API version 2021-08-01 or later.

Unfortunately implementing this recommendation breaks our ARM deployment templates for API management as the maximum apiVersion supported for Microsoft.ApiManagement/service/properties appears to be 2019-01-01 as per https://learn.microsoft.com/en-us/azure/templates/microsoft.apimanagement/service/properties?pivots=deployment-language-arm-template#microsoftapimanagementserviceproperties-1

Is there a way to implement the recommendation while still supporting the automated deployment of Microsoft.ApiManagement/service/properties?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,303 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Shireesha Eeraboina 1,720 Reputation points Microsoft Vendor
    2025-02-19T09:37:42.97+00:00

    Hi @Nicolas Louw ,

    Thanks for your patience on this. 

    • Currently the latest api version for "Microsoft.ApiManagement service/properties" is 2019-01-01 as called out in the documentation 
    • Regarding the announcement it is suggested to update the api versions greater than '2021-08-01'  and prior api versions will be retired. As I understand you are trying to create APIM, products, subscription etc., using the ARM or Bicep template currently using the latest '2024-06-01-preview' you can create the below list of resources. 

    User's image

    • In the above list we dont see Services/properties post creating the service via template can you try updating its api version using the powershell or rest api.  Also in the retriment documentation, it is mentioned that if the Minimum api version in portal is grayed out you need to update it via rest api or through cli cmdlets only. 

    User's image


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.