---
id: object/codeunit/8714
type: object
title: Codeunit 8714 "Audit Log"
summary: Codeunit 8714 "Audit Log" in System Application (System.Telemetry). 2 public procedures. Introduced in BC27, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - system application
versions:
  introduced: "27"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 4964c33a2e35e577b67de644b083f3ab32c58240d22c4a7d8c29f3aefef46f05
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Telemetry/src/AuditLog/AuditLog.Codeunit.al
    title: src/System Application/App/Telemetry/src/AuditLog/AuditLog.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 8714
name: Audit Log
namespace: System.Telemetry
app: System Application
extends: null
first_version: "27"
last_version: "30"
present_in:
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 2
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 18
  implements: 0
---

# Codeunit 8714 "Audit Log"

> Codeunit 8714 "Audit Log" in System Application (System.Telemetry). 2 public procedures. Introduced in BC27, still in BC30.

System Application · System.Telemetry · BC27-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Telemetry/src/AuditLog/AuditLog.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Access | Public |

## Procedures

- `LogAuditMessage(SecurityAuditDescription: Text; SecurityAuditOperationResult: SecurityOperationResult; SecurityAuditCategory: AuditCategory; AuditMessageOperation: Integer; AuditMessageOperationResult: Integer)`: Logs a message to an audit account. Note, these logs are accessible to customers and will also be logged to a security audit account.
- `LogAuditMessage(SecurityAuditDescription: Text; SecurityAuditOperationResult: SecurityOperationResult; SecurityAuditCategory: AuditCategory; AuditMessageOperation: Integer; AuditMessageOperationResult: Integer; CustomDimensions: Dictionary of [Text, Text])`: Logs a message to an audit account. Note, these logs are accessible to customers and will also be logged to a security audit account.

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 8715 "Audit Log Implementation"](../codeunit/8715.md) (1 call: `LogAuditMessage → LogAuditMessage`)

## Called by

- [Codeunit 4001 "Hybrid Cloud Management"](../codeunit/4001.md) (7 calls: `FinishCloudMigrationSetup → LogAuditMessage`, `GrantConsentToDelegatedAdmin → LogAuditMessage`, `RunDataUpgrade → LogAuditMessage`, …)
- [Codeunit 1351 "Telemetry Subscribers"](../codeunit/1351.md) (3 calls: `LogAccScheduleNameTelemetry → LogAuditMessage`, `LogColumnLayoutNameTelemetry → LogAuditMessage`, `LogFinancialReportTelemetry → LogAuditMessage`)
- [Codeunit 7247 "MDM Http Source Transport"](../codeunit/7247.md) (3 calls: `AcquireToken → LogAuditMessage`, `LogRequestFailure → LogAuditMessage`, `ValidateSourceHost → LogAuditMessage`)
- [Codeunit 247 "VAT Lookup Quota Mgt."](../codeunit/247.md) (1 call: `RegisterAndCheckQuota → LogAuditMessage`)
- [Codeunit 40021 "Cloud Mig. Replicate Data Mgt."](../codeunit/40021.md) (1 call: `LogMessageForChangedReplicateData → LogAuditMessage`)
- [Codeunit 40022 "Telemetry Subscriber"](../codeunit/40022.md) (1 call: `LogTableMappingTelemetry → LogAuditMessage`)
- [Codeunit 4014 "Notification Handler"](../codeunit/4014.md) (1 call: `ParseReplicationSummary → LogAuditMessage`)
- [Codeunit 9040 "Date Compression"](../codeunit/9040.md) (1 call: `LogEndTelemetryMessage → LogAuditMessage`)
- [Codeunit 9660 "Report Layouts Impl."](../codeunit/9660.md) (1 call: `Log → LogAuditMessage`)
- [Page 1 "Company Information"](../page/1.md) (1 call: `OnClosePage → LogAuditMessage`)
- [Page 1368 "Monitor Field Setup Wizard"](../page/1368.md) (1 call: `ValidateAndFinishSetup → LogAuditMessage`)
- [Page 2029 "Image Analyzer Wizard"](../page/2029.md) (1 call: `FinishAndEnableAction → LogAuditMessage`)
- [Page 5469 "API Setup"](../page/5469.md) (1 call: `OnInsertRecord → LogAuditMessage`)
- [Page 9807 "User Card"](../page/9807.md) (1 call: `ValidateAuthentication → LogAuditMessage`)
- [Page 9852 "Effective Permissions"](../page/9852.md) (1 call: `OnOpenPage → LogAuditMessage`)
- [Report 291 "Delete Invd Blnkt Sales Orders"](../report/291.md) (1 call: `OnPostReport → LogAuditMessage`)
- [Report 5914 "Delete Invoiced Service Orders"](../report/5914.md) (1 call: `OnPostReport → LogAuditMessage`)
- [Report 6661 "Delete Invd Purch. Ret. Orders"](../report/6661.md) (1 call: `OnPostReport → LogAuditMessage`)

## Across versions

- Present in: BC27-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "Audit Log")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
