---
id: change/bcapps/10341
type: change
title: "#10341 Remove Anthropic privacy notice from Expense Agent"
summary: Anthropic privacy notice components are removed from Expense Agent with the original page marked for future removal, while upgrade logic attempts to clean up persisted legacy data.
tier: official
language: en
tags:
  - obsoletion
  - main
  - bc30
  - codeunit exp. privacy notice reg.
  - codeunit upgrade expense agent setup
  - page anthropic privacy notice
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:08:36.501Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: c04309384c7e5e733bbde56110c0fac01214a12a
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10341
    title: "microsoft/BCApps#10341: Remove Anthropic privacy notice from Expense Agent"
    date: "2026-08-19"
    commit: c04309384c7e5e733bbde56110c0fac01214a12a
    t: null
    quote: Remove Anthropic registration, approval checks, capability requirements, and active privacy notice UI from Expense Agent.
links:
  learn: []
  objects:
    - object/codeunit/6951
    - object/codeunit/6978
    - object/page/7078
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10341
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10341
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-19T09:00:00Z"
author: encimita
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Ownership: Manual"
  - "Team: Other"
change_class: code
change_kind: obsoletion
behavior_change: true
breaking: false
files:
  count: 3
  additions: 41
  deletions: 55
  al: 3
apps:
  - ExpenseAgent
objects_touched:
  - key: codeunit/6951
    page: codeunit/6951
    type: codeunit
    id: 6951
    name: Exp. Privacy Notice Reg.
    app: ExpenseAgent
    status: modified
  - key: codeunit/6978
    page: codeunit/6978
    type: codeunit
    id: 6978
    name: Upgrade Expense Agent Setup
    app: ExpenseAgent
    status: modified
  - key: page/7078
    page: page/7078
    type: page
    id: 7078
    name: Anthropic Privacy Notice
    app: ExpenseAgent
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 646070
systems:
  - development
quote: Remove Anthropic registration, approval checks, capability requirements, and active privacy notice UI from Expense Agent.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10341 Remove Anthropic privacy notice from Expense Agent

> Anthropic privacy notice components are removed from Expense Agent with the original page marked for future removal, while upgrade logic attempts to clean up persisted legacy data.

[Pull request](https://github.com/microsoft/BCApps/pull/10341) · merged into `main` (BC30) on 2026-08-19 by encimita · 3 files (+41 -55), 3 AL · obsoletion · tier official · reviewed (checked by Opus)

## What changed

- Anthropic registration, approval checks, capability requirements and active privacy notice UI removed from Expense Agent
- Page 7078 Anthropic Privacy Notice kept unchanged, marked pending obsolete and wrapped in #if not CLEAN29
- Per-database upgrade attempts to delete the legacy privacy notice and its approval records without blocking the upgrade
- Legacy notice ID kept only as migration data so existing records can be deleted
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 6951 "Exp. Privacy Notice Reg."](../../objects/codeunit/6951.md), ExpenseAgent: modified
- [Codeunit 6978 "Upgrade Expense Agent Setup"](../../objects/codeunit/6978.md), ExpenseAgent: modified
- [Page 7078 "Anthropic Privacy Notice"](../../objects/page/7078.md), ExpenseAgent: modified

## Context

- Work items: AB#646070
- Labels: AL: Apps (W1), Ownership: Manual, Team: Other
- Systems: development
- From the description: "Remove Anthropic registration, approval checks, capability requirements, and active privacy notice UI from Expense Agent."

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
