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 / Power Automate / Can Power Automate Des...
Power Automate
Unanswered

Can Power Automate Desktop execute Microsoft Dataverse?

(0) ShareShare
ReportReport
Posted on by 4

Hello,

I am interested in integrating Power Automate Desktop with Microsoft Dataverse.
Specifically, I would like to understand how to utilize the "Execute SQL statement" action to extract data from Microsoft Dataverse (<env>.crm3.dynamics.com)


Thank you for your assistance.

I have the same question (0)
  • Srini007 Profile Picture
    3,471 Super User 2026 Season 1 on at

    Hi @mickuj 

     

    I believe it's not possible to Execute SQL Statement action, because to use this action it requires a SQL connection & SQL Tables

     

    If you find this reply helpful, please consider giving it a LIKE AND

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION

     

    Thanks,

    Srini

  • mickuj Profile Picture
    4 on at

    Hi @Srini007 

    I can get an SQL connection using Microsoft SQL Server Management Studio.
    Please see below.

    2023-10-19_10-53-03.jpg

     

     

    Best,
    Michal

  • Srini007 Profile Picture
    3,471 Super User 2026 Season 1 on at

    Hi @mickuj 

     

    If you have the SQL Connection and you have the Queries to execute then

    YES you can use Execute SQL Statement action

     

    Check below documentation for your reference

    https://learn.microsoft.com/en-us/power-automate/desktop-flows/actions-reference/database

     

    If you find this reply helpful, please consider giving it a LIKE AND

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION

     

    Thanks,

    Srini

  • mickuj Profile Picture
    4 on at

    Hi @Srini007 

    The thing is that when connecting by SQL SMS I use Azure Active Directory - Universal with MFA.
    I don't see this option in PAD.
    2023-10-19_11-18-28.jpg

     

    Best,
    Michal

  • Srini007 Profile Picture
    3,471 Super User 2026 Season 1 on at

    Hi @mickuj 

     

    Yeah, Currently the Azure Directory is not supported in the SQL Connection Action

    One way you can look is probably you need to write a C# code using Run .NET script

     

    If you find this reply helpful, please consider giving it a LIKE AND

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION

     

    Thanks,

    Srini

  • Gauravg Profile Picture
    6 on at

    Yes, use REST API from dataverse 

    https://spgaurav.blogspot.com/2024/04/dataverse-d365-rest-web-api-using.html?m=1

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 > Power Automate

#1
Vish WR Profile Picture

Vish WR 791

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 535

Last 30 days Overall leaderboard