How to delete Audit logs in Power Platform DataVerse environments after a specified time

I am back with another blog on PowerApps and this time it’s on DataVerse.

The ability to audit record operation on dataverse is great! You can track the edits, creates and delete of records in dataverse using audit. But with this advantage, there comes a problem.

And the problem is with audit log storage. With time and depending on the data volume, the storage space increases manifold. Hence it is quite necessary to clear the audit log after a specified time.

The default audit log retention period is 30 days. But what if you could set a custom duration? Now you can easily accomplish the same using the Power Platform admin center. And this applies to Dynamics 365 Customer engagement environments as well as they are essentially DataVerse environments.

Navigate to Power Platform admin center -> Select your environment -> Click on Settings

Custom audit log retention period in DataVerse and Dynamics 365 environments.

Click on Audit Settings under Audits and Logs

Custom audit log retention period in DataVerse and Dynamics 365 environments.

And then you can select a custom duration from the list of available options.

Custom audit log retention period in DataVerse and Dynamics 365 environments.

Wonderful isn’t it? Hope this helped.

You might also like the below posts

Debajit Dutta
Business Solutions MVP


Discover more from Debajit's Power Apps & Dynamics 365 Blog

Subscribe to get the latest posts sent to your email.

Discover more from Debajit's Power Apps & Dynamics 365 Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading