Function App stuck on creation. Storage account issue

Pedro 25 Reputation points
2023-07-06T19:12:48.3+00:00
Storage access failed. Storage volume is currently in R/O mode. Please delete and recreate backup schedule to mitigate.


Hello! Im getting this error, after i try to create a new function app.

Issue, I need to create a Funtion app.
When i try to create a function app, its, makes me select an storage account, y set the storage account allow just for some networks, for companie policies.
So, first, i can no know the ip before the app function, will be created, so i temporary add 0.0.0.0/0 to allo the function to create, and then just find the ip whith this documentation

But im stuck with this output error in the webapplication deployment

appfunction

{
    "status": "Failed",
    "error": {
        "code": "BadRequest",
        "message": "Storage access failed. Storage volume is currently in R/O mode. Please delete and recreate backup schedule to mitigate.",
        "details": [
            {
                "message": "Storage access failed. Storage volume is currently in R/O mode. Please delete and recreate backup schedule to mitigate."
            },
            {
                "code": "BadRequest"
            },
            {}
        ]
    }
}

So, if anyone knows how i can get the ips, from the function apps, or what i need to configure in the storage account

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,415 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,368 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,082 questions
{count} vote

Accepted answer
  1. MuthuKumaranMurugaachari-MSFT 22,401 Reputation points
    2023-07-07T15:19:43.54+00:00

    Pedro Thanks for posting your question in Microsoft Q&A. It is not possible to find IP range of the function app creation beforehand and add it to the storage account restrictions and then create Function app. Based on your description, I assume you are trying to create a new Function App with an existing storage account that has network restrictions i.e., allow only connections from VNET.

    Currently, we have https://learn.microsoft.com/en-us/azure/azure-functions/configure-networking-how-to?tabs=portal#restrict-your-storage-account-to-a-virtual-network doc with instructions that include ARM/Bicep templates for creating a new storage account behind VNET and integrate with Function app. However, if you have a storage account/VNET already exists, then change ARM template to just create a new file share in the storage account, do VNET integration, then set WEBSITE_CONTENTSHARE, WEBSITE_CONTENTOVERVNET etc. to point to the file share.

    Note: the consumption plan doesn't plan VNET, and you can use other tiers. I hope this helps with your question and let me know if you have any other questions or face any issues.


    If you found the answer to your question helpful, please take a moment to mark it as "Yes" for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.

    3 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.