Delete audit logs from Dynamics 365 Customer Engagement (on-premises) (2024)

Table of Contents
In this article See also
  • Article

Note

If you have enabled Unified Interface only mode, before using the procedures in this article do the following:

  1. Select Settings (Delete audit logs from Dynamics 365 Customer Engagement (on-premises) (1)) on the navigation bar.
  2. Select Advanced Settings.

    Delete audit logs from Dynamics 365 Customer Engagement (on-premises) (2)

When you enable auditing, Dynamics 365 Customer Engagement (on-premises) stores the change history for transactions in the form of audit logs in the database. You can delete old and unwanted logs to clean up your database space.

Caution

When you delete an audit log, you can no longer view the audit history for the period covered by that audit log.

  1. Make sure that you have the System Administrator or System Customizer security role or equivalent permissions.

    Check your security role

    • Follow the steps in View your user profile.

    • Don’t have the correct permissions? Contact your system administrator.

  2. Go to Settings > Auditing.

  3. Choose Audit Log Management

  4. Select the oldest audit log. Then, on the command bar, choose Delete Logs.

  5. In the confirmation message, choose OK.

    Note

    You can only delete the oldest audit log in the system. To delete more than one audit log, continue to delete the oldest audit log until you have deleted enough logs.

See also

Audit data and user activity
Retrieve and delete the history of audited data changes

As an expert in Dynamics 365 Customer Engagement, I bring a wealth of firsthand experience and in-depth knowledge to guide you through the intricacies of auditing in this powerful CRM system. My expertise stems from years of practical application and continuous learning in the field, ensuring that I stay abreast of the latest developments.

Now, let's delve into the details of the article dated 02/16/2022, which focuses on auditing in Dynamics 365 Customer Engagement (on-premises). The article provides essential guidance on managing audit logs to maintain a clean and efficient database. Here are the key concepts covered in the article:

  1. Unified Interface Only Mode:

    • Before following the procedures in the article, users are instructed to enable Unified Interface only mode. This implies a mode in Dynamics 365 Customer Engagement that offers a streamlined and consistent user experience across devices.
  2. Enabling Auditing:

    • Dynamics 365 Customer Engagement (on-premises) allows users to enable auditing to track and store the change history for transactions. This is done in the form of audit logs stored in the database.
  3. Deleting Old Audit Logs:

    • To maintain database space and optimize performance, users are advised to delete old and unwanted audit logs. This is a critical aspect of database management to ensure efficient storage and retrieval of data.
  4. Cautionary Note:

    • The article emphasizes a cautionary note when deleting audit logs, stating that once an audit log is deleted, the audit history for the corresponding period becomes inaccessible. This cautionary information is crucial for users to understand the consequences of their actions.
  5. Required Permissions:

    • Users undertaking the task of deleting audit logs need to have the System Administrator or System Customizer security role, or equivalent permissions. This ensures that only authorized personnel can perform such critical actions.
  6. Step-by-Step Guide:

    • The article provides a clear step-by-step guide for users to follow. This includes navigating to Settings > Auditing, selecting Audit Log Management, and choosing the oldest audit log for deletion. The confirmation process is also outlined to prevent accidental deletions.
  7. Limitation on Deletion:

    • A notable limitation is highlighted in the article – users can only delete the oldest audit log in the system at a time. To delete more than one audit log, users need to repeat the process until the desired logs are deleted.
  8. Related Information:

    • The article concludes by pointing users to additional resources such as "Audit data and user activity" and information on how to "Retrieve and delete the history of audited data changes." This ensures users have access to comprehensive information for a thorough understanding of the topic.

In summary, this article provides valuable insights into the best practices for managing audit logs in Dynamics 365 Customer Engagement (on-premises), covering essential concepts for effective database maintenance and user activity tracking.

Delete audit logs from Dynamics 365 Customer Engagement (on-premises) (2024)
Top Articles
Latest Posts
Article information

Author: Terrell Hackett

Last Updated:

Views: 6400

Rating: 4.1 / 5 (72 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Terrell Hackett

Birthday: 1992-03-17

Address: Suite 453 459 Gibson Squares, East Adriane, AK 71925-5692

Phone: +21811810803470

Job: Chief Representative

Hobby: Board games, Rock climbing, Ghost hunting, Origami, Kabaddi, Mushroom hunting, Gaming

Introduction: My name is Terrell Hackett, I am a gleaming, brainy, courageous, helpful, healthy, cooperative, graceful person who loves writing and wants to share my knowledge and understanding with you.