---
id: object/codeunit/1566
type: object
title: Codeunit 1566 "System Privacy Notice Reg."
summary: Codeunit 1566 "System Privacy Notice Reg." in System Application (System.Privacy). 8 public procedures, 1 event subscribers. Present since at least BC23, still in BC30, changed in BC25-26, 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: 0a2b2cb6eae60d9c6d35453c4d4d4c99fa43406314368d614241a8e381e5dabc
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Privacy%20Notice/src/SystemPrivacyNoticeReg.Codeunit.al
    title: src/System Application/App/Privacy Notice/src/SystemPrivacyNoticeReg.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/9206
object_type: codeunit
object_id: 1566
name: System Privacy Notice Reg.
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:
  - "25"
  - "26"
  - "29"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 9
  events: 0
  subscribers: 1
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 7
  implements: 0
---

# Codeunit 1566 "System Privacy Notice Reg."

> Codeunit 1566 "System Privacy Notice Reg." in System Application (System.Privacy). 8 public procedures, 1 event subscribers. Present since at least BC23, still in BC30, changed in BC25-26, BC29.

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

## Event subscriptions

- CreatePrivacyNoticeRegistrations subscribes to Codeunit "Privacy Notice" OnRegisterPrivacyNotices

## Procedures

- `GetMicrosoftLearnID(): Code[50]`: Gets the Microsoft Learn privacy notice identifier.
- `GetTeamsPrivacyNoticeId(): Code[50]`: Gets the Microsoft Teams privacy notice identifier.
- `GetPowerAutomatePrivacyNoticeId(): Code[50]`: Gets the Power Automate privacy notice identifier.
- `GetPowerAutomatePrivacyNoticeName(): Code[250]`: Gets the Power Automate privacy notice name.
- `GetBingPrivacyNoticeName(): Code[50]`: Gets the Bing privacy notice name.
- `GetMicrosoftCopilotID(): Code[50]`: Gets the Microsoft Copilot privacy notice identifier.
- `TryGetMicrosoftLearnInGeoSupport(var HasInGeoSupport: Boolean)` (internal)
- `TryGetMicrosoftCopilotDefaultApproval(var ShouldApproveByDefault: Boolean)` (internal)

## Called by

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 1565 "Privacy Notice Impl."](../codeunit/1565.md) (4 calls: `ShouldApproveByDefault → GetMicrosoftCopilotID`, `ShouldApproveByDefault → GetMicrosoftLearnID`, `ShouldApproveByDefault → TryGetMicrosoftCopilotDefaultApproval`, …)
- [Codeunit 1568 "Power Automate Privacy Notice"](../codeunit/1568.md) (4 calls: `DisplayNotificiationAfterInsertPowerAutomate → GetPowerAutomatePrivacyNoticeId`, `DisplayNotificiationAfterModifyPowerAutomate → GetPowerAutomatePrivacyNoticeId`, `DisplayNotificiationBeforeDeletePowerAutomate → GetPowerAutomatePrivacyNoticeId`, …)
- [Codeunit 1567 "System Upgrade Privacy Notices"](../codeunit/1567.md) (2 calls: `UpgradeMicrosoftLearnPrivacyNotice → GetMicrosoftLearnID`, `UpgradeTeamsPrivacyNotice → GetTeamsPrivacyNoticeId`)
- [Codeunit 7760 "Copilot Capability Install"](../codeunit/7760.md) (2 calls: `OnGetRequiredPrivacyNotices → GetMicrosoftCopilotID`, `OnGetRequiredPrivacyNotices → GetMicrosoftLearnID`)
- [Page 7775 "Copilot AI Capabilities"](../page/7775.md) (2 calls: `OnOpenPage → GetBingPrivacyNoticeName`, `UpdateBingSearchOptIn → GetBingPrivacyNoticeName`)
- [Codeunit 1569 "Microsoft Learn Privacy Notice"](../codeunit/1569.md) (1 call: `ShowPrivacyNoticeMicrosoftLearn → GetMicrosoftLearnID`)
- [Table 7775 "Copilot Settings"](../table/7775.md) (1 call: `EnsurePrivacyNoticesApproved → GetMicrosoftCopilotID`)

## Recent changes

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