Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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

 

 

 

 

 

 

 

3 REPLIES 3
AbhiSSRS
Solution Sage
Solution Sage

yes, this could be done, just refer on connection to Azure sql from PA.

daniyal
New Member

Hi, can this also be done for Azure SQL database?

AbhiSSRS
Solution Sage
Solution Sage

This is my post!!!

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors