From 320145d887f4857b7880b3d29d7ed242af26fa59 Mon Sep 17 00:00:00 2001 From: Dameon Laird <26032268+DameonL@users.noreply.github.com> Date: Mon, 18 Aug 2025 15:58:39 -0700 Subject: [PATCH] Corrected Node 20 References The incorrect CLI command was given for upgrading to Node 20 on Linux, showing the command to upgrade to Node 22 while stating this would set it to Node 20. For Windows, it showed the command to upgrade to Node 20 and stated this would set it to Node 22. --- articles/azure-functions/functions-reference-node.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/articles/azure-functions/functions-reference-node.md b/articles/azure-functions/functions-reference-node.md index 9730598084d0f..15ba0c50d59a7 100644 --- a/articles/azure-functions/functions-reference-node.md +++ b/articles/azure-functions/functions-reference-node.md @@ -1866,7 +1866,7 @@ az functionapp config appsettings set --settings WEBSITE_NODE_DEFAULT_VERSION=~ --name --resource-group ``` -This sets the [`WEBSITE_NODE_DEFAULT_VERSION` application setting](./functions-app-settings.md#website_node_default_version) the supported LTS version of `~22`. +This sets the [`WEBSITE_NODE_DEFAULT_VERSION` application setting](./functions-app-settings.md#website_node_default_version) to the supported LTS version of `~20`. # [Azure portal](#tab/azure-portal/windows) @@ -1879,7 +1879,7 @@ Use the following steps to change the Node.js version: Run the Azure CLI [`az functionapp config set`](/cli/azure/functionapp/config#az-functionapp-config-set) command to update the Node.js version for your function app running on Linux: ```azurecli-interactive -az functionapp config set --linux-fx-version "node|22" --name "" \ +az functionapp config set --linux-fx-version "node|20" --name "" \ --resource-group "" ```