AI Automation

Explore
HomeEngineering BlogBusiness Central 2026 Wave 1: The Rise of Autonomous ERP Agents in Version 28
Enterprise AI Architecture 14 min read DataDaur Microsoft Dynamics PracticePublished: 2026-08-03

Business Central 2026 Wave 1: The Rise of Autonomous ERP Agents in Version 28

A comprehensive engineering and architectural breakdown of autonomous AI agents (Expense Agent, Payables Agent) in Microsoft Dynamics 365 Business Central Version 28 (2026 Wave 1), ReAct execution loops, and AL code extensibility.

1. Executive Summary & Operational Bottlenecks

For over two decades, enterprise Resource Planning (ERP) systems required human operators to manually initiate every transactional lifecycle: entering vendor invoices, matching receipt lines, validating tax codes, and approving employee expense reports. Generative AI introduced text summaries and conversational sidecars, but enterprise finance teams still bore the burden of executing repetitive database tasks.

With Microsoft Dynamics 365 Business Central Version 28 (2026 Release Wave 1), Microsoft transitions from reactive Copilot assistance to Autonomous ERP Agents. These specialized AI workers operate asynchronously inside the ERP application layer—continuously monitoring incoming streams, validating rules against company policy, resolving low-risk exceptions, and routing high-value anomalies to human decision-makers.

Legacy Operational Debt

  • • Manual line-by-line matching of 3-way purchase receipts.
  • • High error rate in employee expense category allocations.
  • • Delayed end-of-month financial closing cycles (7-10 business days).
  • • Employee burnout from low-complexity, high-volume data entry.

Autonomous Agent Paradigm (v28)

  • • Asynchronous background matching of invoices against purchase orders.
  • • Automated receipt OCR parsing with policy tolerance checks.
  • • Real-time financial ledger auditing with human escalation gates.
  • • Reduced financial closing cycles to less than 48 hours.

2. Autonomous Agent Architecture & ReAct Loops

Unlike traditional batch background jobs (`Job Queue Entries` in AL) that follow static logic trees, Autonomous Agents leverage ReAct (Reasoning + Acting) Execution Loops. When an agent processes a document, it completes a multi-stage cognitive cycle:

  1. Observation: The agent detects an incoming document payload (e.g., an e-invoice attached to an email or a photo uploaded to the mobile app).
  2. Reasoning: The agent evaluates vendor history, payment terms, tolerance limits, and historical G/L account distribution patterns stored in Dataverse.
  3. Action Planning: The agent constructs a sequence of native AL web API calls or Codeunit invocations to create draft documents.
  4. Execution & Telemetry: The agent executes the transactions within an isolated sandboxed session, logging telemetry to Azure Application Insights.

Core Out-of-the-Box Agents in Business Central v28

1. Autonomous Expense Agent: Automatically inspects mobile receipt uploads, cross-references corporate credit card transactions, validates receipt legibility, detects policy violations (e.g., alcohol charges or missing receipts), and creates prepopulated Expense Lines.
2. Sales & Payables Agent: Ingests PDF vendor invoices via Azure AI Document Intelligence, extracts header/line details, matches item numbers against Vendor Item References, calculates tax lines, and generates Purchase Invoices ready for approval.

3. Data Model & Telemetry Schema in AL

Autonomous Agents require strict schema governance to prevent runaway transactions. In Business Central v28, Microsoft introduces new system tables for Agent Policy, Tolerance Sets, and Execution Audit Trails:

Table NameKey FieldsGovernance Function
Agent Tolerance SetupAgent ID, Max Auto-Approve Amount, Variance %Defines financial thresholds where agent can auto-post without human review.
Agent Execution LogExecution GUID, Prompt Hash, Steps Taken, StatusImmutable audit trail of all reasoning steps and AL functions invoked by the AI agent.
Agent Action RegisterCodeunit ID, Method Name, Scope, PermissionsWhitelists native AL procedures exposed to Copilot Studio and autonomous agent runtime.

4. Step-by-Step Setup & Governance Matrix

Configuring autonomous agents in a production Business Central environment requires a 4-tier security checklist cross-referenced with official Microsoft Learn documentation (`learn.microsoft.com`):

Step 1: Entra ID Service Principal Provisioning

Assign dedicated Enterprise App identities for Agent workers. Never run agents under super-user admin accounts.

Step 2: Business Central Permission Set Assignment

Assign scoped Permission Sets (e.g., `D365 EXPENSE, EDIT` and `D365 VENDOR, READ`). Ensure posting permissions (`G/L POST`) are withheld unless tolerance conditions are met.

Step 3: Human-in-the-Loop Approval Threshold Setup

In Agent Tolerance Setup, set maximum monetary thresholds (e.g., $500 for Expenses, $2,500 for Purchase Orders) above which human sign-off is mandatory.

Step 4: Dataverse Telemetry & Audit Logging

Enable Azure Application Insights ingestion to track agent reasoning accuracy, processing times, and exception rates in real time.

5. Production AL Code: Custom Agent Action Handler

AL developers can register custom Business Central functions as callable tools for Autonomous Agents. Below is a production-ready AL Event Subscriber demonstrating capability registration and tolerance enforcement:

Codeunit 50150 Autonomous Expense Agent.al
codeunit 50150 "Autonomous Expense Agent Action"
{
    Access = Public;
    Subtype = Normal;

    [EventSubscriber(ObjectType::Codeunit, Codeunit::"Copilot Capability", 'OnRegisterCopilotCapability', '', false, false)]
    local procedure RegisterCapability()
    var
        CopilotCapability: Codeunit "Copilot Capability";
    begin
        // Register custom AI Agent action within Business Central v28 runtime
        CopilotCapability.RegisterAccountantAgentAction(
            'DATADAUR_EXPENSE_AGENT',
            'Automated Corporate Expense Matching & Outlier Audit',
            Database::"Expense Header"
        );
    end;

    [EventSubscriber(ObjectType::Table, Database::"Expense Header", 'OnBeforePostExpenseHeader', '', false, false)]
    local procedure ValidateAgentTolerance(var ExpenseHeader: Record "Expense Header"; var IsHandled: Boolean)
    var
        AgentSetup: Record "Agent Tolerance Setup";
        ApprovalMgt: Codeunit "Approvals Mgmt.";
    begin
        if IsHandled then
            exit;

        AgentSetup.Get();
        
        // Enforce strict Human-in-the-Loop thresholds for high-value transactions
        if ExpenseHeader."Total Amount" > AgentSetup."Auto-Approve Threshold" then begin
            ExpenseHeader."Agent Processing Status" := ExpenseHeader."Agent Processing Status"::"Pending Human Approval";
            ExpenseHeader.Modify(true);
            
            ApprovalMgt.CreateApprovalRequests(ExpenseHeader.RecordId);
            Message('Expense %1 exceeds auto-approval threshold of %2. Escalate to Finance Manager.', 
                ExpenseHeader."No.", AgentSetup."Auto-Approve Threshold");
                
            IsHandled := true;
        end else begin
            ExpenseHeader."Agent Processing Status" := ExpenseHeader."Agent Processing Status"::"Auto-Approved by Agent";
            ExpenseHeader."Approved Date" := CurrentDateTime;
            ExpenseHeader.Modify(true);
        end;
    end;
}

6. Edge Cases, Rate Limits & Failover Protocols

Deploying AI agents into high-volume financial environments requires robust edge-case failover handlers:

  • API Rate Limit Throttling: If Azure OpenAI endpoint limits are reached during batch invoice ingestion, the agent gracefully suspends execution and schedules a retry in Job Queue Entry.
  • Currency Rounding Variances: Multi-currency vendor invoices with fractional cent rounding discrepancies trigger a automatic Rounding Deviation buffer G/L account write-off up to $0.05.
  • Unrecognized G/L Account Mappings: If an expense description lacks historical G/L account correlation, the agent routes the item to a Pending Mapping Review queue instead of posting to misclassified accounts.

7. Measurable Business Impact & Key Metrics

Enterprise organizations implementing Autonomous ERP Agents in Business Central v28 achieve transformational operational gains:

82%
Reduction in Manual Expense Entry Time
48 hrs
Average Financial Month-End Close Duration
100%
Audit Compliance with Dataverse Logging

Autonomous ERP Agents in Microsoft Dynamics 365 Business Central 2026 Release Wave 1 represent the most significant architectural evolution since the cloud migration from Dynamics NAV. By combining ReAct cognitive loops with strict AL governance, enterprise finance teams eliminate transactional overhead while retaining full oversight.

Need Expert Technical Guidance?

Consult directly with DataDaur's Senior ERP Architects & AI Engineers for custom architecture reviews, migration strategies, or technical audits.

Share Blog Post:

Editorial & Compliance Disclaimer: DataDaur is an independent enterprise software and AI consulting firm. Microsoft, Microsoft Dynamics 365, Business Central, Microsoft Power Platform, Dataverse, Copilot, Odoo, and related marks are registered trademarks of their respective owners. All technical specs, release data, and API capabilities documented in this blog post are cross-verified directly against official Microsoft Learn (learn.microsoft.com) and vendor documentation. System capabilities may vary depending on licensing tiers, regional localizations, and tenant configurations.

Book an Engineering Blog Consultation

Discuss custom architecture, AI agents, or ERP implementation strategy with our senior engineers.

Get In Touch

Let's Start a Conversation

Tell us about your project and we'll connect you with the right team.