@Naresh Babu Based on the above, we have understood that you want to list function app which are running with NodeJs 14 runtime through portal instead of using PowerShell or through Azure CLI.
- If your function App is running on Linux (either of consumption, elastic premium or through Dedicated app service) plans then you need to focus on
LinuxFxVersion
property.
- For Windows (either of consumption, elastic premium or through Dedicated app service) hosted function apps. app setting
WEBSITE_NODE_DEFAULT_VERSION
will determine the runtime version.
To achieve your requirement, you can use either Azure resource explorer or create custom Azure policy and by using the below query you can pull the list of function app that are running on Linux plans.
resources
| where ['type'] =~ "Microsoft.Web/sites" and kind =~ "functionapp,linux" and properties.siteProperties.properties contains "Node|14"
| project name,resourceGroup,subscriptionId
You can refer to sample Aduit policies for function app and try creating your own azure policy based on your requirement.
In windows function apps, as mentioned earlier the runtime version is dependent on App settings of function app, we cannot use either by azure policy or Graph explorer.
You need to use the above PowerShell cmdlet shared by @TP to get list of functions app running with Node|14 runtime.
Get-AzFunctionApp|ForEach-Object -Process {if($_.ApplicationSettings.WEBSITE_NODE_DEFAULT_VERSION -eq "~14"){$_.Name}}
Feel free to reach back to me if you have any further questions on this.