-
Notifications
You must be signed in to change notification settings - Fork 3.4k
'az webapp config ssl list' returns an empty list #29403
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Web Appsaz webappaz webappact-observability-squadapp-service-certs-domainsbugThis issue requires a change to an existing behavior in the product in order to be resolved.This 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.Issues that are reported by GitHub users external to the Azure organization.
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Web Appsaz webappaz webappact-observability-squadapp-service-certs-domainsbugThis issue requires a change to an existing behavior in the product in order to be resolved.This 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.Issues that are reported by GitHub users external to the Azure organization.
Describe the bug
az webapp config ssl list --resource-group <resource-group>returns[]as the response,while
Get-AzWebAppCertificate -ResourceGroupName <resource-group>returns the actual certificates.It has previously been reported, and supposedly fixed, here:
(Although my problem doesn't seem to be a caching issue as described in the first issue because running the
Get-AzWebAppCertificatefirst, thenazcommand doesn't make it work)Related command
az webapp config ssl list --resource-group <resource-group>and
Get-AzWebAppCertificate -ResourceGroupName <resource-group>Errors
No errors, just no results.
Issue script & Debug output
I've added
--debugto theazcommand and-Debugto theGet-AzWebAppCertificatecommand and noticed thatGet-AzWebAppCertificatemakes this request 👇 to Management API:While the
azcommand makes a different one:So, maybe the problem is not necessarily the CLI, but that 👆 specific Management API version/request?
Expected behavior
I expect the certificates to be included in the
azoutput.Environment Summary
I'm running both on Cloud Shell.
Additional context
Certificates are Microsoft managed.