Hi,
I'm trying to teach myself more around virtual entities, and have a use case at my organisation to display some data (opportunity reference numbers and names) from one Dynamics instance in Environment A, in a model driven PowerApp in environment B (no Dynamics here, using PowerApps licenses). These need be read only.
I'm struggling to find decent information to set this up, and even more so I can't seem to access the Virtual Entities Datasource element through the advanced settings (which appear as below).
Is someone able to advise whether what I'm trying to do is a sensible appraoch + why the datasource setting doesn't appear in my environment?
Thanks,
Solved! Go to Solution.
Unfortunately you are about 6 months early in what you want to do without more effort required. What I think you are essentially asking for is:
As you are using a model driven app in Environment B, you still have a dataverse database sitting behind the scenes to host the model driven app, but to be able to run queries on the target dataverse database, you'll need to be able to do authentication (generate a bearer token for the target dataverse environment) which the current providers don't do. You would either have to develop your own provider, or expose an azure function that uses api keys to control access, and could then authenticate against other database environments
Also, to get to the Virtual Entity Data Sources you just need to click on the "Administration" menu item underneath "System" in your screenshot.
Unfortunately you are about 6 months early in what you want to do without more effort required. What I think you are essentially asking for is:
As you are using a model driven app in Environment B, you still have a dataverse database sitting behind the scenes to host the model driven app, but to be able to run queries on the target dataverse database, you'll need to be able to do authentication (generate a bearer token for the target dataverse environment) which the current providers don't do. You would either have to develop your own provider, or expose an azure function that uses api keys to control access, and could then authenticate against other database environments
Also, to get to the Virtual Entity Data Sources you just need to click on the "Administration" menu item underneath "System" in your screenshot.
@eleung83 thank you for your help with this, exactly what I was looking for, just couldn't pin down the information.
User | Count |
---|---|
20 | |
11 | |
9 | |
5 | |
5 |
User | Count |
---|---|
32 | |
32 | |
17 | |
14 | |
7 |