Blog
Our Thoughts

Custom Agents in Dynamics 365 Business Central (Preview): What They Are, How They Work, and a Practical Example

 

Microsoft’s custom agents in Dynamics 365 Business Central are one of the most practical shifts we have seen in how everyday work can be automated inside the Business Central web client. Instead of only asking Copilot questions, you can now design an agent that takes actions in Business Central, navigating pages and completing steps like a user would.

From a Simply Dynamics perspective, this matters because it brings no-code, in-product task automation closer to real operational work for Irish teams, especially in finance, sales order processing, and routine administration. It also introduces a new set of implementation basics, role design, page visibility, permissions, logging, and governance, that will determine whether agents are helpful in practice or frustrating in day-to-day use.

In this guide we cover what custom agents are (and what they are not), how the agent ‘sees’ Business Central, the setup steps that make or break success, a practical example releasing sales orders over a threshold, and the lessons and limitations you should plan for before you take this beyond a sandbox.

Note: Custom agent design capabilities in Dynamics 365 Business Central are currently in preview and may change before general availability. Selected Microsoft-built agents, such as Sales Order Agent and Payables Agent, are generally available in 2026 release wave 1. We recommend testing all new capabilities in a sandbox environment before production use.

Copilot vs agents, the simplest way to think about it

A quick way to frame the difference:

  • Copilot helps you find information and answer questions.
  • An agent is designed to perform actions, step-by-step, until the task is complete or it needs input.

In practical terms, an agent can:

  • Open a list page
  • Apply a filter
  • Open records
  • Trigger actions from the ribbon
  • Complete a workflow like a trained user

That “acts like a user” detail matters, because it affects both what agents do well and what can trip them up.

What are custom agents in Business Central?

Custom agents (sometimes referred to as an agent design or playground experience) are configured inside Business Central. The standout point is that the agent is driven by three things: what you tell it to do, what it can see, and what it is allowed to do.

In practice, the agent is guided by:

  • Natural language instructions you write
  • The role centre and pages available to the agent user
  • The permission sets assigned, and also the permissions of the user running the agent

This means the agent is not automatically operating on table schema or APIs by default. For many scenarios, it is interacting through what it can see and click in the client.

How the agent “sees” Business Central, and why UI visibility matters

This is the part that surprises most people first.

Agents generally operate through the visible UI layer, which means:

  • If a field is not visible on the page, the agent cannot reliably use it.
  • If an action is not available in the ribbon, the agent cannot click it.
  • If the role centre does not expose the pages needed, the agent can get stuck.

Think of it as an assistant who can only do what a user can do, using the screens you give them.

Key takeaway: For agents, UI configuration is tooling. If you want the agent to filter on a value, ensure the field is visible on the list page.

Practical scenario, release all sales orders over a threshold

Let’s use a straightforward and realistic example for many sales teams.

Goal: Release all open Sales Orders where the amount is greater than 10,000.

What the agent needs to do:

  1. Open the Sales Orders list
  2. Filter orders where Amount, Balance, or Total exceeds 10,000
  3. Open each qualifying order
  4. Trigger Release
  5. Leave other orders unchanged

This is exactly the type of repetitive work that is tedious manually, but it is also risky to automate if you do not control role visibility, permissions, and review. The good news is that agents can be introduced in a controlled way, in sandbox first, with clear logging and least-privilege permissions.

Book a Business Central AI and Automation Readiness Call – We can help you identify the best first agent use cases and set this up safely in a sandbox environment.

Step-by-step, how to build an agent (preview)

Step 1, create the agent

In Business Central, use Tell Me and search for the relevant agent setup area (preview), then create a new agent card. New agents typically start disabled, which is good practice. Configure first, enable later.

Step 2, write the instructions (this is your “programme”)

Your instructions are effectively the workflow definition. Keep them short, specific, and structured. Use the exact field names that users see on the page.

Release all open sales orders with a balance greater than 10,000.

Steps:
1. Open the Sales Orders list.
2. Filter the list where Balance Amount is greater than 10,000.
3. For each filtered Sales Order:
a. Open the Sales Order.
b. Select Release.
4. Do not modify any Sales Orders that do not meet this condition.
5. When finished, confirm completion and report the number of Sales Orders released.

Practical tip from Simply Dynamics:

  • If your team uses a different field than Balance Amount (for example Amount Including VAT, Outstanding Amount, or a custom field), align your instructions to that exact field name.
  • Ensure the field is visible on the page. If the agent cannot see the field in the UI, it cannot reliably filter on it.

Step 3, pick the right role centre (critical)

