I have several dozen Azure Blob Storage accounts tied to Azure functions. I am in the process of restricting traffic to these accounts to VNET and whitelisted IP. I've successfully set this and been able to deploy the azure function, through an Azure DevOps Release Pipeline, through adding the WEBSITE_CONTENTOVERVNET environment variable, set to 1, to the associated Azure Function, and adding the following CIDRs to the whitelist block of the storage account:
13.107.6.0/24
13.107.9.0/24
13.107.42.0/24
13.107.43.0/24
This has worked for over 50 storage accounts, yet I have 2 that still fail to deploy. I get the following error:
Failed to deploy web package to App Service.
KuduStackTraceURL https://:@func.scm.azurewebsites.net/api/vfs/LogFiles/kudu/trace
Error: Error: Failed to deploy web package to App Service. Internal Server Error (CODE: 500)
I can't find any meaningful details on this 500 error. I compared the JSON for the functions and storage accounts that are working fine versus the ones that are not and do not see any impactful differences. Does anyone know what I can look for to determine the cause of this failure?