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 and Business Central AI resources, Help preparation, and the transparency note. It answers planning, setup and design questions for partners building generative AI features in AL.
- 24Learn pages
- 1subtopics
- 2videos
Path: Integration with AI > Integrate AI using developer tools for Copilot · tier official · system copilot · narrative reviewed (checked by Opus)
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, responsible AI) and what is considered an extension to Copilot. An extension must be LLM-based, respond to natural language, and manage risk with human-in-the-loop patterns such as previews, confidence indication, and undo or discard.
The setup pages cover two routes to Azure OpenAI. You can get your own Azure subscription, access, permissions, resource, and deployment. Or you can use Business Central AI resources, which are Microsoft-managed, use GPT-4.1 and GPT-4.1-mini, and bill customers by consumption. Bring-your-own subscription is optional for custom scenarios. The pages also cover how to influence Copilot and agents without extending them, how to prepare app Help for Copilot (preview), and the transparency note.
Start with “What are the developer tools for Copilot?” and “What is considered an extension to Copilot?”. Then follow the setup pages for your authorization model. The subtopic “Extend Copilot in Business Central” (15 pages) has the AL how-to detail: building a capability, designing the PromptDialog experience, and testing capabilities and agents.
Key points
- A Copilot extension must be LLM-based, respond to natural language to help users finish tasks, and manage generative AI risk with human-in-the-loop patterns (preview, confidence level, undo and 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 prerequisites: an Azure subscription, verified service access, role-based access control permissions, a resource, a model deployment, and API key management.
- Business Central AI resources offer Microsoft-managed Azure OpenAI with GPT-4.1 and GPT-4.1-mini, billed to customers by consumption.
- Use the SetManagedResourceAuthorization method for managed resources and SetAuthorization for your own subscription. Handle errors with AOAI Operation Response.
- Copilot and agents can use content from AL extensions without direct extensibility, for example in Analyze list, Autofill, Chat, Summarize, Sales Order Agent, and bank reconciliation. The page references 2025 wave 1.
- App Help for Copilot (preview) needs public HTTPS English documentation, Bing indexing, the app.json Help property, and a favicon for brand visibility.
- The transparency note covers text and chat completion APIs, prompt dialog UI, embeddings, feature governance, the feedback loop, and the admin screen for managing AI features.
Subtopics
- Extend Copilot in Business Central (15 pages)
More Learn pages
- 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.
- Use developer tools for Copilot in Business Central AI resources: Learn how you can use the developer tools for Copilot in Business Central AI resources in your own Marketplace extensions to create Copilot experiences in Business Central
- 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.
- #10408 Shopify Copilot Tax Matching Agent: matching engine and data model (stack 2/3) (code change): “uses AI to match Shopify tax lines to Business Central tax jurisdictions”
- #12428 Add Copilot feature trial interface (code change): “Added a public Copilot feature trial interface to System Application”
- #84 Package BCQuality as an installable plugin (experiment) (code change): “Experimentally packages BCQuality as an installable plugin for Copilot CLI and Claude Code hosts”
- 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”
- Enhancing Business Central with Address Validation AI (community post): “Address validation using Azure OpenAI compares user-entered addresses against existing Business Central”
- From Chat Completions to Responses API: why Azure OpenAI’s new paradigm changes everything. (community post): “System.AI namespace currently wraps Chat Completions and provides guardrails, telemetry”
- Quick Tip: What’s in Business Central Update 28.5? (community post): “Microsoft-managed Azure OpenAI resources for Copilot extensions (now generally available)”
- What’s New: Business Central AI Resources (2025 release wave 1) (video): “Bring your own Azure OpenAI subscription; System prompts for AI safety”
- What’s New: Designing and Developing Generative AI Experiences for Your Apps (2023 Release Wave 2) (video): “Generative AI Developer Toolkit; Prompt Dialogue Page Type; Sparkle Image Property”
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
- 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
- learnDesign the prompt mode of prompt dialog page2026-10-02
Show 16 more
- 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
- learnUse developer tools for Copilot in Business Central AI resources2026-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