Azure / Azure/azure-cli

az functionapp list returns incorrect null values

Open
#16,698 5 comments 0 reactions 0 assignees View on GitHub
act-observability-squad Functions question Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Describe the bug**
When using the "az functionapp list" command the returned json contains values that should not be null, such as siteConfig.minTlsVersion
**To Reproduce**
Run a command along these lines:
az functionapp list --output json --query "[].{hostName:defaultHostName, httpsOnly:httpsOnly, minTlsVersion: siteConfig.minTlsVersion}" -o table
**Expected behavior**
The returned minTLSVersion should not be null.
**Environment summary**
Using the Azure Cloud Shell or a local bash client

**Additional context**
Using the Resource Explorer it can be confirmed that the values are not null and other commands, such as "az functionapp config show" return the correct values. It seems to be the "list" command that has the issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.