Azure / azure-cli

Azure Command-Line Interface
MIT License
3.91k stars 2.88k forks source link

"az functionapp config set --use-32bit-worker-process" is not applying changes in v2.60.0 #28962

Open jsteenbekkers opened 1 month ago

jsteenbekkers commented 1 month ago

Describe the bug

I am unable to update a function app to use 64 bit, when using version 2.60.0. This was working correctly in 2.59.0 and 2.54.0. Conversely, if the function app is already configured to use 64 bit, I cannot switch it to use 32 bit.

For example:

PS>az functionapp config show --name my-functionapp --resource-group my-resource-group --query "use32BitWorkerProcess" true

PS> az functionapp config set --name my-functionapp --resource-group my-resource-group --use-32bit-worker-process false { ... "use32BitWorkerProcess": true, ... }

PS>az functionapp config show --name my-functionapp --resource-group my-resource-group --query "use32BitWorkerProcess" true

Related command

az functionapp config set

Errors

No errors, but the update is not applied after executing the command

Issue script & Debug output

> az functionapp config set --name my-functionapp --resource-group my-resource-group --use-32bit-worker-process false --debug

see attached file for debug output (too long to post in plain text)

az-functionapp-config-debug-output.txt

Expected behavior

The "use32BitWorkProcess" property should be updated according to the value passed with --use-32bit-worker-process

Environment Summary

azure-cli 2.60.0

core 2.60.0 telemetry 1.1.0

Extensions: account 0.2.5 azure-devops 0.25.0 cosmosdb-preview 0.26.0 datafactory 0.7.0 quota 0.1.0

Dependencies: msal 1.28.0 azure-mgmt-resource 23.1.0b2

Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe' Extensions directory 'C:\Users\username.azure\cliextensions'

Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]

Legal docs and information: aka.ms/AzureCliLegal

Additional context

No response

yonzhan commented 1 month ago

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

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 @AnatoliB, @Francisco-Gamino, @shreyabatra4.

danielelkington commented 2 weeks ago

I can confirm that this is broken in 2.60.0 for other configs as well - eg az functionapp config set --always-on false is also finishing without an error, but it doesn't actually change the requested setting.

ulluoink commented 1 week ago

same here

mark-buck-vpsgroup commented 4 days ago

Currently using 2.61.0 and the issue is still present, equvialent commands work for webapps (i.e. az webapp config set --always-on false) but functionapp set commands have no impact. The same config set operations done through the azure portal UI do work just fine.

ulluoink commented 4 days ago

Anything new here @AnatoliB, @Francisco-Gamino, @shreyabatra4