How to set the Retention policy for the Audit Logs in Dynamics 365 CE online?

Microsoft has introduced a set of new audit features helping Dataverse administrators to stay compliant with internal and external auditing requirements and to manage log capacity at the same time.

Now, Audit data is also stored separately from the customer records, so an organization’s audit log can grow to many terabytes in size without limiting available Database capacity.

Administrators can select an audit retention period from a dropdown menu or specify a custom retention period. Audit records are automatically deleted after the retention period is over, relieving administrators from the burden of deleting audit data manually. It is also possible to keep the audit log indefinitely by not specifying a retention period.

Follow the below steps to set the retention period for the Audit data for your Dynamics 365 CE Environment.

Step 1: Login to Power Platform Admin Center (PPAC) with your credentials.

If you are using US Government (GCC, GCC High and DOD) Cloud, Click on the article link and find your related URL and login to PPAC.


Click on this link and Create 30 Dynamics CE Trial version and open PPAC Environment.

Step 2: Click on the required Environment.

Step 3: Click on Manage.

Step 4: You can see that Retain these logs for value set as Forever as default.

Click on the option set to see the different values available.

Choose Custom for providing the days range between 31 (Min) and 365,000 (Max) days.

Step 5: Choose this option as per your Organization need. After the time period the Audit data will be deleted automatically from your Environment.

I am choosing as 30 days for this environment and Audit Data will be deleted after 30 days.

Step 6: Click on Save.

Saving is in progress.

Hope you have followed all the steps and Configured Retention policy for the Audit Data.

Share your valuable feedback on this article.

Articles related to Audit History for reference:

How to Enable Auditing for a Dynamics 365 CE Environment Online?

How to Enable Auditing for a Table in Dynamics 365 CE Online?

How to Enable Auditing at Column Level in Dynamics 365 CE Online?

Audit history data missing in Dynamics CRM


2 thoughts on “How to set the Retention policy for the Audit Logs in Dynamics 365 CE online?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.