Skip to content

Commit a74fde6

Browse files
authored
Change in Powershell Command Function App Creation
Original Call used Version 3 of Functions, but the document points towards the use of version 4, this change prevents an error of version mismatch
1 parent 932c14d commit a74fde6

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
@@ -118,7 +118,7 @@ Each binding requires a direction, a type, and a unique name. The HTTP trigger h
118118
# [Azure PowerShell](#tab/azure-powershell)
119119

120120
```azurepowershell
121-
New-AzFunctionApp -Name <APP_NAME> -ResourceGroupName AzureFunctionsQuickstart-rg -StorageAccount <STORAGE_NAME> -Runtime PowerShell -FunctionsVersion 3 -Location '<REGION>'
121+
New-AzFunctionApp -Name <APP_NAME> -ResourceGroupName AzureFunctionsQuickstart-rg -StorageAccount <STORAGE_NAME> -Runtime PowerShell -FunctionsVersion 4 -Location '<REGION>'
122122
```
123123

124124
The [New-AzFunctionApp](/powershell/module/az.functions/new-azfunctionapp) cmdlet creates the function app in Azure.

0 commit comments

Comments
 (0)