Azure / Azure/azure-cli

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

Open
#28,962 14 comments 2 reactions 4 assignees Claimed by @kamperiadis View on GitHub
act-observability-squad Auto-Assign bug customer-reported Functions Service Attention Similar-Issue
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### 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](https://github.com/Azure/azure-cli/files/15312777/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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.