AI & Automation

Copilot Code: What It Is, What It Costs, and Whether It Is Safe for Your Business

James Moore12 min read


Someone in your business has probably already built an app with AI. It might be a quote calculator, a job tracker or a dashboard that pulls from a spreadsheet. They described what they wanted to ChatGPT or Claude, got working code back, and then had to work out where to put it.

That last step is where the trouble starts. We have worked with at least 10 businesses whose staff are building their own apps with AI, and we expect there are more we have not heard about. Too often the result runs from a personal laptop, a free database account, or a hosting service nobody else in the business has the login for.

Microsoft's new Copilot Code is the first tool we have seen that deals with that step properly. Apps built in it can be hosted inside your Microsoft 365 tenancy, behind your existing sign-in, where your IT provider can see them and switch them off.

It is not a complete answer. It is an early-access preview, it is billed by usage, and it only stays inside your tenancy if it is set up to. This article covers what it fixes, what it costs, and what it leaves untouched.

Checked against Microsoft's documentation on 30 November 2026. Copilot Code is changing weekly, so we will update this page as it does.

Why are staff building their own apps with AI?

Because they can, and because it works. A member of staff with no coding background can describe a tool in plain English and have a working version the same afternoon. The usual name for this is vibe coding.

We think that is a good thing. The people closest to a problem are often the best placed to solve it, and most of these tools replace a spreadsheet that was already causing trouble.

What we see in practice:

  • Dashboards, mostly. The most common build by far is a dashboard that pulls figures out of a CRM or a sales and marketing tool and shows them in one place.
  • Finance views. One client wanted their profit and loss data split so each department could see its own section and nothing else.

The pattern is the same each time. Building the app took an hour. Nobody then asked where the data would live, who could log in, or who would look after it.

Often the owners and managers do not know it is happening. This is shadow AI: useful work, done with good intentions, that the business has no record of.

What goes wrong when a staff-built app lives outside your IT?

The code is rarely the first thing to fail. The setup around it is. Four things go wrong, in roughly this order.

  1. The data ends up somewhere nobody chose. A free database account under a personal email address is still holding your client data.
  2. Access is whatever the builder remembered to set up. AI tools will happily produce an app with no login, or a database anyone with the link can read.
  3. Nobody else knows it exists. It is not backed up, not in your asset list, and not covered by your security policies.
  4. It leaves with the person who built it. When they move on, the business loses the app, the login, or both.

These are documented failures, not theory:

  • In 2025 a security researcher scanned 1,645 apps showcased by the AI app builder Lovable. He found 170 of them, about 10%, had database rules that exposed data to anyone, including user details and API keys.
  • Veracode tested code from more than 100 AI models on 80 set tasks and found security flaws in 45% of cases. That was a lab test of code snippets, not of finished apps, but it shows why AI-written code needs checking.

The UK's National Cyber Security Centre takes a sensible line. Its June 2026 guidance says a low-risk internal tool can be fine to build this way, while anything handling logins, sensitive data or secrets needs proper oversight. We agree. The question is not whether staff should build tools, but where those tools live.

If you do not yet have rules for how staff use AI, our AI policy template is a good place to start.

What is Copilot Code?

Copilot Code is a new tab in the Microsoft Copilot app that builds working software from a plain-English description. You say what you want, it builds it, shows you a live preview, and changes it as you give feedback. Microsoft's overview lists apps, dashboards, internal tools, simple websites and scripts.

Under the bonnet it uses the same AI models your staff are already using elsewhere. You can pick Claude models from Anthropic or GPT models run by Microsoft. So the quality of the code is not the difference. What surrounds it is.

Three things set it apart from building in ChatGPT or Claude directly:

  • Hosting is built in. A finished app can be published to Copilot Managed Runtime, which is Microsoft-run hosting attached to your tenancy. Nobody needs to find a server or a database.
  • Sign-in is your existing Microsoft 365 login. Published apps use the same accounts and the same conditional access rules as the rest of Microsoft 365.
  • IT can see it. Every published app appears in the Microsoft 365 admin centre, where it can be reviewed, blocked or deleted.

Where it stands today: Copilot Code is an early-access preview under Microsoft's Frontier programme. Microsoft has said general availability is coming but, at the time of writing, has not published a date. To get it now, your tenancy needs a Microsoft 365 Copilot licence, Frontier enrolment and some admin setup (requirements). We have confirmed this works with licences bought through a Microsoft partner like us.

