`az webapp list-runtimes --os-type linux` no longer returns newer Java versions
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### Describe the bug
When calling `az webapp list-runtimes --os-type linux | grep "java"`, not all versions are returned.
Output from `az` 2.87.0:
> "config": "JAVA|11-java11",
"config": "JBOSSEAP|8-java11",
"config": "JBOSSEAP|7-java11",
"config": "JBOSSEAP|7-java8",
"config": "TOMCAT|11.0-java11",
"config": "TOMCAT|10.1-java11",
"config": "TOMCAT|9.0-java11",
For reference, this was the output in 2.86.0:
> "JAVA:25-java25",
"JAVA:21-java21",
"JAVA:17-java17",
"JAVA:11-java11",
"JBOSSEAP:8-java21",
"JBOSSEAP:8-java17",
"JBOSSEAP:8-java11",
"JBOSSEAP:7-java17",
"JBOSSEAP:7-java11",
"JBOSSEAP:7-java8",
"TOMCAT:11.0-java25",
"TOMCAT:11.0-java21",
"TOMCAT:11.0-java17",
"TOMCAT:11.0-java11",
"TOMCAT:10.1-java25",
"TOMCAT:10.1-java21",
"TOMCAT:10.1-java17",
"TOMCAT:10.1-java11",
"TOMCAT:9.0-java25",
"TOMCAT:9.0-java21",
"TOMCAT:9.0-java17",
"TOMCAT:9.0-java11",
Note that this does work correctly when the `--os-type` parameter is not supplied - then it does list all Java versions.
### Related command
az webapp list-runtimes --os-type linux | grep "java"
### Errors
n/a
### Issue script & Debug output
[scratch_12.txt](https://github.com/user-attachments/files/28543041/scratch_12.txt)
### Expected behavior
A full list of all Java versions.
### Environment Summary
azure-cli 2.87.0
core 2.87.0
telemetry 1.1.0
Extensions:
aks-preview 21.0.0b3
application-insights 1.2.3
bastion 1.4.3
cdn 1.0.0b1
eventgrid 1.0.0b2
Dependencies:
msal 1.36.0
azure-mgmt-resource 24.0.0
Python location '/opt/az/bin/python3'
Config directory '/home/bert-blommers/.azure'
Extensions directory '/home/bert-blommers/.azure/cliextensions'
Python (Linux) 3.13.13 (main, May 26 2026, 06:37:04) [GCC 13.3.0]
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.