cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Administrator
Administrator

Building Power Virtual Agent responses from on-premise SQL Server Database of Legacy Application

Building Power Virtual Agent responses from on-premise SQL Server Database of Legacy Application

 

If you are building a PVA for a legacy application which has crafted a web interface for Customers but the data you need to fetch resides in an On-Premise SQL Server being used by a WIndows Client, this approach comes in handy. I had to fetch job description from an on-premise SQL Server for my PVA hosted on a standalone marketing site web Page. SO below steps were followed in integration with a Power Automate Flow.

 

 

Create a new Flow with a SQL GetRow action or alternate step and configure the connection with your On-Premise SQL Server. Configure a query with Inputs from the PVA or a direct query to simply fetch the rows.

This is achieved by adding a Gateway for your on-prem database and using that on Power Automate Gateways.

Now once this is saved, call this flow from your PVA Authoring canvas and your PVA would be able to respond to user input 

based on data fetched from on premise SQL Server.

 

Building Power Virtual Agent responses from on-premise SQL Server Database of Legacy Application

Note: Please follow the steps bottom up in case implementing this starting from Gateway!

This is achieved by creating a flow and call as an action from your PVA.

 
 

image.png

 

Create a new Flow with a SQL GetRow action or alternate step and configure the connection with your On-Premise SQL Server.

 

image.png

 

This is achieved by adding a Gateway for your on-prem database

image.pngimage.png

image.png

 

 

 

 

 

 

 

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (4,384)