You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
az functionapp list --output table fails when appServicePlanId is absent #33914
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
Activity
yonzhan commentedon Aug 17, 2026
Thank you for opening this issue, we will look into it.
shreyas-gopalakrishna commentedon Sep 9, 2026
Fix for this issue is in - #33733