Integrate AI using developer tools for Copilot
Developer tools for Copilot in Business Central: what counts as a Copilot extension, the System.AI module and PromptDialog page type, Azure OpenAI setup, Microsoft-managed AI resources and billing, Help preparation, and a transparency note. It answers planning and setup questions for AL developers building generative AI features.
- 24Learn pages
- 1subtopics
- 5videos
Path: Integration with AI > Integrate AI using developer tools for Copilot · tier official · system copilot · narrative unreviewed (model text not yet checked)
Overview
This section is for partners and AL developers who want to add generative AI to Business Central extensions. It starts with concepts: what the developer tools are (the System.AI namespace, the PromptDialog page type, partner key management, Power BI monitoring), what qualifies as an extension to Copilot, and a transparency note on how the tools work and are governed.
The setup pages cover the practical prerequisites. One explains how to get an Azure subscription, verify Azure OpenAI access, set permissions, and create and deploy resources. Another describes the AI resources Business Central provides, including Microsoft-managed Azure OpenAI, consumption-based billing, error handling, and the bring-your-own subscription option.
Two further pages cover work that needs no direct extensibility: influencing Copilot and agents through custom code and content, and preparing your app’s online Help so Copilot can use it. The subtopic “Extend Copilot in Business Central” (15 pages) holds the AL how-to material: building a capability, designing the PromptDialog experience, and testing capabilities and agents. A sensible reading order is the overview pages, then Azure OpenAI setup or AI resources, then the extension subtopic.
Key points
- A Copilot extension must be LLM-based, respond to natural language to help users complete tasks, and manage generative AI risks with human-in-the-loop patterns such as previews, confidence indication, feedback, and undo or discard.
- The developer tools include the System.AI namespace, the PromptDialog page type, partner key management, Power BI monitoring, and responsible AI guidance.
- Azure OpenAI setup requires an Azure subscription, verified Azure OpenAI access, role-based access control, resource creation, model deployment, and API key management.
- Business Central offers Microsoft-managed Azure OpenAI resources with consumption-based customer billing, or a bring-your-own Azure OpenAI subscription. Supported LLMs named are GPT-5.6-Ceres and GPT-4.1 (2026 release wave 2).
- Overconsumption and other failures are handled through the AOAI Operation Response, and the resources page includes AL code examples for authentication.
- Copilot and agents (Analyze list, Autofill, Chat, Summarize, Sales Order Agent) can work with custom code and content from AL extensions without direct extensibility (2025 wave 1).
- To prepare app Help for Copilot (preview), keep the docs public, HTTPS, English, and indexed by Bing, set the app.json Help property, and add a favicon for brand visibility.
- The transparency note covers text and chat completion APIs, embeddings, the prompt dialog UI, feature governance, the feedback loop, and an admin screen for managing AI features.
Subtopics
- Extend Copilot in Business Central (15 pages)
More Learn pages
- Business Central AI Resources for Copilot Development: Learn how to choose between Microsoft-managed Business Central AI resources and your own Azure OpenAI subscription for Copilot in Marketplace extensions.
- In the observatory: Codeunit 7770 “AOAI Operation Response”
- Function calling in AI: Learn how to call functions in Azure OpenAI.
- Get set up with Azure OpenAI Service: Learn about the tasks that must be completed so that you can start integrating Azure OpenAI Service in your extensions to create Copilot experiences in Business Central
- Influence Copilot and agents without extending them: Learn how to influence Copilot and agents without extending them in Business Central.
- Prepare your app Help for Copilot (preview): Explore how Copilot uses your app’s online content as grounding data to deliver precise answers to user queries.
- Token counting in AI: Learn how to count the number of tokens in your input before sending a request to Azure OpenAI
- Transparency Note Developer Tools for Copilot in Business Central: Developer tools for Copilot in Business Central help you build safer, adaptable AI features. Learn how to use the toolkit and boost productivity.
- What are the developer tools for Copilot?: Get an overview of the toolkit from Business Central for extending Copilot in your extensions.
- What is considered an extension to Copilot?: Learn whether your AI idea or feature is a match for Copilot in Business Central
Videos, posts and code changes
Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.
- #2402 Move Copilot review engine into AL-Go (code change): “AL-Go gains a built-in Copilot pull request review”
- #2413 Only enable automatic Copilot review triggers when opted in (code change): “Automatic Copilot review workflow triggers now activate only when explicitly opted in”
- #10205 Deprecate Text Completion API in AI SDK (work item 621038) (code change): “Text Completion API in the Azure OpenAI AI module is marked obsolete”
- #10408 Shopify Copilot Tax Matching Agent: matching engine and data model (stack 2/3) (code change): “Registers a Copilot capability and calls GPT-4.1 to match Shopify tax”
- #11073 Validate image content before sending to Computer Vision (code change): “Image Analysis Management now validates image content before sending to Computer Vision”
- #12428 Add Copilot feature trial interface (code change): “Added a public Copilot feature trial interface to System Application”
- #246 Expose plan guidance as a preview plugin skill (code change): “BCQuality now exposes plan guidance as a preview plugin skill”
- #84 Package BCQuality as an installable plugin (experiment) (code change): “packages BCQuality as an installable plugin for Copilot CLI”
- Integrating AI in Business Central: A Step-by-Step Guide (community post): “building a custom AI-powered Copilot agent in Business Central that automates customer address extraction”
- Implementing a Multi-Step Process for AI Recommendations in Business Central (community post): “build a multi-step AI-assisted process in Business Central that generates product recommendations”
- Enhancing Business Central with Address Validation AI (community post): “Address validation using Azure OpenAI compares user-entered addresses against existing Business Central address records”
- Azure OpenAI in Business Central AL: Managed vs Unmanaged (community post): “SetAuthorization uses your own Azure OpenAI deployment, which gives you control”
- Using CoPilot to Upgrade Service Notes for Invoices in Business Central AL (community post): “use Copilot to automatically upgrade raw service technician notes into professional”
- From Chat Completions to Responses API: why Azure OpenAI’s new paradigm changes everything. (community post): “Business Central’s System.AI namespace currently wraps Chat Completions and provides guardrails”
- Copilot Quota and AI consumption in Business Central. (community post): “developers can use it as a pre-flight check before calling AI models”
- Copilot Inventory Queries (community post): “Built with the Copilot capability tools Microsoft provides for AL”
- Copilot in Planning Parameter Worksheet (community post): “uses Copilot powered by Azure OpenAI to suggest inventory planning parameters”
- Business Central Under the Hood episode 1: Developing AI in Business Central (video): “Marketing text generation; Chat Copilot for Business Central; AI developer toolkit”
- What’s New: AI Development Toolkit (2026 release wave 1) (video): “Content filtering policies; Prompt injection protection”
- What’s New: Prepare Your Copilot Extension - Practical Considerations (2025 release wave 1) (video): “copilot extension; cloud deployment; large language models; prompt engineering”
- What’s New: Extending Copilot in Business Central (2024 Release Wave 2) (video): “Telemetry for Copilot Features; Managed AI Resources; Temperature and Max Tokens”
- Business Central Under the Hood episode 8: AI Small Language Models and Fine-tuning (video): “small language models; fine-tuning; model distillation; phi models”
Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.
What Learn documents here 8 of 24 Learn pages
- learnBest Practices for Testing the Copilot Capability in AL2026-10-02
- learnBuild a Copilot user experience with the PromptDialog page2026-05-03
- learnBuild the Copilot capability in AL2026-10-02
- learnBusiness Central AI Resources for Copilot Development2026-12-01
- learnCreate prompt dialog page for Copilot feature2026-10-02
- learnCustomize generate mode caption in Copilot2026-10-02
- learnDatasets2026-10-02
- learnDesign content mode of prompt dialog page2026-10-02
Show 16 more
- learnDesign the prompt mode of prompt dialog page2026-10-02
- learnError handling in prompt dialogs2026-10-02
- learnEvaluation2026-10-02
- learnFunction calling in AI2026-10-02
- learnGet set up with Azure OpenAI Service2026-10-02
- learnInfluence Copilot and agents without extending them2026-10-02
- learnIntroduction to developing generative AI experiences for your extensions2025-07-25
- learnPrepare your app Help for Copilot (preview)2026-05-03
- learnPrompting using a floating action bar2026-10-02
- learnTest the Copilot Capability in AL2026-10-02
- learnToken counting in AI2026-10-02
- learnTransparency Note Developer Tools for Copilot in Business Central2026-10-02
- learnWhat are the developer tools for Copilot?2026-10-02
- learnWhat is considered an extension to Copilot?2026-10-02
- learnWrite agent tests2026-10-02
- learnWrite AI tests2026-10-02