topic hubCopilot & Agentsofficial - Microsoftunreviewed - model text not yet checked

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.

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

More Learn pages

Videos, posts and code changes

Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.

Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.

What Learn documents here 8 of 24 Learn pages

Show 16 more