Skip to content

Commit dd9bf1b

Browse files
(AzureCXP) fixes MicrosoftDocs/azure-docs#108749
Updating Azure CLI cmdlets with --resource-group property in `az storage account create` and `az functionapp create` cmdlets
1 parent 5ce89f9 commit dd9bf1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ Use the following commands to create these items. Both Azure CLI and PowerShell
301301
# [Azure CLI](#tab/azure-cli)
302302
303303
```azurecli
304-
az storage account create --name <STORAGE_NAME> --sku Standard_LRS
304+
az storage account create --name <STORAGE_NAME> --location <REGION> --resource-group AzureFunctionsQuickstart-rg --sku Standard_LRS
305305
```
306306
307307
The [az storage account create](/cli/azure/storage/account#az-storage-account-create) command creates the storage account.
@@ -325,7 +325,7 @@ Use the following commands to create these items. Both Azure CLI and PowerShell
325325
# [Azure CLI](#tab/azure-cli)
326326
327327
```azurecli
328-
az functionapp create --consumption-plan-location westeurope --runtime python --runtime-version 3.9 --functions-version 4 --name <APP_NAME> --os-type linux --storage-account <STORAGE_NAME>
328+
az functionapp create --resource-group AzureFunctionsQuickstart-rg --consumption-plan-location westeurope --runtime python --runtime-version 3.9 --functions-version 4 --name <APP_NAME> --os-type linux --storage-account <STORAGE_NAME>
329329
```
330330
331331
The [az functionapp create](/cli/azure/functionapp#az-functionapp-create) command creates the function app in Azure. If you're using Python 3.9, 3.8, or 3.7, change `--runtime-version` to `3.9`, `3.8`, or `3.7`, respectively. You must supply `--os-type linux` because Python functions can't run on Windows, which is the default.

0 commit comments

Comments
 (0)