Open mdaguete opened 2 months ago
Thank you for opening this issue, we will look into it.
I'm getting such error only West Europe kubernetes clusters, for North Europe clusters azcli works without problem
Having the same problem when I try to update my cluster using devops (ARM).
provider = rcf.providers.get(resource_provider_namespace)
Since the api-version used for command az resource show
comes from the Resource Provider, it requires assistance from the ARM or ContainerService team to take a look
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @josephkwchan, @jennyhunter-msft.
What helped in our occasion was to specify the --api-version for now..
az resource show --api-version 2024-05-01
Get-AzResourrce also throwing same Api version error since last 2-3 days. kindly prioritise the fix for this issue.
@josephkwchan. , @jennyhunter-msft : any update?
We are still investigating from our side. Thank you for your patience.
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.