{"title":"Audit changes","url":"https://jonas-paprotka.de/docs/across-log-changes/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/across-log-changes, MicrosoftDocs/dynamics365smb-docs at 46907ac (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/across-log-changes","source":{"name":"Business Central application docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-docs","commit":"46907ace177f8d31deba47a2fdb57c3336e66252","date":"2026-11-19"},"checked":"2026-11-19","description":"Track changes to data in selected tables and monitor user activities with change logs and activity logs in Business Central.","date":"2026-06-17","meta":{"topic":"how-to"},"outline":[{"level":1,"title":"Audit changes","slug":"audit-changes","at":0,"chars":11904},{"level":2,"title":"About the change log","slug":"about-the-change-log","at":342,"chars":1732},{"level":2,"title":"Set up the change log","slug":"set-up-the-change-log","at":2074,"chars":1004},{"level":2,"title":"Analyze data in the change log","slug":"analyze-data-in-the-change-log","at":3078,"chars":3910},{"level":3,"title":"Change log ad-hoc analysis scenarios","slug":"change-log-ad-hoc-analysis-scenarios","at":3819,"chars":865},{"level":3,"title":"Example: Who changed what data, and when","slug":"example-who-changed-what-data-and-when","at":4684,"chars":1140},{"level":3,"title":"Example: data changes by table/field","slug":"example-data-changes-by-tablefield","at":5824,"chars":1164},{"level":2,"title":"About activity logs","slug":"about-activity-logs","at":6988,"chars":568},{"level":3,"title":"Work with activity logs","slug":"work-with-activity-logs","at":7179,"chars":377},{"level":2,"title":"Monitor sensitive fields","slug":"monitor-sensitive-fields","at":7556,"chars":3322},{"level":3,"title":"Set up field monitoring","slug":"set-up-field-monitoring","at":8008,"chars":1791},{"level":3,"title":"Work with field monitoring","slug":"work-with-field-monitoring","at":9799,"chars":449},{"level":3,"title":"View field monitoring telemetry","slug":"view-field-monitoring-telemetry","at":10248,"chars":630},{"level":2,"title":"Define retention policies","slug":"define-retention-policies","at":10878,"chars":419},{"level":2,"title":"Related information","slug":"related-information","at":11297,"chars":607}],"text":"# Audit changes\nA common challenge in many business management applications is avoiding unwanted changes in data. It could be anything from an incorrect customer telephone number to an incorrect posting to the general ledger. This article describes the capabilities for finding out what changed, who changed it, and when the change was made.\n## About the change log\nThe change log lets you track all direct modifications a user makes to data in the database. You specify each table and field that you want the system to log, and then you activate the change log. The change log is based on changes that are made to data in the tables that you track. On the Change Log Entries page, entries are chronologically ordered and show all changes that are made to the values in fields on the tables you specify.\nTracking changes can affect performance, which can cost you time, and increase the size of your database, which might cost you money. To reduce those costs, keep the following things in mind:\n Use caution when choosing the tables and operations.\n Don't add ledger entries and posted documents. Instead, prioritize system fields such as Created By and Created Date.\n Don't use the All Fields tracking type. Instead, choose Some Fields and track only the most important fields.\n> NOTE\n> The Change Log doesn't track changes for fields that use the `autoIncrement property`. An example of a field that uses the property is the Integer field on the Error Messages and VAT Report Line tables.\nAlso for performance reasons, the change log is turned off during the process of upgrading Business Central to the next version. In addition to speeding up the upgrade process, turning off the log also helps reduce clutter in the change log. As soon as the upgrade is complete, the log starts tracking changes again.\n> IMPORTANT\n> Changes display in the Change Log Entries only after the user's session is restarted, which happens as follows:\n > The session expired and was refreshed.\n > The user selected another company or Role Center.\n > The user signed out and signed in again.\n## Set up the change log\nOn the Change Log Setup page, you can turn on or turn off the change log. When you do, the activity is logged, so you can always see who made the change.\nOn the Change Log Setup page, if you choose the Tables action, you can specify which tables you want to track changes for, and which changes to track. Business Central also tracks several system tables.\n> NOTE\n> You can monitor specific fields for changes, such as fields that contain sensitive data, by setting up field monitoring. If you do, to avoid redundancy the table that contains the field isn't available for the change log setup. See #monitor-sensitive-fields.\nAfter you set up the change log, activated it, and made a change to data, you can view and filter the changes on the Change Log Entries page. If you want to delete entries, set up a retention policy, where you can set filters based on dates and time. See Define Retention Policies<admin-data-retention-policies> for information about retention policies.\n## Analyze data in the change log\nYou can use the Data Analysis feature to analyze data in the Change Log from the Change Log Entries<https://businesscentral.dynamics.com/?page=595> page. You don't have to run a report or open another application, such as Excel. The feature provides an interactive and versatile way to calculate, summarize, and examine data. Instead of running reports using options and filters, you can add multiple tabs that represent different tasks or views on the data. Some examples are \"Who changed what data, and when,\" or \"Data changes by table/field,\" or any other view you can imagine. See Analyze list and query data with analysis mode<analysis-mode> for information about how to use the Data Analysis feature.\n### Change log ad-hoc analysis scenarios\nThe following sections provide examples of scenarios where analyzing change log can help you monitor and audit important changes.\nArea|To...|Open this page in analysis mode|Using these fields\n#example-who-changed-what-data-and-when|See who changed what data.|Change Log Entries<https://businesscentral.dynamics.com/?page=595&layout=analysis>|User ID, Date and Time, Table Caption, Field Caption, Primary Key Value 2, Primary Key Value 3, Type of Change, Old Value, and New Value.\nData changes by table/field<#example-data-changes-by-tablefield>|See data changes by table/field, and who made the change.|Change Log Entries<https://businesscentral.dynamics.com/?page=595&layout=analysis>|Table Caption, Field Caption, User ID, Date and Time, Primary Key Value 2, Primary Key Value 3, Type of Change, Old Value, and New Value.\n### Example: Who changed what data, and when\nTo analyze Who changed What data When, follow these steps:\n1. Open the Change Log Entries<https://businesscentral.dynamics.com/?page=595&layout=analysis> list, and choose the ![Enter analysis mode.] icon to turn on analysis mode.\n1. On the Columns menu, remove all columns (select the box next to the Search field on the right).\n1. Drag the User ID field (who did it) to the Row Groups area.\n1. Now choose the following fields:\n  To show when it happened, choose Date and Time.\n  To show the table where it happened, choose Table Caption.\n  To show which field, choose Field Caption.\n  To show the field code, choose Primary Key Value 2.\n  To show the company name, choose Primary Key Value 3.\n  To show whether the change was an insert, update, or delete action, choose Type of Change.\n  To show the change, choose Old Value and New Value.\n1. Rename your analysis tab to Who changed what data when, or something that describes this analysis.\nThe following image shows the result of these steps.\n![Example of how to do data analysis on the Change Log Entries page (Who changed What data When).]\n### Example: data changes by table/field\nTo analyze data changes by table/field, follow these steps:\n1. Open the Change Log Entries<https://businesscentral.dynamics.com/?page=595&layout=analysis> list, and choose the ![Enter analysis mode.] icon to turn on analysis mode.\n1. On the Columns menu, remove all columns (select the box next to the Search field on the right).\n1. Drag the Table Caption (on what table), and Field Caption (on which field) fields to the Row Groups area.\n1. Now choose the following fields:\n  To show when it happened, choose Date and Time\n  To show who made the change, choose User ID.\n  To show the code for the field, choose Primary Key Value 2.\n  To show the company name, choose Primary Key Value 3 (typically the company name),\n  To show whether the change was an insert, update, or delete action, choose Type of Change.\n  To show the change, choose Old Value and New Value.\n1. Rename your analysis tab to Data changes by table + field, or something that describes this analysis.\nThe following image shows the result of these steps.\n![Example of how to do data analysis on the Change Log Entries page (data changes by table/field).]\n## About activity logs\nFrom some pages in Business Central, you can view an activity log that shows the status and any errors from files that you export from or import into Business Central.\n### Work with activity logs\nThe information is displayed on the Activity Log page according to the context you opened it from. For example, you can open the page from the Document Exchange Service Setup, Incoming Document, Posted Sales Invoice, and Posted Sales Credit Memo pages. You can empty the list of log entries, or just clear the list of entries older than seven days.\n## Monitor sensitive fields\nKeeping sensitive data secure and private is a core concern for most businesses. To add a layer of security, you can monitor important fields and get an email when someone changes a value. For example, you might want to be notified if someone changes your company's IBAN number.\n> NOTE\n> Sending notifications by email requires that you set up the email feature in Business Central. See Set Up Email<admin-how-setup-email>.\n### Set up field monitoring\nYou can use the Monitor Field Change Setup assisted setup guide to specify the fields that you want to monitor based on filter criteria, such as the data sensitivity classification for the fields. See admin-classifying-data-sensitivity. The guide also lets you specify the person who receives an email notification when a change occurs, and the email account that sends the notification. Specify both the user to notify and the account from which to send the notification. After you finish the guide, you can manage settings for field monitoring on the Field Monitoring Setup page.\n> NOTE\n> When you specify the email account from which to send notifications, you must add either the Microsoft 365 or SMTP account types. Notifications should be sent from an account that isn't associated with an actual user. Therefore you can't choose the Current User account type. If you do, notifications aren't sent.\nOver time, the list of entries on the Monitored Fields Log Entries page will grow. To reduce the number of entries, you can create a retention policy that will delete entries after a specified period of time. See Define Retention Policies<admin-data-retention-policies>.\nWhen you set up field monitoring, or change something in the setup, entries are created for your changes. You can specify whether to display entries related to the monitoring setup by showing or hiding them.\nYou can manage settings for field monitoring, such as whether to send an email notification or just log the change, for each field on the Monitored Fields Worksheet page. The page is also where you can add or remove fields to monitor.\n> NOTE\n> After you add one or more fields and start monitoring, you must sign out of Business Central and sign in again to apply your settings.\n### Work with field monitoring\nEntries for all changed values for monitored fields are available on the Monitored Fields Log Entries page. For example, entries contain the following information:\n The field where the value changed.\n The original and new values.\n Who made the change, and when they did so.\nTo further investigate a change, choose a value to open the page where it was made. To view a list of all entries, choose Field Change Entries.\n### View field monitoring telemetry\nYou can set up Business Central to send field monitoring activity to an Application Insights resource in Microsoft Azure. Then, using Azure Monitor, you create reports and set up alerts on the gathered data. Refer to the following articles in the Business Central Developer and IT Pro help:\n Monitoring and Analyzing Telemetry - Enabling Application Insights<dev-itpro/administration/telemetry-overview?toc=/dynamics365/business-central/toc.json#enable>\n Analyzing Field Monitoring Telemetry<dev-itpro/administration/telemetry-field-monitoring-trace?toc=/dynamics365/business-central/toc.json>\n## Define retention policies\nYou can create retention policies to delete unneeded data in logs after a period of time that you specify. For example, over time the number of entries in a log can build up. By cleaning up old entries you can make it easier to focus on more recent, and probably more relevant, entries. See Define Retention Policies<admin-data-retention-policies> for information about retention policies.\n## Related information\n#monitor-sensitive-fields\nAnalyze Field Monitoring Telemetry<dev-itpro/administration/telemetry-field-monitoring-trace?toc=/dynamics365/business-central/toc.json>\nDefine Retention Policies<admin-data-retention-policies>\nui-change-basic-settings\nSort, Search, and Filter<ui-enter-criteria-filters>\nFind Pages and Information with Tell Me<ui-search>\nAssign Permissions to Users and Groups<ui-define-granular-permissions>\nWork with Business Central<ui-work-product>\nFind free e-learning modules for Business Central here<https://learn.microsoft.com/training/dynamics365/business-central>"}