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 :
Small and medium business | Business Central, N...
Unanswered

Change Log Entries Refuse Deletion

(0) ShareShare
ReportReport
Posted on by
Hello,
In attempting to clear out change log entries, I have utilized the retention policy and job scheduling available. I have a job set up with the following code unit that I have been running intermittently to clear out expired records according to the policy (picture attached). I have attached another picture of the retention policy setup. By running the job with this policy setup, I have been able to clear out a large number of records, but now running the job does not result in a decrease in records in the change log table. Can this be because of the locked retention policy for protected records keeping them from being deleted? How can I remove that lock/get the records to be deleted? My goal is to clear the table as completely as possible.
 
ret_policy.png
Job.png

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

I have the same question (0)

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,687 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,041 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 974 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans