How to change API version on a AVD resource (Azure)

Carlos Alberto Pena 0 Reputation points
2025-02-07T13:56:05.78+00:00

We need to change the API-version before March-25 for some AVD resources as a Scaling Plan. I tried to change it using "REST-API" and "az" commands (PowerShell), but the version keep unchangeable.

We tried deleting the resource and creating from scratch, but that didn't work. Some idea ?

User's image

.

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,290 questions
Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,671 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Stanislav Zhelyazkov 25,936 Reputation points MVP
    2025-02-07T14:05:03.0066667+00:00

    Hi,

    It is unclear what you are asking for. This is due to resources including AVD does have specific version. API versions are used to get information or set the resource. These API versions are used within automation tools like Az CLI, Az PowerShell, Azure Bicep (ARM templates) etc. For example, if you use Azure Bicep to deploy AVD resources you would change the version of the resources within the Bicep Template. There is no change in API version on the Azure resources. How API is changed depends on the tool as for example Az CLI and Az PowerShell such functionality is not exposed and versions are changed when using different versions of the tools. With that if you are using Azure Portal to deploy resources there is no actual change for you that you can do. If you use Azure Bicep as I have mentioned you will edit your templates to use the version you desire. If you use Az CLI or Az PowerShell you will use specific version of those tools although they do not have documentation which version which API version uses. If you want to use the latest just update to the latest versions of those tools.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


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.