web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Connecting PVA and SQL...
Copilot Studio
Unanswered

Connecting PVA and SQL server using power automate

(0) ShareShare
ReportReport
Posted on by 6

I am trying to connect create a chat bot using power virtual agents, so i need to connect PVA to Azure SQL server using power automate to execute the query so that the bot will fetch the answers, i need help in connecting PVA to azure SQL database.

Categories:
I have the same question (0)
  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Hi @Subha ,

     

    Thanks for using the PVA! 🙂

     

    You can question the user to get the variables and parameters that you want to use inside your Query like "Project name, Status, or something like that".

    After to question to the user, you can create an action calling Power Automate.

    Inside your Power Automate, you can create inputs (parameters) that you want to receive.

    Inside your Power Automate, you can create a connector SQL Server: https://flow.microsoft.com/pt-br/connectors/shared_sql/sql-server/

     

    And the result, you can use markdowns to return using outputs to the PVA: https://docs.microsoft.com/en-us/power-automate/approvals-markdown-support

     

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Renato Romão
    https://www.linkedin.com/in/renatoromao/

     

  • Subha Profile Picture
    6 on at

    I am facing issues in connecting to the sql server using power automate.. so step wise instructions would be helpful or any blog which clearly explains about the connection to the SQL server would be great . Thanks

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    @Subha ,

     

    Can you take some pictures of your workflow, please?

     

    ---

    Thanks!

    Renato Romão

    https://www.linkedin.com/in/renatoromao/

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 633

#2
Vish WR Profile Picture

Vish WR 301

#3
Haque Profile Picture

Haque 216

Last 30 days Overall leaderboard