How to get the list of App Service apps in the subscription

NAVEEN Mittal 150 Reputation points Microsoft External Staff
2026-02-16T08:05:36.4266667+00:00

In my subscription how i can check this

Extended support for Node 20 LTS ends on 30 April 2026—upgrade your apps to Node 22 LTS

Your apps that are hosted on App Service will continue to run, but security updates will no longer be available, and we'll no longer provide customer service for Node 20 LTS. Learn more about [App Service language support]URL: https://learn.microsoft.com/azure/app-service/language-support-policy.

To avoid potential security vulnerabilities and minimize risk for your App Service apps, [follow the steps to upgrade your app to Node 22 LTS before 30 April 2026.]URL: https://aka.ms/nodeversion.

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.


Answer accepted by question author
Praneeth Maddali 12,670 Reputation points Microsoft External Staff Moderator
2026-02-16T09:47:30.0366667+00:00

Hi @naveen mittal

Thank you for confirming offline that the KQL queries below were helpful in retrieving the list of App Service apps within the subscription.

For Linux-based apps (most common for Node.js):

resources
| where type =~ "microsoft.web/sites"
| extend linuxFx = tostring(properties.siteConfig.linuxFxVersion)
| where linuxFx == "NODE|20-lts"
| project resourceGroup, name, linuxFx


For Windows-based apps:

resources
| where type =~ "microsoft.web/sites"
| where kind !contains "linux"
| mv-expand appSetting = properties.siteConfig.appSettings
| where appSetting.name == "WEBSITE_NODE_DEFAULT_VERSION"
| where tostring(appSetting.value) startswith "~20" or tostring(appSetting.value) contains "20"
| project resourceGroup, name, nodeVersion = tostring(appSetting.value), location

reference:

https://learn.microsoft.com/en-us/azure/app-service/language-support-policy?tabs=windows

https://learn.microsoft.com/en-us/azure/app-service/configure-language-nodejs?pivots=platform-linux#detect-the-nodejs-version

https://learn.microsoft.com/en-us/azure/governance/resource-graph/samples/advanced?tabs=azure-cli#list-all-linux-web-apps-using-a-specific-runtime 

Please do not forget to click "Accept the answer” and Yes, this can be beneficial to other community members.

If you have any other questions, let me know in the "comments" and I would be happy to help you

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Newest
  1. Alex Burlachenko 25,120 Reputation points MVP Volunteer Moderator
    2026-02-16T08:35:49.95+00:00

    NAVEEN Mittal hi,can u check all app service apps in ur subscription and filter only the ones running node 20 using either portal cli or resource graph. the cleanest way at scale is azure cli. first list all web apps with their runtime stack by running az webapp list --query "[].{name:name, rg:resourceGroup, linuxFx:siteConfig.linuxFxVersion, windowsFx:siteConfig.windowsFxVersion}" -o table and then look for values like node|20 or similar.

    If u want only node 20 apps u can filter directly az webapp list --query "[?contains(siteConfig.linuxFxVersion,'NODE|20') || contains(siteConfig.windowsFxVersion,'20')].[name,resourceGroup]" -o table. another good option is azure resource graph which works across large subscriptions.

    At portal open resource graph explorer and run resources | where type == "microsoft.web/sites" | project name, resourceGroup, kind, properties.siteConfig.linuxFxVersion, properties.siteConfig.windowsFxVersion | where linuxFxVersion contains "20" or windowsFxVersion contains "20".

    That will show exactly which apps are on node 20 so u know what must be upgraded before april 2026.

    rgds,

    Alex

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.