through powershell determine the azure web apps runtime stack

Srinu Raavi 1 Reputation point

via powershell a Web App to determine the Runtime Stack (.Net Core,, Java, Node, PHP, Python, Ruby), the Runtime Version, as well as the Operating System (Windows vs Linux). Some information can be found in the SiteConfig from Get-AzWebApp, but only shows information if a Linux OS, not Windows OS.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,397 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 27,031 Reputation points Microsoft Employee

    Hi @Srinu Raavi ,

    Unfortunately, I don't think this is possible. AzureRm.Website returns a Site object, which doesn't contain any property related to an App Service runtime. AzureRm is being phased out, replaced with Az. Get-AzWebApp returns a PSSite object which is like Site and it also doesn't have a property that identifies the runtime. The docs are complete for the PSSite but ran the command just to make sure.


    0 comments No comments