Web App - Vnet Integration

PatricS 61 Reputation points
2021-08-25T16:17:10.03+00:00

Hi!

When deploying a web app with vnet integration through bicep/arm the portal throws an error afterwards when looking at the resource under network/vnetintegrations.
The deployment is working and the vnet integration is in place when looking in through resource explorer.
(havent tried it yet)

the error: "Only supports nested resources"
see the picture

bicep part:

resource webApp1NetworkConfig 'Microsoft.Web/sites/networkConfig@2021-01-15' = {  
  parent: webApp1  
  name: 'virtualNetwork'  
  properties: {  
    subnetResourceId: subnetId  
  }  
}  

126451-vnetintegration.png

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,933 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Rob Bowman 221 Reputation points
    2021-11-30T09:07:08.45+00:00

    I’m getting same problem but only when deploying to vnets that have an app gateway deployed. Could this be related?

    0 comments No comments

  2. Simon Balahang Jensen 0 Reputation points
    2023-02-16T09:41:48.2533333+00:00

    Hi -
    I am also facing this isse


  3. Prasanth K S 40 Reputation points
    2023-05-12T06:31:39.9666667+00:00

    I too have same issue with one of my appservices can someone give me a solution.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.