Reputation: 21
I am new to Azure Services and have just started learning. I'm creating an Azure Function, but it doesn't require selecting a storage account. Meanwhile, I can't find any information about storage account removal from the function-creating process. I've created a Function App on the Consumption plan, but I have no storage accounts.
If they removed it, how does it work now? Where are app files stored?
Upvotes: 0
Views: 48
Reputation: 1371
Does an Azure function not need a storage account anymore?
When creating the function app storage account also need to add if there any existing storage otherwise it will create default storage account like below:
There is an option to create as well. check below:
There is another approach to create Function app in azure by using CLI commands.
az group create --name "Your-resource-group name" --location "eastus"
az storage account create --name "sample222" --location "eastus" --resource-group "Your-resource-group name"
az functionapp create --name "testfunction1212" --storage-account "sample222" --consumption-plan-location "eastus" --resource-group "Your-resource-group name" --functions-version "4"
By using above commands successfully created the function app. check below:
Upvotes: 0