
It started when Miha Vuk connected with Microsoft and was soon joined by Jovica Živković, Klemen Novak, Jim Willsher, and Marek Rolecki to form a small project team. In this article, we share what we learned.
Docentric participated in Microsoft's Dynamics 365 ERP in Work IQ private preview, exploring how Business Skills and the Dynamics 365 ERP MCP server can help AI agents work with existing functionality in Dynamics 365 Finance and Operations (D365FO).
We wanted to understand how these technologies work in practice, particularly for ISVs extending D365FO with their own solutions.
For our first use case, we built the Docentric Invoice Delivery Agent, using Docentric AX Free Edition, Microsoft Business Skills, and the Dynamics 365 ERP MCP server. Microsoft featured our agent, alongside solutions from other participating partners, in its announcement.
Read Microsoft's announcement >>
The experience helped us understand what AI agents can already accomplish with existing ERP functionality, where additional development is needed, and how Business Skills should be designed.
Table of Contents
1. Our First Use Case: Invoice Delivery Troubleshooting
2. What We Learned
Business Skills can make existing ERP functionality accessible to AI agents
Sometimes a small application extension makes a significant difference
Choosing the right ERP MCP tools affects performance
Good diagnostics are essential for reliable agents
Business Skills need clear boundaries and user involvement
3. What's Next
1. Our First Use Case: Invoice Delivery Troubleshooting
When a customer reports that an invoice hasn't arrived, investigating the issue may involve several steps in D365FO.
A user may need to locate the invoice, examine outgoing email records, check the recipient's address, review available document delivery information, and determine what went wrong.
We wanted an AI agent to help with this process.
The Docentric Invoice Delivery Agent can investigate one or multiple invoices, including those referenced in customer emails or collection letters. It uses available D365FO and Docentric data to identify the email status, recipient, and possible causes of delivery problems.
When an invoice email needs to be resent, the agent can help the user select the correct recipient, prepare the resend, and optionally update the customer's invoice email address.
The agent can also help prepare a reply to the customer.
Our implementation uses a single Business Skill that guides the agent through the investigation and corrective actions.
Read more about the Docentric Invoice Delivery Agent >>
2. What We Learned
Business Skills can make existing ERP functionality accessible to AI agents
One of our goals was to explore how much an AI agent could accomplish using functionality already available in D365FO and Docentric AX.
The Dynamics 365 ERP MCP server provides Data Tools, Form Tools, and Action Tools for accessing ERP data and operations.
Business Skills provide the instructions that help agents select and use these tools to complete business tasks.
We created our Business Skill in natural language, describing how the agent should identify invoices, examine email records, investigate problems, and guide corrective actions.
This allowed us to combine multiple ERP operations into one workflow without developing a separate AI Tool for every step.
Sometimes a small application extension makes a significant difference
During development, we encountered a limitation in the existing email sending functionality.
The agent needed to resend invoice emails to a different recipient, including emails that had already been sent. However, the available operations did not support the complete workflow we needed.
To address this, we introduced a Duplicate button on the Batch email sending status form.
The new operation creates a copy of an existing email record. The agent can then update the recipient on the duplicated record and restart sending, while preserving the original email record.
This was an important finding for us.
ERP MCP makes existing application functionality accessible to agents, but that functionality may not always provide exactly the operations an agent needs.
For ISVs and developers, targeted extensions to existing forms and business operations can help close these gaps.
Choosing the right ERP MCP tools affects performance
Our initial experiments also showed that tool selection matters.
Form Tools allow agents to interact with D365FO forms and their available actions. However, some operations require multiple sequential steps, increasing execution time and token consumption.
We therefore designed the Business Skill to prefer data queries for retrieving information and use Form Tools where interaction with application functionality is required.
This experience also highlighted opportunities to expose more complex operations through Custom AI Tools when existing tools become inefficient.
The choice depends on the operation, its complexity, and how frequently agents need to perform it.
Good diagnostics are essential for reliable agents
The quality of an agent's investigation depends on the information available in the application.
For invoice delivery troubleshooting, the agent uses several sources, including invoice records, outgoing email status, customer email addresses, and available Docentric Print archive information.
These sources do not always provide a complete explanation of what happened.
For example, an email marked as Sent has left the system, but that status does not confirm that it reached the customer's inbox.
Similarly, the absence of an outgoing email record does not necessarily prove that an invoice was never processed.
We designed the Business Skill to distinguish confirmed findings from likely explanations and cases where the available evidence is insufficient.
This is particularly important for business processes where users may rely on an agent's findings to make decisions.
Business Skills need clear boundaries and user involvement
Our experience also reinforced the importance of defining what an agent is allowed to do.
The Invoice Delivery Agent's Skill includes instructions for collecting information, investigating problems, selecting recipients, updating customer contact information, and preparing customer replies.
It also specifies when the agent must ask the user to make a decision.
However, instructions alone cannot guarantee that an agent will always behave as expected. Security permissions, business validations, and required approvals must be enforced through the appropriate application mechanisms.
Business Skills also need testing against real scenarios, including missing records, unexpected statuses, and operations that fail.
3. What's Next
The Invoice Delivery Agent is our first practical use case, but we see many more opportunities to combine Microsoft Business Skills and the Dynamics 365 ERP MCP server with Docentric AX.
Our technical teams are exploring additional Business Skills to support various D365FO processes involving business documents and to meet the specific needs of organizations and their users.
Some examples include:
- Checking Docentric configuration and effective Print Management settings, including identifying configuration issues.
- Generating, processing, securing, and distributing business documents based on SSRS reports, ER configurations, or Docentric templates.
- Cleaning up unused user-defined labels in Docentric templates.
- Investigating issues in customer environments using available D365FO data and Docentric diagnostic tools.
- Proactively identifying missing contact information across customers and vendors.
And much more!
Have a scenario in mind? Contact us at support@docentric.com to discuss it.
We will continue experimenting with these capabilities and sharing what we learn with the D365FO community as Microsoft's capabilities evolve.
For more information, see:
- How Microsoft Business Skills and the Dynamics 365 ERP MCP Server Work Together, our technical explanation of the underlying technologies.
- Docentric Invoice Delivery Agent, our first practical use case built with Docentric AX Free Edition and Microsoft Business Skills.
Tags:
One thought on “Docentric’s Experience with Microsoft Business Skills and Dynamics 365 ERP MCP Server”