Skip to content

Commit deedc57

Browse files
authored
Version for runtime changed from 3 to 4
The old value (3) will lead to the error "Could not find a runtime version for runtime {} with functions version {} and os {}Run 'az functionapp list-runtimes' for more details on supported runtimes." For PowerShell based apps the runtime version needs to be set to 4.
1 parent 11efd12 commit deedc57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-functions/create-first-function-cli-powershell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Each binding requires a direction, a type, and a unique name. The HTTP trigger h
112112
# [Azure CLI](#tab/azure-cli)
113113

114114
```azurecli
115-
az functionapp create --resource-group AzureFunctionsQuickstart-rg --consumption-plan-location <REGION> --runtime powershell --functions-version 3 --name <APP_NAME> --storage-account <STORAGE_NAME>
115+
az functionapp create --resource-group AzureFunctionsQuickstart-rg --consumption-plan-location <REGION> --runtime powershell --functions-version 4 --name <APP_NAME> --storage-account <STORAGE_NAME>
116116
```
117117

118118
The [az functionapp create](/cli/azure/functionapp#az-functionapp-create) command creates the function app in Azure.

0 commit comments

Comments
 (0)