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 / Use data from other Da...
Power Apps
Unanswered

Use data from other Dataverse Environment

(0) ShareShare
ReportReport
Posted on by 601

Dear,

We have two PowerPlatform Dataverse Environments: one Dynamics 365 Sales environment, and one custom Dataverse environment.
In the custom environment, we have some custom entities that we want to be able to read in the Sales environment, to be able to create Orders and Invoices from these entities...

I thought using Virtual Tables in the Sales environment to link to the custom entity in the custom environment, but it seems that it's not possible as stated here: Virtual table walkthrough using the OData Data Provider in Microsoft Dataverse - Power Apps | Microsoft Docs 

You can't use the OData v4 Data Provider to connect to another Microsoft Dataverse environment

I had not read that part before, so I already tried to create a Data Provider to my custom entity, but when trying to get the data in the Sales environment, I got an error "An OData error occurred (0x880040224)", which is likely because of the limitations (or am I doing something wrong...)?

I have also tested the "Dataflow" option, but that would mean I would have to duplicate the data from the custom entities into the sales environment... The same goes with a Power Automate flow that copies data over from one to the other environment...

Is there any other way to read and use the data from one environment in another environment (in the same tenant) without duplicating everything?

We would like to keep the environments separate for security...

Best regards,
Koen

I have the same question (0)
  • Devikumari Krishna Profile Picture
    988 Super User 2024 Season 1 on at

    Hi @KoenJanssensPD ,

     

    Di you manage to resolve this issue?

     

    Unforutnately - Data flows and power automate are the best options. Yes data would get duplicated here.

    If it is only to read why don't you read the data from one environment , map it to html table and embed the html in forms. User can then only view this data and there wont be a duplicate.

    -------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

     

    My Blog: Dynamics 365 Key Topics – https://d365topicsbydk.com/


    My YouTube Channel : https://www.youtube.com/channel/UCxSIryP2ah2VpEFr-Z72t1A

     

    Regards
    Devi

  • KoJaPD Profile Picture
    601 on at

    Hi  @DeviKrishna , 

    Currently I have no "automated" solution...

    The current situation is that I have two environments, one for Operations (Custom Environment) and one for Invoicing (Dynamics Sales 365). All the data that is created by Operations is needed to be invoiced; for now I am exporting the Operations data using Power Query and generate aggregated data that I import manually into the Invoicing system.

    In the ideal situation, I need the operational data to be fed into the Invoicing environment automatically so we can do the necessary stuff for invoicing... I guess I will have to duplicate the data as suggested...

  • Devikumari Krishna Profile Picture
    988 Super User 2024 Season 1 on at

    Hi @KoenJanssensPD ,

    Yes. That's right.

    -------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    My Blog: Dynamics 365 Key Topics – https://d365topicsbydk.com/


    My YouTube Channel : https://www.youtube.com/channel/UCxSIryP2ah2VpEFr-Z72t1A

     

    Regards
    Devi

  • ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @KoenJanssensPD,

     

    Yes the unfortunate limitation of using the out of box odata provider is that it won't handle the OAuth2 authentication part.

     

    You can use Virtual Tables but you'll have to write the plugin code for Crud operations, including any authentication handler code. You can use an Application User to authenticate to the environment, but then use impersonation when making requests so that operations and queries are automatically filtered based on the impersonated users privileges in the target environment, respecting the existing security model.

     

    I'm hoping that eventually with the new Virtual Connector Provider concept a provider for Dataverse will be natively provided so that this type of integration can be natively available without duplicating data across environments and managing complex synchronization. 

     

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

  • KoJaPD Profile Picture
    601 on at

    Hi,

    Thank you for the insights.

    Since I don't need CRUD operations on the "operational" data from within the "invoicing" environment,but only read the data, it would be overkill to develop plugins, no?

    It would indeed be awesome if we could use virtual tables with data from another dataverse environment! If we would have any clue if and when this would become available we could act upon...

  • Devikumari Krishna Profile Picture
    988 Super User 2024 Season 1 on at

    Hi @KoenJanssensPD ,

     

    Currently there is no updates on virtual tables within same tenant and different environment.

    Please submit it as idea or create a MS Support ticket for better options.

     

    -------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    My Blog: Dynamics 365 Key Topics – https://d365topicsbydk.com/


    My Youtube Channel : https://www.youtube.com/channel/UCxSIryP2ah2VpEFr-Z72t1A

     

    Regards
    Devi

  • ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @KoenJanssensPD,

     

    You can just write the plugin code for retrieve (single) and retrieve multiple, you don't need to write the Create/update/delete parts. Just grant read privileges (and optionally append/append-to) to the security roles.

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

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 Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard