Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Unanswered

Relation Problems with Virtual Tables (Virtual Connector Provider)

(0) ShareShare
ReportReport
Posted on by 29

Hi Guys,

we have a pretty old on-premises SQL-Server based CRM system. To access the Data easily within MS Power Platform tools, we installed the on-premises Data Gateway. As we don’t want to modify the original Datamodel, we are planning to solve this via Dataverse Virtual Tables. The Virtual Connector Provider (VCP) Preview looks like a good way to deal with it.

I followed the instructions from https://docs.microsoft.com/en-us/powerapps/developer/data-platform/virtual-entities/create-virtual-tables-using-connectors and now I can see and create all the tables and access the data.

However, there are a few strange behaviors and one big problem. I know the feature is still in a preview... but maybe someone can help me out here. Maybe it is not connected to VCP at all.

 

Problem:

Relationships between Virtual Tables and native tables are not working. As a result, a can only lookup correctly 2 of 3 Virtual Tables. Adding a record only saves 1 out of 3 lookup values.

 

Let me try to show you the facts:

I added 3 Tables via the VCP (yellow)

Arne_Christmann_11-1646596909410.png

 

and created 1 native table (blue). My goal is, to connect those via the native table.

So I created 3 lookup cols in the blue table.

Arne_Christmann_12-1646596960960.png

 

They also have (seemingly) correct relations to the VCP tables

Arne_Christmann_13-1646596974313.png

 

I added those columns to the main form as well:

Arne_Christmann_14-1646596987644.png

 

 

And now the strange behaviour kicks in.

 

When I try to add a record through Dataverse the main form is invoked:

Arne_Christmann_15-1646597014663.png

 

 

The lookup for the first column works just fine. Unfortunately, the lookup for the second column shows only 1 out of 3 records:

Arne_Christmann_17-1646597071127.png

In Dataverse, I can see all 3 records..

Arne_Christmann_18-1646597143317.png

Also interesting: When I try the advanced search, the result is one different record:

Arne_Christmann_20-1646597184599.png

 

 

The lookup for the third column works good - it shows all records:

Arne_Christmann_21-1646597209241.png

 

So just before I hit the save button, the complete record looks like this:

Arne_Christmann_22-1646597221446.png

 

Once, the save button was hit, the second and the third column changes:

Arne_Christmann_23-1646597240691.png

 

Dataverse shows the same result:

Arne_Christmann_24-1646597260534.png

 

Does anyone have a clue what I am doing wrong? Why is only one out of two values stored correctly?

Categories:
  • Nhelgren Profile Picture
    on at
    Re: Relation Problems with Virtual Tables (Virtual Connector Provider)

    Hi Arne, please log a bug on this behavior and we will review.

  • Arne_Christmann Profile Picture
    29 on at
    Re: Relation Problems with Virtual Tables (Virtual Connector Provider)

    And here is another strange behavior; While the VCP Solution creates and synchronizes those custom entities, it also creates a primary key (GUID) for it. In my understanding, it has to be unique. But it isn't..

    Arne_Christmann_0-1646666155826.png

     

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Microsoft Dataverse

#1
stampcoin Profile Picture

stampcoin 17

#2
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 9 Super User 2025 Season 1

Overall leaderboard

Featured topics