code change · featureCopilot & Agentsofficial - Microsoftreviewed - checked by Opus

#12539 Add Expense Agent consumption V2 and trial support

Expense Agent adds a V2 consumption API and a 50-expense feature trial, with trial status in the billing overview and remaining free expenses in setup. Quota checks go through an internal interface so tests can inject a mock, and telemetry now logs a static message with selected metadata dimensions instead of the raw request.

Pull request · merged into main (BC30) on 2026-10-26 by encimita · 13 files (+1045 -42), 9 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • V2 consumption API validates nested v1 fields and required identifiers and rejects null usage values
  • 50-expense trial; policy-evaluation operations do not count toward trial usage
  • Trial status shown in billing overview and remaining free expenses in setup wizard
  • Saved trial classification is preserved on retries, and consumption is allowed when trial quota is available
  • Internal quota interface with a default production implementation and test injection
  • Behaviour changes for users or extensions.

AL objects touched

Also merged into

  • #13311 into releases/29.x on 2026-11-02

Context

  • Work items: AB#653453
  • Labels: AL: Apps (W1), Team: Finance
  • Systems: copilot
  • From the description: “Add the Expense Agent V2 consumption API and a 50-expense feature trial.”

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

  • Manage consumption-based billing — possibly related: Documents consumption-based billing model for Expense Agent capabilities that this change implements. (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).