Hi Shruthi Bandi,
Refer to the this to find the most recent API versions for AVD resources
You can specifically see the API version in use for each resource type here
Similar issues for your reference:
Please check this for detailed steps: https://learn.microsoft.com/en-us/answers/questions/2134665/how-to-update-to-desktopvirtualization-api-v-2024
To validate the API Version Upgrade: In the Azure portal, navigate to Resource Explorer https://resources.azure.co, then browse to the AVD resource. Look for the apiVersion
used under the resource definition. You can select the Resource type and check whether it is updated.
If you have any further queries, please do let us know. If the answer is helpful, please click "Accept Answer" and "Upvote it"