General command to set
az functionapp scale config set --resource-group <RESOURCE_GROUP> --name <APP_NAME> --trigger-type http --trigger-settings perInstanceConcurrency=10
e.g. set to 2 events per instance
export RESOURCE_GROUP="rg-devdays-extreme-httpeh-sw"
export SERVICE_API_NAME="func-l4tubknpmxdbs-functions"
export CONCURRENCY=2
az functionapp scale config set --resource-group $RESOURCE_GROUP --name $SERVICE_API_NAME --trigger-type http --trigger-settings perInstanceConcurrency=1
View config
az functionapp scale config show --resource-group $RESOURCE_GROUP --name $SERVICE_API_NAME