Summary
az functionapp list --output table fails when any Function App response omits appServicePlanId. JSON output succeeds.
Reproduction
az version
# azure-cli 2.89.1
az functionapp list --output table
Actual result
ERROR: Table output unavailable. Use the --query option to specify an appropriate query. Use --debug for more info.
The debug traceback identifies the underlying failure:
File "azure/cli/command_modules/appservice/commands.py", line 35, in transform_web_output
result["appServicePlan"] = result.pop("appServicePlanId").split("/")[-1]
KeyError: 'appServicePlanId'
Expected result
az functionapp list --output table should render the Function Apps list without failing when appServicePlanId is missing. The formatter should tolerate an omitted optional field.
Workaround
Explicitly project fields before requesting table output:
az functionapp list --query '[].{Name:name,ResourceGroup:resourceGroup,Location:location,State:state}' --output table
Related issues
This may be another regression in the Function App output/transform layer introduced around 2.87.0.
Summary
az functionapp list --output tablefails when any Function App response omitsappServicePlanId. JSON output succeeds.Reproduction
az version # azure-cli 2.89.1 az functionapp list --output tableActual result
The debug traceback identifies the underlying failure:
Expected result
az functionapp list --output tableshould render the Function Apps list without failing whenappServicePlanIdis missing. The formatter should tolerate an omitted optional field.Workaround
Explicitly project fields before requesting table output:
az functionapp list --query '[].{Name:name,ResourceGroup:resourceGroup,Location:location,State:state}' --output tableRelated issues
az functionapp function keys listbroken in 2.87.0az functionapp listreturns incorrect null valuesThis may be another regression in the Function App output/transform layer introduced around 2.87.0.