#11997 Clarify Expense Agent Entra app permission checks
Permission checks for the Expense Agent Entra app have been reordered to match the setup flow and documented to clarify why non-SUPER users need additional permissions beyond Expense Mgmt. Admin.
- 1files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-10-22 by encimita · 1 file (+13 -11), 1 AL · refactor · tier official · reviewed (checked by Opus)
What changed
- Reordered authorization checks to follow the setup flow sequence
- Added documentation explaining why non-SUPER users require SECURITY, Expense Agent, and Agent - Admin permissions
- Preserved existing SUPER user bypass behavior
- Authorization rule remains: SUPER or (Expense Mgmt. Admin and SECURITY and Expense Agent and Agent - Admin and Configure All Agents)
- No changes to actual permission model or runtime behavior
AL objects touched
- Codeunit 6922 “Expense Agent Entra App Mgt.”, ExpenseAgent: modified
Context
- Work items: AB#649970
- Labels: AL: Apps (W1), Team: Finance
- Systems: copilot
- From the description: “Reorder the Expense Agent Entra application authorization checks to follow the setup flow.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Set Up Expense Agent in Business Central — possibly related: Explains Expense Agent setup configuration including permission and security checks. (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).