Because the agent behaves like a user, it depends on the role centre to expose the correct list pages, relevant columns and fields, and the required actions such as Release. If the field you need is not visible on the list page, the agent may have to open each record one-by-one, which is slower and less reliable.

Recommendation: Choose a role centre designed for the job, for example a Sales Order Processor style role, rather than a generic or minimal role centre.

Step 4, assign permission sets (and understand the “intersection” rule)

Agents are users. They need permission sets.

A practical way to remember this:

  • The agent’s effective permissions are limited by the agent user’s permissions.
  • The agent’s effective permissions are also limited by the permissions of the person triggering the agent.
  • If either one lacks access, the action fails.

Simply Dynamics guidance:

  • Keep permissions tight and role-based.
  • Avoid giving broad permissions just to get the agent working.
  • Test the minimum permission set needed, then document it.

If you see an access denied message, the fix is usually to disable the agent, correct permission sets, enable again, and re-run in sandbox.

Step 5, enable and run the agent

Once configured, enable the agent and create a task. Best practice is to start with a dry run in a sandbox company, so you can validate logic without impacting live orders.

Step 6, review the agent task log

The task log is not just a nice-to-have. It is essential for verifying what was changed, troubleshooting errors, improving instructions, and creating audit confidence for internal stakeholders.

What you want to see:

  • Which orders were identified
  • Which orders were released
  • A completion summary (including counts)

What we learned from this example (and what to watch for)

1. Agents behave like real users

Agents are constrained by UI visibility, page layout, and available actions. Action: ensure the agent’s profile has the pages, fields, and actions it needs.

2. Permissions are the most common blocker

If a run fails, permissions are often the reason. Action: document the minimum permission set required and implement a controlled process for who can run agents.

3. Observability is a strength

Logging helps you move from experimentation to a managed process. Action: build a habit of reviewing logs during early rollout and capture learnings in a simple playbook.

4. This is genuinely no-code for many tasks

For a large class of UI-based routines, this reduces the need to build bespoke extensions just to automate repetitive clicks. No-code still needs governance, treat it like automation.

Limitations today, and what we expect next

Right now, the main tool custom agents use is the UI. That is powerful because it mirrors how people work, but it can also be limiting.

Common constraints include:

  • Reliance on fields being visible
  • Sensitivity to page changes or personalisations
  • Slower performance for high-volume record processing
  • Less direct access to structured data operations

From a Simply Dynamics viewpoint, the long-term value will increase as agent capabilities expand to combine UI actions with more structured options, while retaining strong security and audit controls.

Where this fits for Irish SMEs using Business Central

This is not about replacing people. It is about reducing time spent on repetitive administration so teams can focus on exceptions and customer outcomes.

High-fit use cases we see include:

  • Releasing or progressing documents based on clear criteria
  • Preparing routine checks and operational housekeeping
  • Validating completeness before approval or posting
  • Supporting teams with repeatable task execution in a controlled process

If your organisation is already standardised on Business Central processes, this can be a meaningful productivity step without a large development project, provided it is introduced with the right controls.

Frequently asked questions

Are custom agents available in all Business Central tenants?

Custom agent design capabilities are currently in preview and availability can vary by region, update channel, and Microsoft rollout. Always validate in your tenant and test in a sandbox first.

Do I need AL development to build an agent?

For many UI-driven workflows, no. Agents can be configured using natural language instructions, role centre visibility, and permission sets. More advanced scenarios may still require development or integrations.

What is the biggest setup mistake teams make?

Choosing the wrong role centre or missing UI fields and actions. If the agent cannot see the required field or action on the page, it cannot reliably complete the workflow.

Is this safe for production?

Treat agents like any automation. Start in sandbox, apply least-privilege permissions, review logs, and introduce approvals where needed before using in production.

Final thoughts

Custom agents are a strong signal of where Microsoft is taking Business Central, more automation that is accessible to domain experts, not only developers. The opportunity is real, but success depends on fundamentals: role centre design, UI visibility, least-privilege permissions, and a controlled rollout with logging and review. If you want help identifying the highest-impact first use case and setting it up safely, Simply Dynamics can support a sandbox pilot and a clear adoption plan.

Next Steps… Contact Simply Dynamics, our Dynamics 365 Team are here to help! 

 

Why not book your Online meeting to chat with a member of our Dynamics 365 Team, or Contact Us Now

About the Author

Author Photo

Ger Foskin

Dynamics 365 Sales Director
Published May 26, 2026
Microsoft Dynamics 365 ERP & CRM Support
Microsoft Dynamics 365 ERP & CRM Contact Us
Microsoft Dynamics 365 ERP & CRM Contact Us
Microsoft Dynamics 365 ERP & CRM Contact Us