An agent builds it
You describe a Fabric app; a coding agent does the build
These days a coding agent does most of the typing on a Fabric app, and the questions I get have moved with it. What do we actually hand the agent? How do we know it built the app properly, and not just something that looks finished? And what is still ours to decide before people open it?
This post answers those for the three people around such a build: the consultant who scopes it, the data lead whose name goes on the numbers, and the developer who supervises the agent. It covers the most common case, an app that reads a semantic model, built from Microsoft’s data app template. It draws on Microsoft’s guidance, the instructions a new project gets today (template release 4.2.0) and one build I timed from brief to deployed app, and it ends with two short checklists.

Microsoft documents GitHub Copilot, in Visual Studio Code’s agent mode and in the Copilot CLI. I build with Claude Code. The template’s instructions are plain files inside the project, and the docs say to open it “in your preferred agent”, so this applies to any of them.
Five things the brief must carry
Microsoft’s guidance for the data app template puts the job in one line: describe “the audience, questions, interactions, and visualizations for the app.” I split it into five. The last two are not in that line, and they are the ones I most often see left out.
- Who it is for. The audience, and what they decide with the app. A manager reviewing the month needs different choices from an analyst hunting for a cause.
- The questions it must answer. The handful of numbers people come for, and the visual for each: a few headline figures, a monthly trend, a top-ten list. Use the names of measures the business already trusts.
- What people can do. Filters, cross-highlighting, what a click on a row opens. If every visual should follow the year filter, say so.
- The model. Which published semantic model, in which workspace, and which of its measures to use. The agent discovers the fields on its own; tell it what it cannot discover, such as “the data stops two years ago, so no relative dates”.
- The look. Your design system or brand: colours, corner style, fonts. The template keeps these in one central place, so one instruction reaches every card, chart and table. Leave it out and you get the template’s defaults. I often send the look as a second, short brief once the data page works; the timed run below shows why.
Around those five I write the limits: the scope (“one page”), a time box (“one round of fixes”), and answers to the questions the agent would otherwise stop and ask, such as which chart to use where two would work. If you know a step tends to fail, put the fallback in the brief. In the run I timed, the first install failed exactly as the brief expected, and the agent used the fallback without asking.
A one-sentence prompt, like the template’s own examples, is enough for the agent to produce an app. The five parts are what make it the app your people need.
Five stages of a good build
A new project today gets template release 4.2.0, with instructions and ten skills for the agent; FA-B-06 opens them. The instructions fix the order of the first four stages below, and the fifth is yours to ask for. Together they are the order I check a build against.
- Find the model and its fields. The agent asks the model what it holds, a little at a time: first its tables, then the columns and measures of the tables this app needs. It may not guess a name or ask you to describe the schema.
- Prove every query against real data. Each query runs against the model before any code uses it, and the agent keeps the exact column names the result comes back with. A chart check then runs the real query and draws each chart without a browser; it fails on an error, an empty result or a chart with nothing drawn.
- Decide the design. Only once the numbers are understood does the agent choose the look: a tone in one word and one signature detail, then colours, type and spacing as shared design tokens in that one central place.
- Write the code. The page fetches from the model on demand, never from a stored copy, applies the model’s format strings, and shows loading, empty and error states.
- Check it in a real browser. Today’s template does not do this: release 4.2.0 replaced its Playwright browser check with the chart check, though Microsoft’s guidance still describes a Playwright browser-validation workflow. So ask for it in the brief, or have a person open the app in the Fabric portal and check that visuals render, text reads well, filters work and the console is clean.

