question

ChrisAshton-9806 avatar image
0 Votes"
ChrisAshton-9806 asked ·

Unable to add App Service to VNet

Hi,

I've been able to add an App Service to a VNet using the Networking > Add VNet (preview) functionality.

I would like to add a second App Service to a different VNet, but whenever I attempt to do this I receive the following error:

 VNet configuration failed.: Adding this VNET would exceed the App Service Plan VNET limit of 1. 

The two App Services in question belong to different S1 App Service Plans and are the only App Service in their respective plan.

Am I really only allowed to add one App Service in my entire subscription to a VNet, or am I missing something?

Any help greatly appreciated.

Thanks,

Chris


azure-webapps
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ChrisAshton-9806 avatar image
0 Votes"
ChrisAshton-9806 answered ·

Hi @pituach,

In the mean time I have found a solution... I tried resizing my App Service Plan 2 up and down a few times and adding to VNet 2 to no avail. However, when I recreated the App Service Plan to create App Service Plan 3, I was able to Add App Service 3 to VNet2 i.e. my end setup was as follows:

App Service Plan 1

  • VNet 1 with Subnet 1

  • App Service 1 (web app) placed in Subnet 1

App Service Plan 3

  • VNet 2 with Subnet 2

  • App Service 3 (web app) placed in Subnet 2

Not sure if I'd misconfigured something along the way (unlikely because the setup is pretty simple), or if something was also corrupted in App Service Plan 2?

Thanks again,
Chris

· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

pituach avatar image
0 Votes"
pituach answered ·

Good day Chris.

Please check if the following thread answer your question (check SamaraSoucy's last respond):

https://social.msdn.microsoft.com/Forums/en-US/a8b51183-d94b-48c9-9b6c-e6a4dbec9919/vnet-integration-limit-of-1?forum=azureappconfiguration

You can also check the following discussion: https://github.com/MicrosoftDocs/azure-docs/issues/32922


· 1 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @pituach,

Thanks for the reply.

Just for clarity, this is what I was trying to achieve:

App Service Plan 1

  • VNet 1 with Subnet 1

  • App Service 1 (web app) placed in Subnet 1

App Service Plan 2

  • VNet 2 with Subnet 2

  • App Service 2 (web app) placed in Subnet 2


I believe this set up is consistent with what SamaraSoucy was suggesting is possible, as there is 1 subnet per App Service Plan.

Thanks




0 Votes 0 · ·