cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
corew50
Advocate I
Advocate I

Reporting Replica or Keeping Entities in Sync

Hello everyone,

 

I am trying to figure out how I can keep entities in sync between different environments.  One use of this would be that my test environement has the same data as my prod environment to make for better testing.  The other use would be to create a reporting replica so that my reports don't pull off of production data.  I haven't seen any way to do this so far.

 

I looked at data integration projects, but those all seem to be for data external to CDS coming in.

1 ACCEPTED SOLUTION

Accepted Solutions
v-siky-msft
Community Support
Community Support

Hi @corew50 ,

 

Do you want to copy entity from production entity to test entity and keep data in sync with each other?

Though in PowerApps, I think it is not supported at this stage to keep Entities in Sync between environments.

However, via Flow, you may can realize that, although it's a little bit complicated.

 

In Flow, it is unable to synchronize directly between entities from two different environment.

But we can use SQL to transfer.

  1. Create the first flow to transfer entity to SQL in environment A.
  2. Create the second flow to sync SQL to CDS entity in environment B

For more help, maybe you can post on Microsoft Flow Community or refer to these similar thread:

Sync SQL table into CDS

How-to copy attachments from the CDS to SharePoint Online

 

Best regards,
Sik

View solution in original post

4 REPLIES 4
v-siky-msft
Community Support
Community Support

Hi @corew50 ,

 

Do you want to copy entity from production entity to test entity and keep data in sync with each other?

Though in PowerApps, I think it is not supported at this stage to keep Entities in Sync between environments.

However, via Flow, you may can realize that, although it's a little bit complicated.

 

In Flow, it is unable to synchronize directly between entities from two different environment.

But we can use SQL to transfer.

  1. Create the first flow to transfer entity to SQL in environment A.
  2. Create the second flow to sync SQL to CDS entity in environment B

For more help, maybe you can post on Microsoft Flow Community or refer to these similar thread:

Sync SQL table into CDS

How-to copy attachments from the CDS to SharePoint Online

 

Best regards,
Sik

View solution in original post

I think you're asking about 2 different topics: synching data between CDS environments, and creating a replica for reporting (which may or may not be in CDS).

For synching data between CDS environments, I'd normally use a tool to do scheduled or ondemand updates, e.g. SSIS with the KingswaySoft component

For a reporting replica, you could use the Data Export Service to sync data to a SQL database in Azure, which has the advantage of giving you direct SQL access for reporting

Thanks for the response.  They could be two different topics, but for me they would be the same.  Our intention is to create a reporting replica in CDS.  I see that you have reccomended an external tool to keep the CDS environments in sync.  Does that mean that there isn't some sort of internal way of handling this?  

 

The data export service may be a good way to go.  Do you know if that handles custom entities as well?  We have both Dynamics 365 data and custom entities that drive canvas apps.

JimMeldrum1
Helper II
Helper II

Old topic but this was a question I had and I found the answer here: -

 

Migrate data between Microsoft Dataverse environments using the dataflows OData connector - Power Ap...

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Kudoed Authors
Users online (15,275)