Copilot Code turns natural-language prompts into working websites, dashboards and business productivity apps, giving users a way to prototype software without writing code by hand. It matters to business professionals who understand a process or data need but may not be developers, as well as IT teams evaluating a new app-building option. M365 Copilot Connection demonstrates the workflow, including a dashboard built with work data, in a YouTube video.
Copilot Code adds a dedicated Code experience to Microsoft 365 Copilot. A user describes the application they want, and Copilot generates project files and an app that can be previewed and refined with follow-up prompts. The experience can use Work IQ to bring work context into an application.
This is more than asking Copilot for a code snippet: the generated project includes assets and a previewable result. The demonstration starts with a website prompt, then builds a two-page project dashboard and budget calculator using Project Falcon data. The creator adjusts calculator inputs and sees some displayed values update, while also noting that some charts did not behave as expected.
Copilot Code is in the Frontier program. Each Code session consumes Copilot Credits, so building and iterating has a usage cost rather than being an unlimited free feature. That makes credit visibility and review of the generated output part of the practical workflow.
The feature is aimed at business users and developers who want to create apps by describing the desired result. The demonstrated setup requires a Microsoft 365 Copilot license and inclusion in a spend policy that allows credit use. Copilot Code is not included in free Copilot Chat.
Access is rolling out through the Frontier program, so users need the appropriate tenant setup in addition to the license. Check with the Microsoft 365 administrator about the organization’s spend policy and access before planning a build. The desktop app provides local and cloud execution options; the browser experience is cloud-only.
For broader low-code app building and related tools, see our coverage of Power Apps. Copilot Code’s prompt-driven workflow is distinct from configuring an app through a conventional visual app-building interface.
Open the Code toggle in the upper-left area of Microsoft 365 Copilot to enter the dedicated Code section. Describe the app or choose a starter prompt, such as building a website.
Before submitting a substantial request, check the credit-usage indicator in the upper-right corner. Open the usage view for a breakdown, and use /cost to inspect what a build consumed.
Choose the working mode and, where available, execution location. In the desktop app, the options include local or cloud execution, Scratchpad for smaller code sets, and using an existing repository such as GitHub or Azure DevOps.
For a larger project, consider selecting “Plan first, then execute.” Review the proposed steps, then approve implementation, stop at the plan, or request changes. Interactive mode instead proceeds from the prompt without that separate plan approval stage.
Review the generated files and app preview. Test interactive controls and calculations, then describe corrections or refinements in another prompt. In local mode, inspect terminal commands and allow or reject them; the Code Settings area also includes an option to run tools without asking.
The desktop experience also offers model selection, including Claude and GPT options in the demonstration. A longer context window is another setting, but it can increase cost considerations. Generated files, source code and preview are available for review as the project takes shape.
A generated app is a starting point, not proof that its business logic is correct. The demonstrated budget calculator responded to changed inputs, but some charts did not update as expected, and the creator described the result as something to refine. Test calculations, data references and interactive behavior before using an app for decisions.
Local execution calls for particular care: Copilot Code may run terminal commands, and users can choose to allow them. The demonstration warns that enabling “Always allow” can permit commands to run without repeated approval. Keep approval prompts enabled unless the organization has assessed the consequences of that setting.
Costs can vary with the work performed. The example website cost about $1.30, while a more detailed dashboard and calculator cost around $6; these are demonstration results, not guaranteed prices. The /cost command and monthly usage view help users assess actual credit consumption. If a task needs a production-ready or business-critical system, validate the generated app and its data carefully rather than treating a successful preview as sufficient.
The demonstrated access requires a Microsoft 365 Copilot license and inclusion in a spend policy. Copilot Code is not part of free Copilot Chat.
Copilot Code is rolling out through the Frontier program.
The desktop app offers local or cloud execution. In the browser experience, execution is cloud-only.
Check the credit-usage indicator and its usage breakdown, or use /cost to inspect the cost of a build.