1
votes

I am on a free tier and doing hands on the Azure function app. I am getting the storage error "Storage is not configured properly" on the overview page of my function app. When I create a function app, I do not get the option to create/use storage account. Also, I have tried adding the AzureWebJobsStorage manually in the function apps configuration settings and used the Access keys under my storage account but it does not work.

Please refer to the screenshots: [1]: https://i.stack.imgur.com/2B2RM.jpg [2]: https://i.stack.imgur.com/nXyEZ.jpg [3]: https://i.stack.imgur.com/G1lut.png

2
Same issue here. Fairly certain I'm usually prompted to select a storage account when creating a new function app. I can say with certainty that this is the first time I've encountered a storage account configuration issue with my function apps. I'll let you know what I figure out.IdusOrtus

2 Answers

0
votes

Storage account is inaccessible

Your function app must be able to access the storage account. Common issues that block a function app's access to a storage account are:

The function app is deployed to your App Service Environment (ASE) without the correct network rules to allow traffic to and from the storage account.

The storage account firewall is enabled and not configured to allow traffic to and from functions. For more information, see Configure Azure Storage firewalls and virtual networks.

Verify that the allowSharedKeyAccess setting is set to true which is its default value. For more information, see Prevent Shared Key authorization for an Azure Storage account.

https://docs.microsoft.com/en-us/azure/azure-functions/functions-recover-storage-account

0
votes

If you're on the free trial, according to the Azure Chat Support person I just got off the line with, there are some hidden limitations when it comes to creating Azure resources from the Azure Portal.

You can, however, create a new function app from within Visual Studio Code. I just did so, on my free tier account, and it created the associated storage account as well.

Odds are you could do the same via Azure CLI but I haven't looked into that since it worked fine using VSC.

Here's a link on creating a function app from Visual Studio Code and publishing it to Azure: Quickstart: Create a C# function in Azure using Visual Studio Code

Chat support is remarkably quick if you're on the free tier, btw. Scroll the left hand menu all the way to the bottom and click on New support request.

Good luck!