Release 4.1.0, from late September, still shipped a browser check, and releases from 4.3.0 reach the model through the connector Microsoft’s docs describe; new projects will get those once the default moves.
Data before pixels
The order matters more than any single stage. Today’s instructions tell the agent to validate each visual as soon as its query is written, “before UX design” or any component code, and then: “do not proceed until every result passes”.
A chart built before its query is proved is a guess with good styling. The agent will make it look finished, and the review turns into a conversation about colours sitting on a number nobody has checked. With the data first, a wrong field name or an empty result shows up while it is still one line in a query, and the design is fitted to real values: the real number of months, the real length of a product name, the real range of a measure.
In the build I timed, every query passed before the agent wrote a line of the page, but it set up the theme first because my brief mentioned the design system early. It took the brief’s order over the template’s. Watching for that drift is much of supervising.
Never a mocked number
The first of the template’s five critical rules is blunt: “Never use mock, fake, or hardcoded data. All data must come from a real source.” Microsoft’s documentation says the same at the moment it matters most, when a query fails: “Don’t replace a failed connector query with mock data.”
The rule is strong because the failure it prevents is invisible. A card that reads 4.2m from a typed-in value looks exactly like a card that reads 4.2m from the model. It survives a screenshot review and a demo, and it is wrong the first time the data moves. An agent asked for a working page is looking for the shortest way to one, and a made-up number is a short way. A second rule closes the other shortcut: the agent may not quietly add a data source you did not name.
So when a query fails, the useful outcome is an error with a cause. Microsoft lists where the cause lives, and I ask the agent to report which of these it found:
- the workspace and model IDs in the app’s settings;
- the Semantic Model Execute Queries REST API tenant setting;
- the user’s Build and Read permissions on the model;
- the query itself: does every table, column and measure it names exist;
- the error the query returned;
- the browser console.
Template releases change, and Microsoft’s own sample prompts repeat the rule anyway. I do the same: no mock data, and if a query fails, stop and tell me which check failed.
One build, timed
Here is the whole run: a one-page sales app over a sample semantic model, built by Claude Code from a brief written in advance, on the template release of the time (4.1.0). The timestamps in the agent’s log tell the story.
The deploy finished 23 minutes after I pasted the brief, just under 20 of them after the first scaffold command. The agent asked one question before it started (where to build), hit the install error the brief had expected and took the fallback, found the model’s tables and measures in about a minute, and spent about four minutes proving queries, with and without the filters, before it wrote the page. Writing the page itself took under a minute.
What the run did not do is just as useful:
- It never saw the app render. The browser tool it needed was not connected, and that release’s browser check needs a person to sign in to Fabric once. After ten minutes waiting on that tool, it said so plainly: deployed, not yet seen working.
- It added two small extras nobody asked for, and listed both in its report as easy to remove.
- The look missed. When I opened the app in Fabric, the numbers were right and the colours were still the template’s default blue, not the design system in the brief.
So 23 minutes bought a deployed page with proved numbers. The browser check and the look took a person, which is why the look now goes in a second, short brief that runs after the data page works. For scoping, I treat that as the unit of work: one page, one model, one prepared brief, then a person’s review. One run is not a benchmark, but it shows where the time goes.
Four things stay with you
The agent does the build. These four stay with people, and I name an owner for each before the first brief goes in.
- The brief. Owned by whoever scoped the app. The agent fills any gap with a plausible guess, and the guess looks finished. Ask for its plan before it edits anything, and correct the plan rather than the code.
- The numbers, against the model. Owned by the data lead. A proved query ran and returned the right columns; that does not mean it answers the question the business asked. Microsoft’s advice is to open the deployed app, run each interaction and compare important results with the model. That is where definitions surface: a latest month that is still partial, so its year-over-year figure reads as a collapse, or a gross margin that does not net out returns while the finance team’s does. Neither is a query error, and both need someone who knows the business.
- Access. Owned by the developer, with the workspace admin. The agent works under the developer’s sign-in, so it sees what that account sees and acts with its rights. It also reads every result it runs, so real figures pass through it during the build; agree with whoever governs the data which agent may see them. Open only the project folder, approve its commands and keep keys out of the code. Then have a real viewer, with access to both the app and the model, open the deployed app, because every check the agent ran, ran as the developer. FA-B-03 covers who sees what.
- The release. Owned by the developer. Before anything goes out, someone sees the app working inside the Fabric portal, at desktop and phone width: the agent if the brief asked for it, otherwise a person, because today’s template no longer does it. Then read the diff: the data connection settings, the queries, the app’s settings file, new dependencies, anything that touches sign-in, anything that looks like a secret. Keep each request small enough to review and commit a working state before a big change. If the app keeps its own tables, never accept a
--forcedeploy until the agent has shown you exactly what data it would remove.
What to take away
- The brief carries five things: who it is for, the questions, the interactions, the model and the look. Then the limits.
- A good build runs in five stages, and data comes before pixels. No number is ever mocked; a failed query is an error with a cause.
- People keep the brief, the numbers, access and the release, and today the browser check too.
Before the agent starts:
- Who is the app for, and which few questions must it answer?
- Which model, in which workspace, and which of its measures are the trusted ones? What can the agent not discover, such as where the data ends?
- What can people do on the page: which filters, which clicks?
- Is the look in this brief, or in a second one once the data page works?
- What are the limits: pages, rounds of fixes, choices already made, known fallbacks? Does the brief ask the agent to check the app in a browser inside the Fabric portal?
- Are the tenant settings from FA-B-01 on, and does the developer have Build and Read on the model?
Before people use it, make sure of these:
- Someone has seen it render inside the Fabric portal, at desktop and phone width: the agent if the brief asked for it, otherwise a person.
- The data lead has compared the key numbers with the model and settled the definitions.
- A real viewer, with access to both the app and the model, has opened it.
- Someone has read the diff, and the working state is committed.
Next in this series, FA-B-06, Ten skills: what a new data app project gives its coding agent, and when each skill is called.
Fabric Apps is in preview and the template changes often. Everything here was checked on 23 October 2026 against Microsoft’s data app template documentation, its GitHub Copilot walkthrough and template release 4.2.0, which a new project gets today. Where the docs and the template disagree, the post says so. The default release moves, so recheck the details before relying on them.