---
id: object/codeunit/1565
type: object
title: Codeunit 1565 "Privacy Notice Impl."
summary: Codeunit 1565 "Privacy Notice Impl." in System Application (System.Privacy). 16 public procedures, 2 event subscribers. Present since at least BC23, still in BC30, changed in BC26, BC29.
tier: official
language: en
tags:
  - codeunit
  - system application
versions:
  introduced: null
  last_changed: "29"
  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: a619c4899779ca5bb38fa53ce66a4f36b980875e770e9bca9b9b9a30b4799d82
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Privacy%20Notice/src/PrivacyNoticeImpl.Codeunit.al
    title: src/System Application/App/Privacy Notice/src/PrivacyNoticeImpl.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9838
    - change/bcapps/9206
object_type: codeunit
object_id: 1565
name: Privacy Notice Impl.
namespace: System.Privacy
app: System Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "26"
  - "29"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 23
  events: 0
  subscribers: 2
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 3
  called_by: 1
  implements: 0
---

# Codeunit 1565 "Privacy Notice Impl."

> Codeunit 1565 "Privacy Notice Impl." in System Application (System.Privacy). 16 public procedures, 2 event subscribers. Present since at least BC23, still in BC30, changed in BC26, BC29.

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

## Properties

| Property | Value |
|---|---|
| Access | Internal |
| Permissions | tabledata Company = r, tabledata "Privacy Notice" = rim, tabledata "Privacy Notice Approval" = r |

## Event subscriptions

- ConfirmSystemPrivacyNoticeApproval subscribes to Codeunit "System Action Triggers" ConfirmPrivacyNoticeApproval
- GetPrivacyNoticeApprovalState subscribes to Codeunit "System Action Triggers" GetPrivacyNoticeApprovalState

## Procedures

- `CreatePrivacyNotice(Id: Code[50]; IntegrationName: Text[250]; Link: Text[2048]): Boolean`
- `CreatePrivacyNotice(Id: Code[50]; IntegrationName: Text[250]): Boolean`
- `GetDefaultPrivacyAgreementTxt(): Text`
- `ConfirmPrivacyNoticeApproval(PrivacyNoticeId: Code[50]): Boolean`
- `ConfirmPrivacyNoticeApproval(PrivacyNoticeId: Code[50]; SkipCheckInEval: Boolean): Boolean`
- `CheckPrivacyNoticeApprovalState(PrivacyNoticeId: Code[50]): Enum "Privacy Notice Approval State"`
- `CheckPrivacyNoticeApprovalState(PrivacyNoticeId: Code[50]; SkipCheckInEval: Boolean): Enum "Privacy Notice Approval State"`
- `CanCurrentUserApproveForOrganization(): Boolean`
- `SetApprovalState(PrivacyNoticeId: Code[50]; PrivacyNoticeApprovalState: Enum "Privacy Notice Approval State")`
- `ShowOneTimePrivacyNotice(IntegrationName: Text[250]): Enum "Privacy Notice Approval State"`
- `ShowOneTimePrivacyNotice(IntegrationName: Text[250]; Link: Text[2048]): Enum "Privacy Notice Approval State"`
- `CreateDefaultPrivacyNoticesInSeparateThread()`
- `CreateDefaultPrivacyNotices()`
- `ShowPrivacyNotice(PrivacyNotice: Record "Privacy Notice"): Boolean` (internal)
- `IsApprovalStateDisagreed(Id: Code[50]): Boolean`: Determines whether the admin or user has disagreed with the Privacy Notice.
- `IsApprovalStateDisagreed(State: Enum "Privacy Notice Approval State"): Boolean`: Determines whether the admin or user has disagreed with the Privacy Notice.

Plus 5 local procedures.

## Triggers

OnRun

## 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 1566 "System Privacy Notice Reg."](../codeunit/1566.md) (4 calls: `ShouldApproveByDefault → GetMicrosoftCopilotID`, `ShouldApproveByDefault → GetMicrosoftLearnID`, `ShouldApproveByDefault → TryGetMicrosoftCopilotDefaultApproval`, …)
- [Codeunit 1563 "Privacy Notice"](../codeunit/1563.md) (2 calls: `ShowPrivacyNotice → OnBeforeShowPrivacyNotice`, `TryGetAllPrivacyNotices → OnRegisterPrivacyNotices`)
- [Codeunit 1564 "Privacy Notice Approval"](../codeunit/1564.md) (2 calls: `SetApprovalState → SetApprovalState`, `TryCreateDefaultApproval → SetApprovalState`)

## Called by

- [Codeunit 1563 "Privacy Notice"](../codeunit/1563.md) (9 calls: `CanCurrentUserApproveForOrganization → CanCurrentUserApproveForOrganization`, `ConfirmPrivacyNoticeApproval → ConfirmPrivacyNoticeApproval`, `CreateDefaultPrivacyNotices → CreateDefaultPrivacyNotices`, …)

## Recent changes

- 2026-07-30 [#9838 Grant indirect read on Privacy Notice tables in Privacy Notice Impl.](../../changes/bcapps/9838.md) (main, BC30, fix)
- 2026-07-23 [#9206 Added new privacy policy for BizChat depending on Microsoft Copilot 365 with EEA environments behavior changes](../../changes/bcapps/9206.md) (main, BC30, feature)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC26, BC29

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: "Privacy Notice Impl.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
