Share via

Cannot set functionAppScaleLimit setting in Azure CLI for Azure Function

ddx1 171 Reputation points
2020-10-25T10:58:25.28+00:00

I'm attempting to set the functionAppScaleLimit to 1 according to the documentation here:
https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#limit-scale-out

Using the az resource update --resource-type Microsoft.Web/sites -g <resource_group> -n <function_app_name>/config/web --set properties.functionAppScaleLimit=<scale_limit> command appears like it's working, but if I look at the Azure Function app settings using az resource show --ids <subscription_id> the functionAppScaleLimit is set to null. It looks like that setting is now stored in siteConfig and not properties:
34808-image.png

How do I edit this property? If I try to replace the --set properties.functionAppScaleLimit with --set properties.siteConfig.functionAppScaleLimit the functionAppScaleLimit is still set to null

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.