Microsoft has expanded its Copilot Code preview to eligible Windows Insiders in the United States and Canada, offering a way to build apps, dashboards and scripts by describing them in everyday language. The feature runs inside the Copilot app and can show a live preview while it works.
The December 4 announcement comes with a significant access restriction: personal users need a Microsoft 365 Premium or Pro subscription, a personal Microsoft account and membership in the Windows Insider Program. Copilot Code uses the subscription’s AI usage allowance; Microsoft notes that different requests and features can consume it at different rates.
How to find Copilot Code
- On an eligible Windows Insider PC, update the Copilot app through the Microsoft Store to version 157.0.4341.60 or later.
- Sign in to the app with the personal Microsoft account linked to the eligible subscription.
- Select Code in the tab switcher on the left side of the app.
- Describe a small project and answer any follow-up questions. The first launch downloads approximately 300 MB of required files.
If the tab is missing, check the app version, account, subscription, Insider status and country first. This is a preview, not a general release. Microsoft is separately rolling out Copilot Code to commercial customers in its Frontier program; the personal preview requirements should not be assumed to apply to a work or school account.
Start with a project you can check
Try asking for a reading tracker that adds and removes titles, for example, then test whether entries behave as expected. Once the basic version works, request one change at a time. Microsoft says supported apps and websites can show a live preview, and the underlying code is available to inspect. Projects and their conversations are saved on the PC; they can be reopened from Recents or exported.
Copilot Code can also take existing documents, spreadsheets, CSV files, images, presentations or a folder as context. Use a copy of a file for an early experiment, especially when testing a script that might reorganize or overwrite data. A plausible preview is not proof that calculations, storage or error handling work correctly.
Interactive mode is the default; Plan mode presents an approach for review, while Automatic mode handles defined tasks with fewer interruptions, subject to the user’s approval settings. A model picker offers choices from Anthropic and OpenAI as well as Auto. Connecting GitHub is optional. Code conversations do not yet carry over from Chat or Cowork.
What the sandbox protects, and what it does not
Copilot Code can read and write within the project folder. For local projects, a sandbox is on by default and restricts access to other files and network resources. Microsoft describes approval prompts and sandbox restrictions as separate controls: approving a request does not override an action the sandbox blocks.
By default, the tool asks before actions such as running commands, connecting to the internet, deleting files or accessing other locations. Read the requested action and destination before approving it. Microsoft’s project and approval guidance notes that the sandbox can also block a network destination, even when a user approves the request.
Two limits deserve attention. The sandbox does not cover a generated app you later launch yourself outside a Copilot Code session. And turning on Always allow removes repeated approval prompts; turning off the sandbox removes its file and network restrictions. Microsoft’s security guidance also warns that files, repositories or web pages can contain instructions intended to manipulate the assistant. Stop and review unexpected requests instead of approving them automatically.
Keep passwords, API keys and other sensitive information out of prompts and test projects. Before sharing a generated app, check both its output and its files for private data, and have consequential or security-sensitive code reviewed by someone qualified to assess it.