Announcements
Hello,
As I see, that default retention period for the Audit logs is 30 days as mentioned here : https://docs.microsoft.com/en-us/power-platform/admin/audit-data-user-activity#startstop-auditing-and-set-retention-policy
It states, that to change the retention period it requires to create Web API C# project and run the Web API that changes the retention period.
Is this possible via PowerShell Command? If not, is there any reference link that suggest step by step process to update retention policy for the Audit logs in CDS - can you please help with the same?
Thanks,
Hi Dave8,
Please, check this document:
https://docs.microsoft.com/en-us/microsoft-365/compliance/audit-log-retention-policies?view=o365-worldwide
I hope it helps you.
Javier
Hi @FCGALLEG
That's for Audit logs in Office 365, while my concern is for the CDS - any clue?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 392 Most Valuable Professional
11manish 181 Super User 2026 Season 2
MS.Ragavendar 112 Super User 2026 Season 2