Msedge Lro3brcmyk

D365: Refresh entity list batch job failing

Purpose:

Recently, I encountered an error on my DEV box while I was running Refresh entity list batch job after making some changes to one of the data entities. In this post, we’ll learn how can we resolve this issue.

Application:

Dynamics 365 for Finance and Operations

Error:

Msedge 95o3syzc1i
Msedge Lro3brcmyk

Entity * not removed because it belongs to the follow definition group or template.

Change Tracking is not enabled on the database: SQL Server Change Tracking.

Error encountered while creating entity data. Please contact your administrator if this persists.

Error encountered while creating entity data. Please contact your administrator if this persists.

Solution:

To resolve the issue, we need to enable change tracking for the SQL database. Given you have access to the database as this is your development environment, you need to run the following SQL command to enable change tracking for the database.

SQL

ALTER DATABASE AxDB  
SET CHANGE_TRACKING = ON  
(CHANGE_RETENTION = 2 DAYS, AUTO_CLEANUP = ON)

Leave a Reply

Discover more from D365 for Finance and Operations

Subscribe now to keep reading and get access to the full archive.

Continue reading