-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Problem Deleting Azure Functions Flex Consumption Always Ready Instance #32148
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botFunctionsaz functionappaz functionappService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-observability-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Metadata
Metadata
Labels
Auto-AssignAuto assign by botAuto assign by botFunctionsaz functionappaz functionappService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-observability-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Describe the bug
When attempting to delete Always Ready instances from a Flex Consumption Function App using the Azure CLI, the deletion does not work when targeting the
functionsetting name.--setting-names httpsuccessfully removes the Always Ready configuration.--setting-names function:<FunctionName>does not remove the Always Ready configuration.alwaysReadylist is not cleared.As shown in the attached log output (with the Tenant IDs and Subscription IDs scrubbed), the
PUTrequest sent to the app still contains thealwaysReady, which is probably preventing the deletion from being applied.Related command
az functionapp scale config always-ready delete
Errors
No errors, but the Always Ready instance is not deleted.
Issue script & Debug output
delete-already-ready-output.txt
Expected behavior
Deleting Always Ready instances using
--setting-names function:<FunctionName>should delete the Always Ready instance(s).Environment Summary
azure-cli 2.77.0
core 2.77.0
telemetry 1.1.0
Dependencies:
msal 1.34.0b1
azure-mgmt-resource 23.3.0
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Config directory 'C:\Users\chadg.azure'
Extensions directory 'C:\Users\chadg.azure\cliextensions'
Python (Windows) 3.13.7 (tags/v3.13.7:bcee1c3, Aug 14 2025, 14:15:11) [MSC v.1944 64 bit (AMD64)]
Additional context
No response