Azure APP Services is a convenient way to set up your application with PaaS. It comes with a lot of features and removes the headaches of Server management or maintenance.

This illustration focuses on a connecting an App Service to a VNET and taking advantages of the resources within the VNET (Such as Private SQL, Storage and much more) in an Azure environment.


  • Knowledge of Azure
  • Knowledge of Subnets
  • Virtual Network
  • App Service (PremiumV2 or Higher)

# The resources to be accessed by the App Service could be in the same resource group. (They may be in separate resource group and region or even subscription directory).

# For now, I have not seen where Microsoft explicitly says that App Service (Standard) cannot add a VNET to its Network but I have tried I can tell you that it most likely will not work with a Standard App Service Plan.


  • Go to your resource group where resources such as VMs are located.
  • Select the Virtual Network
  • Select Subnets from the side menu
select subnets (side menu)

# For existing infrastructure, you may want to ensure you have enough address space.

  • Add new Subnet from the plus option (top of page)
add new subnet/list preview

# If the App service and the VNET are in different regions, you may want to use a Gateway subnet instead.

  • From the pop menu, fill in the NAME and SUBNET ADDRESS RANGE (preferable /27 which is 32 address could be used).
popup form preview
  • Click save at the bottom of the popup form.

# I found subnets that were assigned to other resources not so compactible when integrating with App Services. Try not to add other resources to the subnet of choice.


  • Go to your App Service, Under Settings select Networking
  • Select the “Click here to Configure” under VNet Integration
  • Click on Add VNET,
pending integration with VNET
  • Select the subscription for the Virtual Network, then select the Network. This will show the list of subnets available under the Virtual Network. Select the subnet that was just created.
select the subnet preview

# The App Service (PremiumV2) takes only one VNet Integration at a time. If you want to connect to other VNET, you will have to do more configurations on the Virtual Network.


  • This Virtual Network has no Gateway — You might see this error if something goes wrong. It seems to be the common feedback when ever something is not right. Do a refresh of the page and try again. If it does not work, lets talk about it.


The success of this configuration allows your App Service to connect with virtual machines or other resources with their private IP which improves the security of your application.

There is a lot that can be done to increase the security of your application and this is one of the ways to achieve such using Azure app services VNET Integration.

I will be exposing more tips and trick every month





Software Engineer | Cloud Infrastructure Engineer | Database Architect | The one who likes video games and his community.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

6 Good Reasons to Learn Docker

lineMacOS Catalina Hangi Uygulamalar Çalışır Hangileri Çalışmaz? Uyumsuzluk Sorunu

Syncing Up “asdf”


Load testing Azure IoT solutions with Pulumi

Cloudera’s Hadoop CAP | Homework Guide — Part 1

How to use the “compose” function in Qiskit

Project Manager for One — 5/19 Sunday Execution Report

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Benjamin Isong

Benjamin Isong

Software Engineer | Cloud Infrastructure Engineer | Database Architect | The one who likes video games and his community.

More from Medium

API Security Testing With Postman and OWASP Zap

How to easily detect issues in your YAML files

Best Practices for Data Driven API Testing

Azure Monitor for SAP Solutions