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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Unable to add on-premi...
Power Apps
Unanswered

Unable to add on-premise SQL Server table to Dataverse (external data source)

(0) ShareShare
ReportReport
Posted on by 16

Hello, I hope you are fine.

I'm trying to add a new table from an external data source, using a on-premise gateway connection to our SQL Server DB but I get the error shown in the attached image.

The connection works fine for Power Apps applications and Power Automate Flows. Permissions are ok, I also tried giving db_owner role, but it's not working. Can you help me please? 

Thanks in advance.

 

Dataverse error.png

I have the same question (0)
  • AhmedSalih Profile Picture
    6,678 Moderator on at

    Hello, @wtave, this is a connection issue. try to connect the connection first and see if you can:

    AhmedSalih_0-1675939000977.png

     

     

    If my reply helped you, please give a 👍 , & if it solved your issue, please 👍 & Accept it as the Solution to help other community members find it more.


    I am primarily available on weekdays from 6-10 PM CT and 5-10 PM CT on weekends.


    Visit my Blog: www.powerplatformplace.com


     

     

     

  • wtave Profile Picture
    16 on at

    Good morning, I hope you are fine @AhmedSalih

     

    When I add the connection it works fine and says “Connected”. That connection is working when using the Import function in Dataverse.

     

    I use the same DB and connection (on-premise) with Flow, PowerApps and it works fine.

     

    Only getting an error when using it as external data source in dataverse, as mentioned before and can’t find any information on the error.

     

    Thanks for your reply 🙏🏽

  • mbatutie Profile Picture
    14 on at

    I had issues with my SQL connection for virtual tables as I was using a windows authentication account for my connection (windows auth worked well for all other purposes). Then changed to a different user with server authentication and that worked.  However, my issue was the connection not showing up at all,  without any errors, so might not be it, but worth a try!

  • wtave Profile Picture
    16 on at

    Thanks for your reply @mbatutie 

     

    I always use SQL Server Authentication as we create users for every app. The thing is that as I mentioned it works fine for everything except when usen to create and external data source 😞

     

    Thanks again.

  • AhmedSalih Profile Picture
    6,678 Moderator on at

    @wtave, I tried from my end and I am also getting the same error. I would suggest that you open a Microsoft support ticket. Do you know how you can do that?

     

  • wtave Profile Picture
    16 on at

    Thank you for the response @AhmedSalih.
    I don't know how to create the support ticket, please help me out.

    Thanks.

  • Verified answer
    AhmedSalih Profile Picture
    6,678 Moderator on at

    @wtave, sure: go to https://admin.powerplatform.microsoft.com/ and do the following: 

     

    AhmedSalih_0-1675959280432.png

     

    If my reply helped you, please give a 👍 , & if it solved your issue, please 👍 & Accept it as the Solution to help other community members find it more.


    I am primarily available on weekdays from 6-10 PM CT and 5-10 PM CT on weekends.


    Visit my Blog: www.powerplatformplace.com


     

     

  • wtave Profile Picture
    16 on at

    Thank you again @AhmedSalih .
    I created the support ticket, and I will post the solution here if I get any.

  • AhmedSalih Profile Picture
    6,678 Moderator on at

    @wtave, that will be very useful as this is a new feature and more makers will start to use it.

  • jbiddle Profile Picture
    6 on at

    Marking this as 'solved' is not right.  The 'solution' was to contact support.  How exactly does that count as solved?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard