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

#14442 Offer the Payables Agent again in a company recreated with the same name

The Payables Agent is now offered again in the plus menu when a company is recreated with the same name, by checking only the agent linked in the company setup instead of searching by user name.

Pull request · merged into main (BC30) on 2026-11-25 by Explorer986 · 2 files (+14 -11), 2 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Only the agent linked in the company’s setup counts as set up for the plus menu and Purchase Invoices actions
  • Deleted companies keep their agent user, which previously made a recreated company with the same name look already set up
  • Setup still locates the existing agent by user name and reuses it, so no duplicate agent user is created
  • Setup, intake and upgrade find the agent as before
  • Behaviour changes for users or extensions.

AL objects touched

Also merged into

  • #14599 into releases/29.x on 2026-11-27

Context

  • Work items: AB#655887
  • Labels: AL: Apps (W1), Team: Finance
  • Systems: copilot
  • From the description: “Setup still finds the existing agent by user name and reuses it, so no second agent user is created.”

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