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 / How to import SQL data...
Power Apps
Unanswered

How to import SQL database data into Dataverse

(0) ShareShare
ReportReport
Posted on by

Hi I'm new to Dataverse and I'm having issues trying to load data into Dataverse table using sql database as my data source. The process overall seem fairly straightforward as I'm able to connect to my preferred database and when I navigate to the Power Query page of the setup I'm able to see the query executing fine without an incident. On the next page, "Map Table", I'm asked to pick a Unique primary name column when I select a field that has unique set of numbers and doesn't duplicate. The field type is a whole number, however, when I set it as Unique primary name column it changes to a text field. When I proceed to the next page where I set the frequency of data refresh and publish the table, I get a msg that reads "There was a problem refreshing the dataflow. Please try again later. (Request ID: e413a7fb-0f10-4180-8cce-f0c40e7c8538)." Has anyone come across this and how did you resolve it?

 

I should mention that I did another one where I'm setting the "Unique primary name column" field as ""autogenerate". This did not work either and also produced the same error msg.

 

In PowerApp when I navigate to "Tables" I can see the table but it's basically empty but has the headers of the sql db that I'm attempting to pull... 

mapping3.png
mapping2.png
mapping1.png
I have the same question (0)
  • ivan_apps Profile Picture
    2,189 Moderator on at

    So what I think is happening is that you are using your SQL unique id but what Dataverse is expecting is a GUID. That’s dataverse’s primary key field so it’s probably looking for that format so it makes sense it forces it to a text field. The option to auto-generate is probably what you want, and map your ID to another field that is whole number. That can probably also be defined as an alternate key to ensure uniqueness. If you continue getting errors open up the dataflow created and view details of the run. It should give you more detail as to why it failed.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 385

#2
Vish WR Profile Picture

Vish WR 367

#3
timl Profile Picture

timl 340 Super User 2026 Season 1

Last 30 days Overall leaderboard