The Audit Record Counter by Table is an XRMToolBox tool that provides an easy way to count the number of audit records for each table in your Dynamics 365 environment.
This tool helps you:
- Analyze audit data across different tables.
- Identify and clean up old audit records to free up space.
- Maintain efficient data management by clearing unnecessary audit data.
- Open XRMToolBox.
- Navigate to the Tool Library.
- Search for AuditRecordCounterbyTable.
- Click Install to add the tool.
- Open the tool in XRMToolBox.
- Connect to the relevant Dynamics 365 environment.
- Click Load Audit Record Count By Table to fetch the audit record counts for each table.
- View the results in the Main Grid.
- To export data, click Export Audit Record Count By Table to CSV.
This allows you to save and analyze audit record counts in CSV or Excel format.

Contributions are welcome! Please submit a pull request or report issues in the repository.
This project is licensed under the MIT License.