Azure / azure-cli

Azure Command-Line Interface
MIT License
3.96k stars 2.94k forks source link

az webapp config connection-string set does not work with TLS 1.0 blocked #27688

Open TossAyeCoin opened 10 months ago

TossAyeCoin commented 10 months ago

Describe the bug

Attempting to set Azure webapp connection strings does not work when an Azure policy is in place to not allow communication below TLS 1.2. This seems to be package related.

Related command

az webapp config connection-string set -n "webapp1" -g "resourcegroup1 --connection-string-type SQLServer --settings "DefaultConnection=Server=server.domain.com"

Errors

Bad Request error is returned with no indication that it is blocked by policy

Issue script & Debug output

Bad Request error is returned with no indication that it is blocked by policy

Expected behavior

This should set the desired app connection string

Environment Summary

azure-cli 2.53.0 *

core 2.53.0 * telemetry 1.1.0

Extensions: azure-firewall 0.14.5 desktopvirtualization 0.2.0 storagesync 0.1.2

Dependencies: msal 1.24.0b2 azure-mgmt-resource 23.1.0b2

Additional context

No response

azure-client-tools-bot-prd[bot] commented 10 months ago

Hi @TossAyeCoin,

2.53.0 is not the latest Azure CLI(2.53.1).

If you haven't already attempted to do so, please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli.

yonzhan commented 10 months ago

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

microsoft-github-policy-service[bot] commented 10 months ago

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