---
id: change/bcapps/12910
type: change
title: "#12910 [Master] - Bug 652243: [Expense Agent] Validate approval user email"
summary: The Expense Agent now validates the approval user email on the Expense User table by checking the user's Microsoft 365 authentication email correctly. Tests cover the new validation.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - table expense user
system: copilot
review:
  state: reviewed
  by: opus
  at: "2026-11-05T00:53:18.860Z"
  flags: []
generated:
  at: "2026-11-06T00:17:27.413Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: a92f9bf4f6e1a0a4abe9bf735572d05dce288c11
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12910
    title: "microsoft/BCApps#12910: [Master] - Bug 652243: [Expense Agent] Validate approval user email"
    date: "2026-11-04"
    commit: a92f9bf4f6e1a0a4abe9bf735572d05dce288c11
    t: null
    quote: Improves approval user validation by checking the Microsoft 365 authentication email correctly
links:
  learn: []
  objects:
    - object/table/6923
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/across-how-to-set-up-approval-users
      title: Set up approval users
      label: possibly related
      why: Documents setting up approval users with email configuration and validation requirements.
      by: model
number: 12910
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12910
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-04T07:57:48Z"
author: v-rohangarg20
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - ExpenseManagement
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 4
  additions: 136
  deletions: 17
  al: 1
apps:
  - ExpenseAgent
objects_touched:
  - key: table/6923
    page: table/6923
    type: table
    id: 6923
    name: Expense User
    app: ExpenseAgent
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 652243
systems:
  - copilot
quote: Improves approval user validation by checking the Microsoft 365 authentication email correctly
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #12910 [Master] - Bug 652243: [Expense Agent] Validate approval user email

> The Expense Agent now validates the approval user email on the Expense User table by checking the user's Microsoft 365 authentication email correctly. Tests cover the new validation.

[Pull request](https://github.com/microsoft/BCApps/pull/12910) · merged into `main` (BC30) on 2026-11-04 by v-rohangarg20 · 4 files (+136 -17), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Approval user email validation in the Expense User table now checks the Microsoft 365 authentication email
- Tests added in the expense and interim approval test codeunits
- Workflow demo approval test adjusted
- Behaviour changes for users or extensions.

## AL objects touched

- [Table 6923 "Expense User"](../../objects/table/6923.md), ExpenseAgent: modified

## Context

- Work items: AB#652243
- Labels: AL: Apps (W1), ExpenseManagement, Team: Finance
- Systems: copilot
- From the description: "Improves approval user validation by checking the Microsoft 365 authentication email correctly"

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Set up approval users](https://learn.microsoft.com/dynamics365/business-central/across-how-to-set-up-approval-users) — possibly related: Documents setting up approval users with email configuration and validation requirements. (model-linked)

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).
