locked
Delete audit log of a specific entity RRS feed

  • Question

  • Hi,

    CRM 2011 has a great feature: audit history. In the business rule for a client exist entities that must maintain audit records "forever." However, there are other entities where auditing is only interesting for some time (one month for example).

    The CRM creates "blocks" of audit every 3 months, but it would be interesting to be able to delete log audit only of specific entities in which the log is necessary for some period.

    To my knowledge this is not possible. Someone has passed or has knowledge about this possibility?

    Thanks

    Tuesday, November 6, 2012 8:40 PM

Answers

  • The only supported way to delete audit data is via the DeleteAuditDataRequest, and this does not allow you to filter based on entities. Your only alternative would be to use totally unsupported SQL deletes

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Tuesday, November 6, 2012 9:24 PM
    Moderator