Azure function vnet integration auto delegate Microsoft.Web/serverFarms
Hi Kyle ,
Hope you are doing good .
I discussed the same with my peers internally and got to know it’s a design limitation .
When ever we deploy a function app via ARM or PowerShell integrating with VNet , the subnet has to be delegated to Microsoft.Web/serverFarms for a successful deployment .
When we do the same from the portal we don’t have to delegate the subnet separately as the UI does it automatically .
Please let me know if you have any questions or concerns on the same . I am happy to assist.
This should be supported in our CLI via “az functionapp vnet-integration add”
Please add a comment on that doc if that is not the case: https://docs.microsoft.com/en-us/cli/azure/functionapp/vnet-integration?view=azure-cli-latest#az-functionapp-vnet-integration-add
In ARM we have no plans to abstract the mechanics behind each service
Thanks for the feedback!