az webapp show and list returning serverFarmId instead of appServicePlanId
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 64
Description
### 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](https://github.com/Azure/azure-cli/commit/d86606f006#diff-18ca87ea3f0dba1c6d07a238560c681444c6dcd4d46116f6f879df91a3f6d8f9R248) 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](https://learn.microsoft.com/en-us/cli/azure/release-notes-azure-cli?view=azure-cli-latest#june-02-2026) 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](https://github.com/user-attachments/files/30031577/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_
Contributor guide
Assessment
This issue has not been assessed yet.