Is Copilot Code safer than building apps with ChatGPT or Claude?

For a small internal tool, yes, provided it is set up properly. The code is no better, because the same models write it. What changes is where the app runs, where the data sits and who can switch it off.

How Copilot Code compares with other ways of building and hosting staff-built apps
OptionWhere the app runsWhere the data sitsWho controls accessCan IT see it and turn it off?
ChatGPT or Claude, then host it yourselfWherever the builder puts it: their PC or a hosting serviceWherever the builder puts it, often a personal database accountWhatever the builder set upNo
Hosted AI app buildersThe vendor's hostingUsually the builder's own database projectThe database rules the builder configuredNo
Microsoft Power AppsYour Microsoft tenancySharePoint lists or Dataverse in your tenancyMicrosoft 365 sign-in and Power Platform policiesYes
Copilot Code, cloud mode, published to Managed RuntimeMicrosoft hosting attached to your tenancyYour existing Microsoft 365 sources, such as a SharePoint listMicrosoft 365 sign-in, conditional access and sharing rulesYes

The first two rows describe the usual pattern we see, not any one vendor's current terms.

Two details in Microsoft's documentation matter most here.

First, sharing an app does not share the data behind it. Each person who opens the app sees only what they already have permission to see in the connected source. A colleague without access to the SharePoint list gets an app with nothing in it.

Second, that cuts both ways. If your SharePoint permissions are already too loose, an app will surface whatever people can already reach. Copilot Code inherits your permissions, including the mistakes in them.

Where does Copilot Code keep your data, and does it stay in the UK?

In cloud mode, your business data stays inside Microsoft 365 and under the governance rules you already have. That is Microsoft's own statement, and it is the main reason to prefer Copilot Code over a self-hosted app. Three conditions sit behind it.

1. It depends on the mode

Copilot Code can run in the cloud or locally on someone's PC. In local mode, project files and data can sit on that device. Cloud-only is Microsoft's default and we recommend keeping it that way.

2. It depends on which AI model does the work

Copilot Code offers two families of model:

  • GPT models are hosted and operated by Microsoft, under your existing Microsoft agreement.
  • Claude models are supplied by Anthropic acting as a subprocessor to Microsoft. Microsoft states that Claude is currently excluded from the EU Data Boundary and from in-country processing commitments.

We cannot find a commitment from Microsoft that Claude processing stays in the UK, and Microsoft's defaults for this setting have been changing. Our advice is simple: check the Anthropic setting in your admin centre and make the choice yourself, rather than leaving it to the default. For any business handling client or regulated data, we are setting Anthropic models to off and using the GPT models.

3. It is a preview

Microsoft has not published a UK data-residency commitment that names Copilot Code or Managed Runtime.

Where an app's own data goes

In the app we built for a client, the data went into a SharePoint list inside their tenancy. That matches Microsoft's Copilot Code documents, which name SharePoint lists as a connected data source.

If you are a law firm or a regulated financial business, do your own due diligence before client data goes near it. It is a preview, and Microsoft has not yet published the commitments a regulator would expect to see. Our view is that if staff are going to build these tools anyway, inside Microsoft 365 is a better place for them than any of the alternatives.

How much does Copilot Code cost?

It is not included in your Copilot licence. Copilot Code is billed by usage, in Copilot Credits, on top of the monthly licence fee. You pay twice: once to build an app and again to run it.

What Copilot Code charges for building and running apps
OptionWhat you pay forPublished rate
BuildingCredits used while Copilot Code writes and changes the appUS$0.01 per credit. Microsoft has not published how many credits a typical build uses.
RunningCredits each time a published app loads or fetches data, for every person using it0.1 credits per call. A Power Apps Premium licence covers running instead.

Source: Microsoft's licensing page for Managed Runtime apps.

The running cost catches people out. A Copilot licence on its own does not cover the people who use the app, only the person who builds it. Microsoft's own worked example puts a 25-person team tracker at roughly US$12 to US$22 a month to run.

That is cheap for one app. The risk is ten apps nobody is counting, or one built badly enough to make hundreds of calls each time it opens.

A real figure

We helped a client build a finance dashboard in Copilot Code that shows each department its own section of the profit and loss data. Building it used about 3,500 credits, which at Microsoft's list price is US$35 (about £28).

A Copilot Code finance dashboard titled Targets vs performance. It shows the last final month and the month in progress, with revenue, gross margin, overheads and operating profit each marked on track, behind or within budget against the financial-year goals. All figures are blurred.
The finance dashboard we helped a client build in Copilot Code. Figures and identifying details have been removed.

What stops a surprise bill

Nothing is charged until an admin switches usage-based billing on and sets a spending policy. That policy can cap spend per person and per month, and users are blocked when they hit the cap.

Microsoft plans to switch usage-based billing on by default for Copilot Business licences. That was due on 1 December 2026 and has been pushed back to the first quarter of 2027, with no fixed date yet. We cover that change in detail in our post on Copilot usage-based billing.

The date matters less than it looks. If you want to use Copilot Code you need a spending limit anyway, because it cannot run without credits. We set one with every client before it is switched on. Our usual starting point is £25 of credit per person per month, and you decide whether that goes up or down. People who build apps will usually need a higher limit than people who only use them.

What does Copilot Code not fix?

Copilot Code fixes where the app lives. It does not fix how well the app was built or who looks after it. Six gaps remain.

  • Nobody checks the code. Microsoft's own guidance says to treat what Copilot Code produces as a draft and test it before relying on it.
  • Local mode puts you back where you started. If it is allowed, a project can live on one laptop. Scheduled automations currently run on the user's device only.
  • Projects can be exported. A project can be downloaded as a zip file and taken elsewhere. We have not found a setting that blocks this.
  • Plugins are third-party. Microsoft says plugins that connect outside services are not validated by Microsoft. Each one needs reviewing before it is allowed.
  • Auto-approve is on by default. Unless an admin turns the setting off, users can let Copilot approve its own actions.
  • It moves shadow IT, it does not end it. You will have an inventory of staff-built apps. Somebody still has to own each one, and decide what happens when its builder leaves.

And it is for internal tools only. Do not plan on clients or other guests using these apps. Microsoft's documents contradict each other on guest access, and the default is off.

What should be set up before staff use Copilot Code?

Seven settings decide whether Copilot Code is the safe option or just a new way to make the old mistakes. This is what we configure before switching it on for a client.

Copilot Code settings Genmar configures before switching it on
SettingMicrosoft's defaultWhat we setWhy
Where it runsCloud onlyKeep cloud onlyStops projects and data living on one laptop
Auto-approveOnOffUsers confirm each action that reaches the network or runs a command
Anthropic (Claude) modelsHas changed during the preview, so check your tenancyOff for nowNo UK processing commitment that we can find
GitHub connectionOffKeep offNot needed for internal tools; another place for code to go
PluginsWhatever is allowed in your app storeReviewed one by oneThird-party and not validated by Microsoft
Spending policyNone until created£25 per person per month to start, adjusted with youNo surprise bills
Who gets accessAnyone in the spending policyA named pilot group firstStart small and learn what gets built

Source for defaults: Manage Copilot Code for your organization. Defaults have changed during the preview, so check them in your own tenancy.

Settings are half of it. Staff also need a few ground rules for what they build, such as naming an owner for every app and keeping client data out of anything that has not been reviewed.

Should your business use Copilot Code now?

If your staff are already building tools with AI, yes: move that work into Copilot Code, with the controls above in place. It is a better home for those apps than anywhere else we have seen. It is also still a preview, so plan it properly and start with a small group.

It suits you now if

  • staff are already building tools with AI and you would rather see them than not
  • the tools are internal, low-risk and use data already in Microsoft 365
  • you have Copilot licences and someone to set the controls above

Wait if

  • you are regulated and have not yet done your own due diligence on it
  • people outside your business need to use it
  • you need a fixed, predictable monthly cost
  • your SharePoint permissions have not been reviewed

Whatever you decide, do these three things this month:

  1. Ask your team what they have already built with AI and where it is running. Ask without blame, or you will not get honest answers.
  2. Check the Anthropic setting in the Microsoft 365 admin centre and choose it deliberately, so the default does not choose for you.
  3. Agree a Copilot spending limit before usage-based billing is switched on.

Sources