{"id":11820,"date":"2018-05-25T17:08:55","date_gmt":"2018-05-25T11:38:55","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=11820"},"modified":"2022-06-24T15:17:18","modified_gmt":"2022-06-24T09:47:18","slug":"deleting-audit-log-in-dynamics-365","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2018\/05\/deleting-audit-log-in-dynamics-365\/","title":{"rendered":"Deleting Audit Log in Dynamics 365"},"content":{"rendered":"<h2><strong>Introduction:<\/strong><\/h2>\n<p style=\"text-align: justify;\">Many interesting features are being provided by Microsoft for Audit log in the new version Dynamics 365. One of them is Deleting Audit history records. Yes, deleting audit history records through Dynamics CRM.<\/p>\n<p style=\"text-align: justify;\">Earlier the user did not have the ability to delete audit history record. But now Microsoft has now provided a button to delete audit history records. It is just a simple click.<\/p>\n<p style=\"text-align: justify;\">The button is seen on the Associated view of the record.<\/p>\n<p style=\"text-align: justify;\">Suppose auditing is enabled for Account entity then the Delete Change History button can be seen as below:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-11815\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2018\/05\/Deleting-audit-log-in-Dynamics-3651.png\" alt=\"Deleting audit log in Dynamics 365\" width=\"824\" height=\"473\" \/><\/p>\n<p>On click of this button, a confirmation message is shown as below.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-11816\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2018\/05\/Deleting-audit-log-in-Dynamics-3652.png\" alt=\"Deleting audit log in Dynamics 365\" width=\"824\" height=\"337\" \/><\/p>\n<p>On confirmation,\u00a0all the auditing log records are deleted and a record for audit log deletion is created.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-11817\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2018\/05\/Deleting-audit-log-in-Dynamics-3653.png\" alt=\"Deleting audit log in Dynamics 365\" width=\"818\" height=\"382\" \/><\/p>\n<p style=\"text-align: justify;\">Obviously, we would like only the System Admin or users with certain roles to have access to delete these records. This can be handled by giving privileges for the particular role.<\/p>\n<p style=\"text-align: justify;\"><strong>Example<\/strong> &#8211; I do not want my Sales Manager to delete the audit log records. For this you do not need to give delete privileges to Sales Manager role under security role as shown below:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-11818\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2018\/05\/Deleting-audit-log-in-Dynamics-3654.png\" alt=\"Deleting audit log in Dynamics 365\" width=\"822\" height=\"403\" \/><\/p>\n<p>So, when a user with Sales Manager role log in to the system is not able to see the Delete Change history button.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-11819\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2018\/05\/Deleting-audit-log-in-Dynamics-3655.png\" alt=\"Deleting audit log in Dynamics 365\" width=\"819\" height=\"263\" \/><\/p>\n<p><strong>Conclusion:<\/strong><\/p>\n<p>With the new feature added in Dynamics 365, users will be able to delete audit log history records on the click of a button.<\/p>\n<h2 style=\"text-align: left;\"><div class=\"su-heading su-heading-style-default su-heading-align-center\" id=\"\" style=\"font-size:15px;margin-bottom:5px\"><div class=\"su-heading-inner\">Free 70% of storage space in CRM with Attachment Management Apps!<\/div><\/div><\/h2>\n<p><em><strong><a href=\"https:\/\/www.inogic.com\/product\/productivity-apps\/attach-2-dynamics-365-crm-upload-multiple-files-sharepoint-cloud-storage\" target=\"_blank\" rel=\"noopener noreferrer\">Attach2Dynamics<\/a> &#8211; Store and manage documents\/attachments in cloud storage of your choice &#8211; SharePoint, Dropbox or Azure Blob Storage from within Dynamics 365 CRM.<\/strong><\/em><br \/>\n<em><strong><a href=\"https:\/\/www.inogic.com\/product\/productivity-apps\/dynamics-365-crm-sharepoint-security-metadata-sync\" target=\"_blank\" rel=\"noopener noreferrer\">SharePoint Security Sync<\/a><\/strong> \u2013 Robust and secure solution to integrate Dynamics 365 CRM and SharePoint Security Sync thereby ensuring secure access to confidential documents stored in SharePoint.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: Many interesting features are being provided by Microsoft for Audit log in the new version Dynamics 365. One of them is Deleting Audit history records. Yes, deleting audit history records through Dynamics CRM. Earlier the user did not have the ability to delete audit history record. But now Microsoft has now provided a button\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2018\/05\/deleting-audit-log-in-dynamics-365\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":11822,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[16,18,19],"tags":[172,173],"class_list":["post-11820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dynamics-365","category-dynamics-365-v9-2","category-dynamics-crm","tag-audit-log-dynamics-crm","tag-audit-log-in-dynamics-365"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/11820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=11820"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/11820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media\/11822"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=11820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=11820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=11820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}