Azure / azure-cli

Azure Command-Line Interface
MIT License
4.03k stars 3.01k forks source link

Storage account create min TLS version has TLS1_3 on help but this is not a valid option in Azure #30022

Open evertonspader-tomtom opened 2 months ago

evertonspader-tomtom commented 2 months ago

Describe the bug

Azure CLI for creating a storage account suggests that a TLS1_3 option is available for --min-tls-version, but that is not an available version.

Related command

  az storage account create --subscription $SUBSCRIPTION \
    -g $RESOURCE_GROUP_FOR_STORAGE_ACCOUNT \
    -n $STORAGE_ACCOUNT \
    -l $REGION \
    --sku Standard_LRS \
    --kind StorageV2 \
    --min-tls-version TLS1_3

Errors

ERROR: (FeatureNotSupported) Feature MinimumTlsVersion 1.3 is not supported.
Code: FeatureNotSupported
Message: Feature MinimumTlsVersion 1.3 is not supported.

Issue script & Debug output

ERROR: (FeatureNotSupported) Feature MinimumTlsVersion 1.3 is not supported.
Code: FeatureNotSupported
Message: Feature MinimumTlsVersion 1.3 is not supported.

Expected behavior

The option for TLS 1.3 shouldn't be described in the help instructions of the command.

Environment Summary

azure-cli                         2.64.0

core                              2.64.0
telemetry                          1.1.0

Additional context

Azure Portal also doesn't offer the TLS 1.3 option: image

yonzhan commented 2 months ago

Thank you for opening this issue, we will look into it.

calvinhzy commented 1 month ago

Hi @evertonspader-tomtom, might be a regression from service side since it was working previously image

microsoft-github-policy-service[bot] commented 1 month ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage.

aron89682 commented 1 week ago

Just curious if there was an update on this? It still seems that it might be an issue. I received the following when setting: minimumTlsVersion: 'TLS1_3' using 'Microsoft.Storage/storageAccounts@2023-05-01'.

"details": [ { "code": "FeatureNotSupported", "message": "Feature MinimumTlsVersion 1.3 is not supported." } ]

and Azure portal still doesn't show 1.3 as a valid option: Image

Obviously, I'll select 1.2, but was curious.