I have hostname/machine name from logs. I want to know what service is running that. is there any way I can backtrack service name by hostname/machine name?
I tried to search for all queries, tried kudu but can see hostname for the service I select. cant reverse search it
After I've done workaround, there is no direct command to get azure app service with hostname, but I found an alternative to get App Service details with hostnames by using:
Get-Azurermwebappcommand with the respective resource group name.With
Get-Azurermwebappcommand, Direct hostname retrieval is not supported via a parameter. To do that, I gave the information to a variable and used it to retrieve.Note: If you need to view all services operating inside any AzureVM, together with their status, Use
Get-service:get-service -computername <VMName>Refer MsDoc