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 Pages / Virtual entity from SQL
Power Pages
Suggested Answer

Virtual entity from SQL

(1) ShareShare
ReportReport
Posted on by 6
Hello,
I have a requirement to build a PowerApp that needs a table from Dynamics GP, thus I am using the SQL connection and creating a virtual table. I get no errors through the process but upon Finish, the content of the table doesn't show. I get the message "Something went wrong, we weren't able to open your table. Try reloading or reopening."
I have tried with a different table also and I still get the same message. 
Anyone know why?....
GP Table.PNG
Categories:
I have the same question (0)
  • Suggested answer
    Jon Unzueta Profile Picture
    1,834 Super User 2026 Season 1 on at
     

    You're encountering an issue where a virtual table created from a Dynamics GP SQL connection in Power Apps shows no errors during setup, but fails to load with the message:

    "Something went wrong, we weren't able to open your table. Try reloading or reopening."

    This is a common challenge when working with Dataverse virtual tables, especially when sourced from SQL Server. Based on Microsoft's documentation and community insights, here are the most likely causes and how to resolve them.


    ✅ Key Troubleshooting Areas

    1. Missing Required Fields

    Virtual tables require:

    • At least one string field to serve as the primary name column
    • At least one GUID or integer field to serve as the primary key

    If your Dynamics GP table lacks either of these, the virtual table will fail silently or show loading errors .

    2. Unsupported Data Types

    Dataverse virtual tables do not support:

    • File or image columns
    • Calculated or rollup fields
    • Attachments
    • Columns exceeding 4,000 characters

    If your SQL table includes any of these, the virtual table may fail to render .

     

    3. Data Gateway Configuration

    Ensure that:

    • The on-premises data gateway is installed and running
    • The gateway is registered in the same environment where you're creating the virtual table
    • The SQL connection uses Windows or SQL authentication, not integrated security

    Misconfigured gateways are a common cause of virtual table failures.

     

    4. Table Permissions

    The SQL user used in the connection must have:

    • SELECT permissions on the table
    • Access to any views or joins used in the virtual table definition

    Lack of permissions can cause the table to appear blank or inaccessible.

    5. Record Limits

    Virtual tables are limited to 1,000 records per query. If your table exceeds this, and no filters are applied, the query may fail.

     


    🛠️ Recommended Fixes

    1. Check the SQL Table Schema

      • Confirm it has a GUID or integer primary key
      • Add a string column if none exists to serve as the primary name
    2. Use a SQL View Instead

      • Create a view that selects only supported columns
      • Avoid joins or calculated fields
      • Use this view as the source for your virtual table
    3. Recreate the Virtual Table

      • Delete the existing virtual table
      • Recreate it using the simplified view
      • Use the Power Apps Maker Portal → Tables → Add Table → From external data
    4. Enable Logging

      • Use the Monitor tool in Power Apps to trace the error
      • Check the Dataverse plugin trace logs if enabled
     
    🏷️ Tag me if you have any further questions or if the issue persists.
    ✅ Click "Accept as Solution" if my post helped resolve your issue—it helps others facing similar problems.
    ❤️ Give it a Like if you found the approach useful in any way.

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
DP_Prabh Profile Picture

DP_Prabh 51

#2
rezarizvii Profile Picture

rezarizvii 35

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 35 Most Valuable Professional

Last 30 days Overall leaderboard