You can use the Azure Resource Explorer to do that.
Open the Azure portal to find and use the Resource Graph Explorer following these steps to run your first Resource Graph query:
- Select All services in the left pane. Search for and select Resource Graph Explorer.
- In the Query 1 portion of the window, enter the query [..]
Please try the query below:
resources
| where type == "microsoft.web/sites"
| extend hostNameSslStates=parsejson(tostring(properties.hostNameSslStates))
| mv-expand hostNameSslStates
| project name, resourceGroup, subscriptionId, url = hostNameSslStates.name
| where url == "mywebapp.azurewebsites.net"
To get a complete list remove the where
statement from the query.