Do not overwrite the Primary Key field for entities when refreshing a Data Integration project
Submitted byHSheildon06-09-201812:19 AM
When using the Refresh Project action for CDS Data Integration projects, all of the data for that entity gets overwritten including the Primary Key field.
For Dynamics 365 and Model Driven PowerApps this is a huge issue as lookup fields get broken and lose the reference to the related entity when the related entity is refreshed vis CDS data integration. In most instances for Dynamics 365 and Model Driven PowerApps you would never want to use the Refresh Project action because most entities are related to other entities.