Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Why ms dynamics crm creates PluginTraceLog instances with createdon = null?

(0) ShareShare
ReportReport
Posted on by 5

Hello)
Our crm creates instances of PluginTraceLog with creationon = null
As I can see, these are system logs, because all instances with creationon = null have issystemcreated = true Logs created
In our plugins and actions are created normally.
For this reason, a bulk delete operation cannot delete old PluginTraceLog instances because it depends on the creation date
We have a lot of log instances for this reason.
Does anyone know a solution to this problem and what is the reason?

*This post is locked for comments

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at
    RE: Why ms dynamics crm creates PluginTraceLog instances with createdon = null?

    Hi

    I have checked few instances both online and on-prem, they do not have loads of records but they all have value set for createon.

    CreatedOn should not be null and it sounds like caused by a bug in the platform, most probably by a pre-validation or pre-op plugin

    I would raise a ticket with MS and get their support to clear the logs.

    Since your CRM is on-prem, you can also consider deleting these logs from [dbo].[PluginTraceLogBase].  But since this is not supported, I would recommend you raise this with MS first and they might give you a script to run and clear these. And they may also provide you the details about if the issue is caused by a bug in the platform.

  • Carl Willis Profile Picture
    30 on at
    RE: Why ms dynamics crm creates PluginTraceLog instances with createdon = null?

    I am seeing this as well. My production instance has over 8 million records like this.

  • Pavel_Ryzhov_365 Profile Picture
    5 on at
    RE: Why ms dynamics crm creates PluginTraceLog instances with createdon = null?

    Yes, I requested it through Andvance to find

    CreatedOn is null, but I saw a dependency: we have pluginTraceLog instances with CreatedOn = null from PipelineTraceService

  • Kokulan Profile Picture
    18,054 on at
    RE: Why ms dynamics crm creates PluginTraceLog instances with createdon = null?

    Hi

    Have you queried this via Advance find? is it showing null in advance find results?

    I have checked on a latest version of CRM and createdon is not null for any plugin trace logs

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans