Error adding WebApp to VNET

SaiKan 1 Reputation point
2022-02-09T20:31:39.563+00:00

Ive been fiddling with this for a few hours now and getting nowhere.

  1. I have a VNET with multiple subnets
  2. The VNET has a Site to Site connection to an internal network
  3. I have a Web App running fine
  4. I need the Web App to access an internal SQL Server on one of that Subnet in the VNET
  5. When I try to add the subnet under VNET Integration in the Web App I get the error

"Configure VNet to the app
An error has occurred."

There is no explanation anywhere as to what is causing the error.

Azure App Services
Azure App Services
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,608 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vidya Narasimhan 2,186 Reputation points Microsoft Employee
    2022-02-12T20:04:08.893+00:00

    @SaiKan Web App Vnet integration requires a dedicated subnet. All subnet requirements for Vnet integration are described in this link https://learn.microsoft.com/en-us/azure/app-service/overview-vnet-integration

    Please go through the documentation and verify whether your chosen subnet meets those requirements.

    Thanks!