Skip to content

az webapp show and list returning serverFarmId instead of appServicePlanId #33732

Description

@stephaniejchan8

Describe the bug

In Azure CLI v2.87, a bug was introduced where az webapp list and az webapp show output no longer contains the field appServicePlanId and instead has serverFarmId.

There is a commit where in src/azure-cli/azure/cli/command_modules/appservice/utils.py _rename_server_farm_props() it seems from the code that the intention is that the output for az webapp list and az webapp show should still contain the field appServicePlanId.

The release notes also don't communicate that appServicePlanId was intentionally replaced with serverFarmId.

When running az webapp list and az webapp show on Azure CLI v2.86, appServicePlanId is in the output.

Related command

az webapp list
az webapp show

Errors

No error message

Issue script & Debug output

az-cli-2.88-webapp-list-debug.txt

Expected behavior

az webapp list and az webapp show should still contain the field appServicePlanId.

Environment Summary

azure-cli 2.88.0

core 2.88.0
telemetry 1.1.0

Dependencies:
msal 1.36.0
azure-mgmt-resource 24.0.0

Python location '/opt/homebrew/Cellar/azure-cli/2.88.0/libexec/bin/python'
Config directory '/Users/REDACTED/.azure'
Extensions directory '/Users/REDACTED/.azure/cliextensions'

Python (Darwin) 3.14.6 (main, Jun 10 2026, 10:03:53) [Clang 21.0.0 (clang-2100.0.123.102)]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Additional context

No response

Metadata

Metadata

Labels

Auto-AssignAuto assign by botService AttentionThis issue is responsible by Azure service team.Web Appsaz webappact-observability-squadapp-service-generalbugThis 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.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions