To save others time that may stumble upon this, I would recommend reading this thread
I'm happy to delete this if I am proven wrong but I do not believe you can just add an exception for Function Apps.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
How can I secure the Azure Storage account to allow my Function App?
I need to secure it using the Storage Account firewall settings, but not sure how to list the items or configure it properly.
Selecting the Checkbox still doesn't work.
To save others time that may stumble upon this, I would recommend reading this thread
I'm happy to delete this if I am proven wrong but I do not believe you can just add an exception for Function Apps.
Hi ,
Thanks for reaching out to Microsoft Q&A.
To allow your Azure Function App to securely access your Azure Storage Account using the Storage Account firewall settings, follow these steps precisely:
From your screenshot, you have already selected:
"Enabled from selected virtual networks and IP addresses"
This is correct. It ensures only approved networks or resources can access the storage account.
This step is crucial and often overlooked.
Steps:
Scroll to the "Resource instances" section in the Networking blade.
Resource type: Select "Function App" from the dropdown.
Instance name: After selecting the resource type, it should auto-populate with Function Apps in your subscription.
Select the appropriate Function App that needs access.
Note: The Function App must be in the same region and same subscription as the storage account, and it must have a system-assigned managed identity enabled.
Even if the network rule is in place, access will fail without proper permissions.
5 . Restart the function
If the Function App still cannot access:
Confirm that the Function App’s outbound IP is not blocked.
Use Azure Monitor Logs or Application Insights to trace the exact error.
Please feel free to click the 'Upvote' (Thumbs-up) button and 'Accept as Answer'. This helps the community by allowing others with similar queries to easily find the solution.