Introduction
If you are a novice to the Azure Cloud and want to learn what a logic app is, then go through my previous articles.
- An Overview of Cloud And Azure Cloud
- Pillars of Cloud And Azure Services
- How To Store Files in SFTP Using Azure Logic App
Before you go through this article, it is recommended to go through below parts of this section,
In this article, we will learn how to connect on-premise SQL Server from Microsoft Flow using an on-premise data gateway.
Scenario
This article will help you to understand how to use Azure on-premise gateway with the help example - connect on-premise SQL server from Microsoft Flow, step by step.
Pre-requisite
- Basic knowledge of Azure services
- Basic knowledge of on-premise data gateway
- Install and configure on-premise data gateway
- Office 365 account with flow subscription enabled
Background
We have got an overview of Azure on-premise data gateway and how to install/configure the same in the last two parts.
In this article, we will be exploring how to use this gateway to insert a row in an on-premise SQL server table from Microsoft Flow.
Overview
Let’s ready and gear up to execute the steps.
Step 1. Ready with SQL server table with few columns like Id, Name, Flag.

Step 2. Check on-premise gateway is online and ready to use.

Step 3. Open and log in to the Microsoft Flow portal
Step 4. Create connections in Microsoft Flow.
Click on the connections option present under the data category.

Step 5. Click on the ‘Add connection’ option.

Step 6. Search for ‘SQL server’ and click on Create Link.

Step 7. Select the option to connect using an on-premise data gateway. Also enter, the remaining parameters like SQL server name, database name, its authentication type, and select gateway. Then, click on the Create button.
Note. The system automatically populates a list of gateways that are present for your account.

















Join the conversation! Your thoughts help the community grow.