How – To Series 18: Error – Failed to insert audit record

Hi all,
Recently, we were getting following error while trying to work with any CRM record in our non-prod environment. Prior to that day, we bulk updated huge set of records (~300K) which might have contributed to this issue.

          We started looking into CRM Trace Logs and found following error info. This info doesn’t give much info to resolve the issue.

“Failed to insert audit record”

 [Microsoft.Crm.Audit: Microsoft.Crm.AuditCreateUpdatePlugin]

         We then looked into SQL Logs and found following error info:

The transaction log for database ‘ORG_MSCRM” is full due to ‘LOG_BACKUP’.

This error info helped us in resolving the issue by increasing the disk space for the log file.  It indicated bulk updates in CRM resulted in rapid growth of Log file of the CRM ORG DB.

Hope this helps..!!

3 thoughts on “How – To Series 18: Error – Failed to insert audit record

  1. harga epoxy lantai

    Hi there! This is my first visit to your blog! We are a team of volunteers and starting a new project
    in a community in the same niche. Your blog provided us useful information to work on. You have done a
    wonderful job!

    Reply
  2. vitt

    Hi,

    I am facing same alert in webapi, I am trying to add records to marketing getting 500 server error while looking in details error shows like ‘ failed to insert audit record’, apart from this we are not getting any error at all in environment,
    Can you please suggest what would be the reason.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *