Skip to content

k8s-extension Dapr list update #31911

@dpvq

Description

@dpvq

Describe the bug

Cluster is using Microsoft.Dapr extension 1.14.4-msft.10 and 1.15 is already avaliable in AKS but the command listed below (az k8s-extension extension-types list-versions-by-cluster) shows no update:
https://learn.microsoft.com/en-us/azure/aks/dapr?tabs=cli#viewing-the-latest-stable-dapr-versions-available

Image

az upgrade to make sure I am using the latest version

PS C:\Users\xxx> az upgrade
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
You already have the latest azure-cli version: 2.75.0
Upgrading extensions
Checking update for aks-preview
No stable version of 'aks-preview' to install. Preview versions allowed.
Checking update for azure-iot
Latest version of 'azure-iot' is already installed.

Use --debug for more information
Checking update for cosmosdb-preview
Checking update for k8s-extension
Upgrade finished.
PS C:\Users\xxx> az k8s-extension extension-types list-versions-by-cluster --resource-group $rg --cluster-name $cluster --cluster-type managedClusters --extension-type microsoft.dapr --release-train stable
Command group 'k8s-extension extension-types' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
[]

Related command

az k8s-extension extension-types list-versions-by-cluster

Errors

Returns [] instead of the new versions

Issue script & Debug output

PS C:\Users\xxx> az k8s-extension extension-types list-versions-by-cluster --resource-group $rg --cluster-name $cluster --cluster-type managedClusters --extension-type microsoft.dapr --release-train stable --debug
cli.knack.cli: Command arguments: ['k8s-extension', 'extension-types', 'list-versions-by-cluster', '--resource-group', 'REDACTED-acc-rg', '--cluster-name', 'REDACTEDaccAKS', '--cluster-type', 'managedClusters', '--extension-type', 'microsoft.dapr', '--release-train', 'stable', '--debug']
cli.knack.cli: __init__ debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x01893A78>, <function OutputProducer.on_global_arguments at 0x01AD2668>, <function CLIQuery.on_global_arguments at 0x01AF3168>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'k8s-extension': ['azext_k8s_extension']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name                  Load Time    Groups  Commands
cli.azure.cli.core: Total (0)                 0.000         0         0
cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next']
cli.azure.cli.core: Loading extensions:
cli.azure.cli.core: Name                  Load Time    Groups  Commands  Directory
cli.azure.cli.core: k8s-extension             0.586         2        16  C:\Users\xxx\.azure\cliextensions\k8s-extension
cli.azure.cli.core: Total (1)                 0.586         2        16
cli.azure.cli.core: Loaded 2 groups, 16 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command  : k8s-extension extension-types list-versions-by-cluster
cli.azure.cli.core: Command table: k8s-extension extension-types list-versions-by-cluster
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x03AFDE38>]
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x03B34ED8>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x03B50618>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x03B506B8>, <function register_upcoming_breaking_change_info.<locals>.update_breaking_change_info at 0x03B50708>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x01AD26B8>, <function CLIQuery.handle_query_parameter at 0x01AF31B8>, <function register_ids_argument.<locals>.parse_ids_arguments at 0x03B50668>]
Command group 'k8s-extension extension-types' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
cli.azure.cli.core.commands.client_factory: Getting management service client client_type=SourceControlConfigurationClient
cli.azure.cli.core.auth.persistence: build_persistence: location='C:\\Users\\xxx\\.azure\\msal_token_cache.bin', encrypt=True
cli.azure.cli.core.auth.binary_cache: load: C:\Users\xxx\.azure\msal_http_cache.bin
urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
msal.authority: Initializing with Entra authority: https://login.microsoftonline.com/3ecdfcdc-6f8a-4096-993b-0c88df302d67
msal.authority: openid_config("https://login.microsoftonline.com/3ecdfcdc-6f8a-4096-993b-0c88df302d67/v2.0/.well-known/openid-configuration") = {'token_endpoint': 'https://login.microsoftonline.com/3ecdfcdc-6f8a-4096-993b-0c88df302d67/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/3ecdfcdc-6f8a-4096-993b-0c88df302d67/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/3ecdfcdc-6f8a-4096-993b-0c88df302d67/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/3ecdfcdc-6f8a-4096-993b-0c88df302d67/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/3ecdfcdc-6f8a-4096-993b-0c88df302d67/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/3ecdfcdc-6f8a-4096-993b-0c88df302d67/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/3ecdfcdc-6f8a-4096-993b-0c88df302d67/kerberos', 'tenant_region_scope': 'NA', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'}
msal.application: Broker enabled? True
cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token_info: scopes=('https://management.core.windows.net//.default',), options={}
cli.azure.cli.core.auth.msal_credentials: UserCredential.acquire_token: scopes=['https://management.core.windows.net//.default'], claims_challenge=None, kwargs={}
msal.application: Cache hit an AT
msal.telemetry: Generate or reuse correlation_id: 95c50e3e-1c2a-40ad-9eb7-7bef1c62cdce
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/REDACTEDbe114/resourceGroups/REDACTED-acc-rg/providers/Microsoft.ContainerService/managedClusters/REDACTEDaccAKS/providers/Microsoft.KubernetesConfiguration/extensionTypes/microsoft.dapr/versions?releaseTrain=stable&showLatest=false&api-version=2023-05-01-preview'
cli.azure.cli.core.sdk.policies: Request method: 'GET'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies:     'Accept': 'application/json'
cli.azure.cli.core.sdk.policies:     'x-ms-client-request-id': '400ac13a-713c-11f0-b154-743af4ee6393'
cli.azure.cli.core.sdk.policies:     'CommandName': 'k8s-extension extension-types list-versions-by-cluster'
cli.azure.cli.core.sdk.policies:     'ParameterSetName': '--resource-group --cluster-name --cluster-type --extension-type --release-train --debug'
cli.azure.cli.core.sdk.policies:     'User-Agent': 'AZURECLI/2.75.0 (MSI) azsdk-python-core/1.31.0 Python/3.12.10 (Windows-11-10.0.26100-SP0)'
cli.azure.cli.core.sdk.policies:     'Authorization': '*****'
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: This request has no body
urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/REDACTEDbe114/resourceGroups/REDACTED-acc-rg/providers/Microsoft.ContainerService/managedClusters/REDACTEDaccAKS/providers/Microsoft.KubernetesConfiguration/extensionTypes/microsoft.dapr/versions?releaseTrain=stable&showLatest=false&api-version=2023-05-01-preview HTTP/1.1" 200 28
cli.azure.cli.core.sdk.policies: Response status: 200
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies:     'Cache-Control': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Pragma': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Content-Length': '28'
cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json; charset=utf-8'
cli.azure.cli.core.sdk.policies:     'Expires': '-1'
cli.azure.cli.core.sdk.policies:     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies:     'api-supported-versions': '2023-05-01-preview, 2024-11-01-preview'
cli.azure.cli.core.sdk.policies:     'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies:     'X-Cache': 'CONFIG_NOCACHE'
cli.azure.cli.core.sdk.policies:     'X-MSEdge-Ref': 'Ref A: 7D6C1D976E074FC5A0C6A264A5085725 Ref B: YQ1AA2090601029 Ref C: 2025-08-04T14:06:44Z'
cli.azure.cli.core.sdk.policies:     'x-ms-operation-identifier': 'tenantId=3ecdfcdc-6f8a-4096-993b-0c88df302d67,objectId=8e8b3af3-a9d4-40cd-b480-fc330be9c79d/canadacentral/dcf6329d-1100-4eaf-9f2c-8e4ee0ad86e8'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-reads': '249'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-global-reads': '3749'
cli.azure.cli.core.sdk.policies:     'x-ms-request-id': 'abb1f606-79aa-4a0f-9c03-18e8bed61770'
cli.azure.cli.core.sdk.policies:     'x-ms-correlation-request-id': 'abb1f606-79aa-4a0f-9c03-18e8bed61770'
cli.azure.cli.core.sdk.policies:     'x-ms-routing-request-id': 'CANADACENTRAL:20250804T140644Z:abb1f606-79aa-4a0f-9c03-18e8bed61770'
cli.azure.cli.core.sdk.policies:     'Date': 'Mon, 04 Aug 2025 14:06:44 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {"value":[],"nextLink":null}
cli.knack.cli: Event: CommandInvoker.OnTransformResult [<function _resource_group_transform at 0x03B35118>, <function _x509_from_base64_to_hex_transform at 0x03B35168>]
cli.knack.cli: Event: CommandInvoker.OnFilterResult []
[]
cli.knack.cli: Event: Cli.SuccessfulExecute []
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x03AFDF78>]
cli.__main__: Command ran in 1.910 seconds (init: 0.461, invoke: 1.449)

Expected behavior

List all available Microsoft.Dapr extension updates

Environment Summary

azure-cli                         2.75.0

core                              2.75.0
telemetry                          1.1.0

Extensions:
aks-preview                    18.0.0b24
azure-iot                         0.26.0
cosmosdb-preview                   1.6.1
k8s-extension                      1.6.6

Dependencies:
msal                            1.33.0b1
azure-mgmt-resource               23.3.0

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Config directory 'C:\Users\xxx\.azure'
Extensions directory 'C:\Users\xxx\.azure\cliextensions'

Python (Windows) 3.12.10 (tags/v3.12.10:0cc8128, Apr  8 2025, 11:58:42) [MSC v.1943 32 bit (Intel)]

Legal docs and information: aka.ms/AzureCliLegal


Your CLI is up-to-date.

Additional context

No response

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botService AttentionThis issue is responsible by Azure service team.Upgradeaz upgradecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions