In this article, we are going to learn about virtual
network. What is Virtual Network? Advantage of using VNet.
How Logic Apps can communicate to Azure Resources i.e.:
Storage Account deployed in a VNet.
What
is Azure Virtual Network?
Azure Virtual Network (VNet) is the fundamental building
block for your private network in Azure. VNet enables many types of Azure
resources, such as Azure Virtual Machines (VM), to securely communicate with
each other, the internet, and on-premises networks.
Virtual Network scope is a single region, but virtual
networks of different regions can be connected together by virtual network
pairing.
Pillar
of VNet:
- Address space
- Subnets
- Regions
- Subscription
Below
are the steps involved in this Article:
Step 1# Create a Virtual Network/ Subnet
Step 2# Add a Storage Account in this Virtual Network
Step 3# Create an Integrated Service Environment
Step 4# Create a Logic App inside ISE
Step 5# Access Storage Account in this Logic App
Step
1# Create a Virtual Network
Open Azure Portal: https://portal.azure.com/
#: Create a Resource- Virtual Network.
#: Click on Create

Image 1.
Enter Name, Address Space, Select your Subscription &
Resource Group and enter Subnet information.

Image 2
Click on Create.

Image 3.
Virtual Network has been created. Now create 4 new
subnets as while creating ISE (Integrated Service Environment we need 4 empty
subnets)
To add new subnet click on Subnets option.

Image 4.
Step
2 #: Create a Storage Account and deployed in this Virtual Network

Image 5.

Image 6.
Click on Review + Create.

Image 7.
I have created 2 Container inside this Storage account:
1. input
2. output
If I try to access this container, then I will get below
error. Because I am not accessing this storage account from inside VNet or my
Client IP is not added

Image 8.
Go to Firewalls & Virtual Networks options:

Image 9.
Step
3#: Create an ISE (Integrated Service Environment)
What
is an Integration Service Environment?
An Integration Service Environment is a fully isolated
and dedicated environment for all enterprise-scale integration needs. When you
create a new Integration Service Environment, it is injected into your Azure
virtual network, which allows you to deploy Logic Apps as a service on your
VNet.
Create new ISE:

Image 10.
Here in Virtual Network selection, I selected
RSVirtualNetworkDemo and 4 empty subnet. Here I selected (subnet2,
subnet3,subnet4, subnet5).
In Storage Account I selected subnet1.
Notice the thing, later we will discuss more on this.

Image 11.
ISE (Integrated Service Environment has been created).
Now time to create a Logic App inside this ISE
(Integrated Service Environment).
Step 4#: Create a Logic App and select below values.

Image 12.
Design Logic App : Create a Blob inside Container.

Image 13.
Now create a Storage Account Connection.

Image 14.
Now try to access Storage Account Container.

Image 15.
Above error because in Storage Account we did not allow
those subnet which we have in our ISE ie: (subnet2, subnet3, subnet4, subnet5)

Image 16.
Add all subnet of ISE in Storage Account Firewall.

Image 17.
Now Containers are available in Logic App J

Image 18.
Now Logic App will run successfully. Blob started
creating.

Image 19.