Azure / Azure/azure-cli

API Version not valid

Open
#29,913 9 comments 0 reactions 1 assignee Claimed by @zhoxing-ms View on GitHub
act-identity-squad ARM Auto-Assign customer-reported question Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

When reading an aks resource with "az resource show --ids" the following error is thrown:

(InvalidAPIVersion) API version '2024-08-01' is not valid
Code: InvalidAPIVersion
Message: API version '2024-08-01' is not valid

### Related command

az resource show --ids /subscriptions/..../providers/Microsoft.ContainerService/managedClusters/xxxx

### Errors

(InvalidAPIVersion) API version '2024-08-01' is not valid
Code: InvalidAPIVersion
Message: API version '2024-08-01' is not valid

### Issue script & Debug output

az resource show --ids

### Expected behavior

Return the correct AKS object.

### Environment Summary

azure-cli 2.64.0

core 2.64.0
telemetry 1.1.0

Dependencies:
msal 1.30.0
azure-mgmt-resource 23.1.1

### Additional context

The same happends with Az powershell cmdllets.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.