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 Apps / Connect to Dataverse T...
Power Apps
Unanswered

Connect to Dataverse Table from Dataflow

(1) ShareShare
ReportReport
Posted on by 12

I'm having problems connecting to existing Dataverse tables from a new Dataflow.  

 

I've got several Dataflows running currently, pulling data from on-premises, manipulating it and saving it to Dataverse tables.  I'm working on a new Dataflow that needs to reference a couple of those existing tables.  

 

I've built it all in Power BI and it's working fine but I can't successfully translate it to a Dataflow.

 

If I try to 'Connect to data source' using type 'Power Platform dataflows' I see an existing connection of type 'Organizational account' but when I connect I see nothing under 'Environments' or 'Workspaces' (even after expanding and refreshing).    Creating a new connection gives me the message "Invalid credentials" followed by a Session ID. 

 

I've also tried to connect using SQL as the connection type - this also works fine using Power BI but not in a Dataflow.   I've done this by trying to set up the SQL connection fresh and by copying the working connection information into the 'Advanced editor'.    Either way I run into similar authentication issues.  I'm basically repeatedly prompted to connect no matter how I try to do so. 

 

One odd fact - when entering credentials for the SQL connection.   When I select 'Authentication kind' I do not see the option for 'Organizational account', only 'Windows', 'Basic', and 'Microsoft account'.    I've tried all of these, both with the checkbox for 'Use Encrypted Connection' check and unchecked...   

 

I believe I should be able to connect to these tables.   Can anyone give me any advice?

 

Thanks,
James

I have the same question (0)
  • Charles Seguin Profile Picture
    401 on at

    You make a very valid point. The work process for my organization is quite similar. I've struggled with the exact same issue. Unfortunately, while it is very easy to get data into Dataverse, it is a bit more complicated to work with it once it is there.

     

    I discussed this issue with a Microsoft engineer who works on the dataflow team just last week. Here was his answer:

    "This [using Dataverse as a dataflow source] is supported today. I will take an action item to update different documentation articles to make sure the explanation I provide below is more accessible. Here are the details:

    Dataverse supports an OData endpoint which you can access with the ODATA connector available in Dataflows. You would need to obtain the organization name, and create a URL like this: https://yourorgname.api.crm.dynamics.com/api/data/v9.1/

     

    We are working with the Dataverse team to include their Dataverse connector in the Dataflow’s “Get Data” screen’s list of connectors, to make this process simpler (i.e. you would not need to construct the URL above yourself) but I don’t have an ETA for that just yet."

     

    Before I knew about this, I developed my own crude and dirty solution. I'm not proud of it, but it got the job done. 

    If I need to merge incoming data with Dataverse data to perform calculations, I simply connect back to the same external source I had initially used to import the data into Dataverse in the first place. So in effect, I wasn't using the data in Dataverse at all.  This worked because my application had the same data in both places.

     

    Sometimes, it isn't that easy, because your dataflow needs data that was created within Dataverse, in opposition to simply referencing data that was imported there from an external source and not transformed along the way. So I devised another even dirtier and cruder solution.

     

    Often the values you need to leverage in dataflows are the ones created by users interacting with Dataverse through Power Apps, or indirectly through Power Automate. In those cases, I created a Power Automate flow to update a (*gasp*) Sharepoint list upon the modification of a relevant record in Dataverse. Then, I could easily retrieve it in my dataflow.

     

    I recommend you do not follow this advice. I am a little ashamed of it actually. But sometimes there's a deadline and your minimum viable product depends on things like this working. So I got it working. 

     

    You should do what the Microsoft engineer said, he knows his stuff. Hopefully, the Dataverse team comes through with that Dataverse Dataflow connector so no one ever has to apply this nasty solution of mine. ‌‌


    So I encourage you all to vote on @crmkeeper 's idea here:

    https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Dataflow-connectors-should-have-CDS-connector/idi-p/433767

     

    Cheers and keep 'em flowin'

    Charles

  • Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at

    Use oData, you can find the url for your instance under  

    • for the classic interface: (under the cog in the right hand side of the banner) Advanced Settings->Settings->Customization->Developer Tools (the one for Instance Web Api on that page)
    • for https://admin.powerplatform.microsoft.com/environments: select the environment and then Settings->Resources->All legacy settings->Settings->Customization->Developer Tools (Instance Web Api on that page)
  • James_L Profile Picture
    12 on at

    Thank you @CharlesS and @Fubar!    

     

    I'll give oData a shot.

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @James_L, yes oData is the method to integrate between two Dataverse environments, see this post: https://powerusers.microsoft.com/t5/Microsoft-Dataverse/CDS-to-CDS-Data-Integration/m-p/586311 

    Cheers! 

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard