App Service .NET 7 stack is past end of support
End of support as of 2024-05-14. Replacement: App Service .NET 8 or later. Source: Language Runtime Support Policy - Azure App Service.
Check a version:
evergreen check pkg:generic/azure-app-service/dotnet
| Azure App Service follows the community support timeline for each language stack: past the end-of-support date the app keeps running, but the platform stops providing security patches or related support for that runtime version. The .NET support policy ended support for .NET 7 on 2024-05-14, so a DOTNETCORE | 7.0 app no longer receives a patched runtime. |
Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>
| Status | End of support |
| Severity | high |
| Ecosystem | serverless |
| Component | pkg:generic/azure-app-service/dotnet |
| Affected versions | vers:semver/>=7.0.0\|<8.0.0 |
| Date from the source | 2024-05-14 |
| Replacement | App Service .NET 8 or later |
| Evidence last seen | 2026-11-03 |
| Reviewed | 2026-11-03 by arminazimi |
| Review due | 2027-02-01 (90 days after the last review) |
| Rule ID | serverless.azure-app-service.dotnet-7-0 |
Sources
- Language Runtime Support Policy - Azure App Service (accessed 2026-11-03)
- .NET and ASP.NET Core Support Policy (accessed 2026-11-03)
Migration
Constraints
- App Service follows the community end-of-support date for each language stack and stops providing security patches and related support for that runtime version past the date.
- The platform controls the minor and patch version of a managed stack, so raising the stack version is the only way to get a patched runtime.
- The stack is declared in siteConfig.linuxFxVersion on Linux and siteConfig.windowsFxVersion on Windows; both are set with az webapp config set.
Steps
- Raise the App Service language stack. Set dotnet to a supported stack version (see the replacement) with az webapp config set –linux-fx-version or –windows-fx-version, then redeploy the app.
- Align the stack declaration. Change the same stack in the deployment source too - the siteConfig resource in an Azure Resource Manager template, the azurerm_linux_web_app linux_fx_version or azurerm_windows_web_app windows_fx_version in Terraform, and the Bicep equivalent - so the next deployment does not reset dotnet.
Verification
az webapp config show --resource-group <group> --name <app> --query linuxFxVersion: Confirm the app reports the new stack version.az webapp restart --resource-group <group> --name <app> && az webapp log tail --resource-group <group> --name <app>: Restart the app and watch the startup log for runtime errors on the new stack.
Detected by
The serverless detector. See Detectors and Compatibility.
Related
Other versions of this product
- App Service .NET 6 stack is past end of support
- App Service .NET 8 stack is scheduled to leave support
- App Service .NET stacks older than 6.0 are past end of support
Same ecosystem
- AWS Lambda .NET 10 runtime reaches end of life on 2028-11-14
- AWS Lambda .NET 5 (container only) runtime is end-of-life
- AWS Lambda .NET 6 runtime is end-of-life
- AWS Lambda .NET 7 (container only) runtime is end-of-life
- AWS Lambda .NET 8 runtime reaches end of life on 2026-11-10
- AWS Lambda .NET 9 (container only) runtime reaches end of life on 2026-11-10
- AWS Lambda .NET Core 1.0 runtime is end-of-life
- AWS Lambda .NET Core 2.0 runtime is end-of-life
Data
This page is generated from registry/serverless.json, rule serverless.azure-app-service.dotnet-7-0, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.
Last updated