cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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

 

 

 

 

 

 

 

0 REPLIES 0

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors
Top Kudoed Authors