Audit Management has improved lately in the Power Platform Admin Center (https://admin.powerplatform.microsoft.com/), let’s review what’s new!
Auditing in Power Platform Admin Center
Given that you are in the Power Platform Admin Center, let’s look at an org CFT 158’s Audit Settings –
- You’ll now see an Auditing section in the environment –
- And if you click on Manage as shown below, you can see what all is Enabled / Audited.
In Manage, you’ll see the below Auditing enabled and also how long the Audit Logs can be Retained for – - And you can choose for a particular environment, as to how long you want to retain the logs for. Let’s say, you don’t want to retain Audit records for Sandbox environments for more than a certain time.
Audit Log Deletion
Now, you have the ability to select what Audit Logs you want to delete based on a certain Table, People/System or from selection of Dates. –
- Under the Free up capacity label in the Auditing summary on the Environment in PPAC, you’ll find a link for Delete logs.
- In this menu, you’ll be able to select what Audit Logs you want to delete.
You can select from within a Table, Date selections or Access logs, by people and systems. - Beginning to Date Range
Now, let’s select by Date i.e. Deleting Logs from beginning and up to the selected Date.
Now, these are the Audit records for a sample account. - Now, I’ll select a Date i.e. 5th Jan – so, it’ll delete the Audit everything till 5th Jan (will leave 5th Jan probably because of the Timezone issue on my end.)
- And once you set this, you’ll be asked for confirmation.
- Once you confirm, a Bulk Delete System Job will run and look like below
- And if I check my System Jobs (It probably left out 5th Jan’s logs because of time zone not set correctly)
And everything prior to 5th Jan will be deleted. - So, to verify this, I added 1 more Auditing record and then ran another job for 6th Jan to verify if 5th Jan is deleted or not.
- And it deleted the 5th Jan records
- Table
Now, you can also select a specific table/entity you want to delete Logs for. - And select the Tables you want retaining others. I choose Contact for example.
- And it’ll ask for confirmation as well. Once I select Confirm, it’ll Delete Audit Logs only for Contact.
- And the third type is to delete the Access Logs.
Note: Please note that at times, some Bulk Delete Jobs could be waiting to be submitted.
Hope this summary was useful!
Here are some more Dynamics 365 Administrator related posts you might want to check –
- Enable Plug-in Profiler in Settings area in SiteMap in Dynamics 365 | [Quick Tip]
- Disable Recent Records from Dynamics 365 Lookup Control | Model-Driven Apps [Quick Tip]
- Language format for Whole Number field in Dynamics 365 CE
- Custom Help Pages and Guided Tasks for Unified Interface in Dynamics 365
- Make Managed fields Required in Dynamics 365 – Managed Properties Error [Workaround] | D365 CE Quick Tip
- Sign up for a Dynamics 365 Project Operations (Lite Deployment) environment and provision a new instance | Power Platform
- Show custom ribbon button based on Security Role of the logged in User in Dynamics 365 | Ribbon Workbench in XrmToolbox
- Filter records in a View owned by a Team you are a member of | Dynamics 365 CRM
- Duration field in Dynamics 365 converts Hours value to Days in Dynamics 365 | [Flow Workaround to convert in Hours and Mins]
- Form Access Checker in new Power Apps Form Designer | Model-Driven Apps in Dynamics 365
Thank you!