- Article
Note
If you have enabled Unified Interface only mode, before using the procedures in this article do the following:
- Select Settings () on the navigation bar.
- Select Advanced Settings.
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.
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.
Go to Settings > Auditing.
Choose Audit Log Management
Select the oldest audit log. Then, on the command bar, choose Delete Logs.
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:
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.