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

#14526 Warn when the Payables Agent setup is opened for another company's agent

The Payables Agent setup page now displays a warning when opened for another company's agent, explaining that changes won't be saved and directing users to open the setup in the agent's own company.

Pull request · merged into main (BC30) on 2026-12-02 by Explorer986 · 1 file (+28 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Detects when the setup page is opened for a Payables Agent belonging to a different company
  • Displays a user-friendly message naming the agent and company involved
  • Prevents changes from being saved when accessed for another company’s agent
  • Discards updates and trial uploads when the page closes in this scenario
  • Maintains existing behavior when opening the setup for the current company’s own agent
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#654743
  • Labels: AL: Apps (W1), Team: Finance
  • Systems: copilot
  • From the description: “If it isn’t the current company’s Payables Agent, the page still opens, but it shows a message that names the agent and the company.”

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

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