Microsoft · Fabric CopilotSummary · Writing for AI· 3 min read
Teaching Copilot to explain a failed pipeline
When a data pipeline fails overnight, the next person sees a wall of error text. I designed how Copilot explains what happened, why, and what to do next.
- Role
- Content design lead
- Industry
- Enterprise data tooling, for data engineers
- When
- 2023–2025
- Shipped
- Pipeline error explanations in Fabric Data Factory Copilot
At a glance
- Problem
- Raw pipeline errors were dead ends, especially for people who inherited a pipeline they didn't build.
- What I did
- Wrote the error playbook, Copilot's voice and response language, its guardrails, and the rubric that grades its answers.
- The pattern
- What happened, the likely reason, and one next step, in calm, specific words that never blame the person.
- Result
- Available to 40K+ Fabric customers. The reach reflects the whole team's work.
01 · Problem
Two people read the same error
Professional data engineers built the pipeline and want the failing step, the likely cause and the setting that fixes it. Citizen integrators often inherited it. For them a raw error is a dead end, so they paste it into a search engine and hope.
Professional data engineer
Built the pipeline. Knows the system.
- Which step failed
- The likely cause
- The setting that fixes it
Citizen integrator
Often inherited the pipeline from someone else.
- What happened, in plain words
- Whether it's something they can fix
- One next step, so they don't have to search the error
One answer that works for both: what happened, the likely reason and one next step, with the docs a click away for depth.
Problem statement
How might Copilot explain a failure so both of them know what to do next?
02 · Voice and rewrites
A voice that sounds like a senior engineer at the next desk
I wrote Copilot's voice as rules it could follow: calm and specific, name the activity, file or setting, no apologies, no exclamation points, and never blame the person. Every answer has the same shape: what happened in one sentence, the likely reason, and one next step, with a link to the docs for depth. If Copilot doesn't recognize an error, it says so instead of guessing.
Calm and specific
“CustomerRefresh failed at the Copy data step.” No drama, no vague “something went wrong.”
Name the thing
Say the activity, file or setting, so the person can find it.
No apologies
Skip “Sorry, an error occurred.” Get to what happened.
No exclamation points
A failed pipeline is never exciting news.
Never blame the person
“The workspace needs Contributor access,” not “You don't have permission.”
Say when you don't know
If Copilot doesn't recognize the error, it says so and points to the docs.
The rules are from my error playbook. The examples are illustrative.
Copilot
1CustomerRefresh didn't run because it couldn't open the Sales workspace.
2The account running it needs Contributor access to that workspace.
3Ask a workspace admin for Contributor access. Your run settings are saved.
4To learn more, see workspace roles in the Fabric docs.
- 1What happenedOne sentence, naming the pipeline and the place it stopped.
- 2The likely reasonThe probable cause, stated plainly and without blame.
- 3One next stepA single action, and reassurance that nothing is lost.
- 4Depth on demandDocs for people who want the details, out of the way for people who don't.
Illustrative, built on the permission example below. The shape is the one every Copilot answer followed.
Oops! Sorry, something went wrong. You don't have permission to do this. Please try again later.
Score
0/5
Needs another draft
Three illustrative drafts for the same permission error, graded against the voice rules above. Switch rules off to see how a looser rubric lets weak answers through. The grades are written in advance; nothing here calls a model.
03 · What I learned
What I learned
Copilot can only explain what the error carries. When an error arrived without the item that failed or a safe next step, no rewrite could fill the gap. I'd also measure recovery from day one: we counted usage early, and only later asked whether people's runs actually got fixed. The first lesson became its own project, one error system for all of Fabric.
The full case study
The full version covers research, the framework, the guardrails and how we tested it. It includes Microsoft work, so it's behind a password. If I sent you this link, use the password from my email.
Read the full case study (7 min)