I am attempting to assign a VNET to the Azure Function on Flex Consumption plan. I am performing the following steps
I don't have support plan, but when I tried to open ticket I performed the diagnostics and it said that my VNET is good and I should be able to add it.
I expected the VNET to be assigned. The error message does not provide enough information for troubleshooting.
I had similar issues without clear error messages. After filing a support ticket I was pointed to the following documentation: https://learn.microsoft.com/en-us/azure/azure-functions/flex-consumption-plan#considerations
Make sure your Subnet delegation is set to: Microsoft.App/environments and that the Microsoft.App resource provider is registered for your subscription. Azure Functions Flex Consumption plan is part of Project Legion which brings Azure Container Apps and Azure Functions closer together, hence the requirement of Microsoft.App/environments instead of Microsoft.Website
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With