Microsoft Fabric (Part 5)

Neil Haddley • November 28, 2026

How and why a Copilot Studio agent calls a Fabric data agent as a tool: the setup steps that matter, Microsoft's questions answered through Copilot, what it cost, and how it compares with calling the same agent from DeepSeek Harness.

AzureAICopilot StudioModel Context Protocolfabric-data-agentcopilot-studiomcpagentsadventureworks

In Part 4 I built a Fabric data agent over the AdventureWorks Lakehouse, asked it Microsoft's own questions, published it and called it over MCP. In this part I connect that published agent to Copilot Studio, so that a Copilot agent asks the data agent the questions.

Is this part of Microsoft's tutorial?

No. The tutorial ends with publishing and a notebook call. Copilot Studio has its own page: Add a Fabric data agent as a tool in Microsoft Copilot Studio. It is a clear 11-step guide, and this post follows it.

How and why Copilot calls a data agent

A Copilot Studio agent built on the GitHub Copilot harness reasons over its instructions, knowledge sources and tools, and decides which tool to call for each request. Microsoft's page says the Fabric data agent is added as a tool, and that the orchestrator "makes that decision based on the description you write for the data agent."

That sentence explains most of this post. The Copilot agent never sees the Lakehouse. It sees a tool with a name and a description, and the Fabric data agent behind it turns the question into SQL, runs it and returns the answer as a tool result.

So a question to Copilot goes through two models:

  1. Copilot Studio's model reads my question, its instructions and the tool description, and decides to call the Fabric tool, passing a question.
  2. The Fabric data agent's model reads that question with its own instructions, writes the SQL, runs it, and returns the answer.
  3. Copilot Studio's model then writes the final reply.

Microsoft documents the consequences:

  • The description decides routing. "A short or vague description makes it harder for the orchestrator to pick the right data agent."
  • Permissions are the Fabric agent's. In User authentication mode each person needs at least read access to the Fabric data agent and to its data. In Maker mode everyone sees data through the maker's access.
  • Answers may leave Fabric's boundary. A warning on the page says responses "might be sent outside the Fabric compliance boundary or geographic region" and are handled under Copilot Studio's terms.
  • It needs licences. The prerequisites list a paid F2 or higher capacity, cross-geo AI settings, and a Microsoft 365 Copilot licence for each person who builds agents. I did not check whether my account has that licence.

There is an older route too: adding the Fabric agent from the Agents category as a connected agent. Microsoft's older page says that route is only validated for Microsoft Teams and "isn't currently supported in Microsoft 365 Copilot". I used the newer tool route.

Add the Fabric data agent as a tool

I created an agent in Copilot Studio and named it, then opened Tools, searched for Fabric and chose Fabric IQ Data MCP.

A new agent in Copilot Studio

A new agent in Copilot Studio

Searching for Fabric in Add a tool offers two Fabric IQ tools

Searching for Fabric in Add a tool offers two Fabric IQ tools

Fabric IQ Data MCP

Fabric IQ Data MCP

The picker then lists the published data agents that I can use. Only published agents appear.

The picker listed AdventureWorksAgent, the agent I published in Part 4

The picker listed AdventureWorksAgent, the agent I published in Part 4

The Fabric tool, added to the agent

The Fabric tool, added to the agent

Four settings decide whether the agent uses the tool.

  1. Write a detailed description for the tool. Open the tool's entry and describe what it answers. The orchestrator routes on this text.
  2. Choose the authentication mode. I kept User, the default.
  3. Write instructions that name the tool.
  4. Select Save, and wait for "Your agent has been saved". Microsoft's page says that without Save "the tools, descriptions, authentication modes, and instructions that you configured aren't applied".
The tool's description, and User authentication

The tool's description, and User authentication

This is the description I wrote for the tool:

TEXT
1Answers questions about AdventureWorks sales, customers, products, prices, promotions, resellers and sales territories using the AdventureWorksLH lakehouse (internet and reseller sales, dates and geography, 2010 to 2014). Use it for sales totals, monthly and year-to-date trends, top products, and customer or zip code analysis.

And the instructions:

TEXT
1You answer questions about AdventureWorks sales, customers, products, prices and territories. For every such question, call the AdventureWorksAgent tool with the user's question and report its answer. If the tool cannot answer, say so.

Ask Microsoft's questions

I opened the Preview tab and asked the question that I had used for the Fabric agent in Part 4:

PROMPT
1What is the total sales amount in factinternetsales by sales territory country?
"Used tool: DataAgent_AdventureWorksAgent"

"Used tool: DataAgent_AdventureWorksAgent"

The six countries, with a citation. It cost 1.8 credits

The six countries, with a citation. It cost 1.8 credits

The figures match the Fabric agent's and my SQL: 9,389,789.94 for the United States, 9,061,000.72 for Australia and so on. Copilot added a total of 29,358,677.89 and a sentence that the United States and Australia make up about 63% of internet sales.

PROMPT
1Show the monthly total and year-to-date total sales. Order by year and month.
Thirty-eight months again, and a note that December 2010 and January 2014 are the only months in their years

Thirty-eight months again, and a note that December 2010 and January 2014 are the only months in their years

I did not time these with a stopwatch. I waited 40 to 60 seconds before each screenshot, so I know only that this took under a minute. It cost 4.89 credits.

PROMPT
1What is the root cause of our sales spike?
The answer split May 2011 by category, territory, channel and promotion, then added a caveat

The answer split May 2011 by category, territory, channel and promotion, then added a caveat

This is the interesting comparison. In Part 4 the Fabric agent gave this question a cause and then a caveat that it needed business context. Copilot's answer put the caveat in bold at the end: the figures show "where the sales came from, but it can't fully prove why they jumped". It cost 4.72 credits.

What it cost

ItemAmount
F2 for this part, 19:33 to 19:52 UTCabout 19 minutes, roughly $0.12 at list price
Copilot credits per question1.8, 4.89 and 4.72 for the three above

The credit meter appears in the Preview header. The F2 figure is my calculation, not my bill.

Where this fits in Microsoft's guidance

Microsoft's article Choose an architecture to connect Copilot Studio agents to Microsoft Fabric data compares four patterns for putting a Copilot Studio agent in front of Fabric or Power BI data. This series covers some of them.

Microsoft's patternWhere it appears here
1. A Fabric data agent, published directlyPart 4. I asked the agent in Fabric and over MCP, with no Copilot Studio agent in the path
2. A Copilot Studio agent with a connected Fabric data agentThis part. It is the closest match. Microsoft describes a connected agent, and I used the newer tool route from its Copilot Studio page
3. A Copilot Studio agent on the standard harness writing DAX through the Power BI connectorNot tried
4. The same on the Microsoft Copilot harness, which Microsoft recommendsNot tried

Patterns 3 and 4 need a governed semantic model with documented measures, and my AdventureWorks sample is a set of Lakehouse tables with none. Microsoft's advice to start with pattern 4 is for organisations that have such a model, so it does not apply to this series. The DeepSeek Harness in Part 6 is not one of the four patterns. Microsoft's page says that MCP and other integration options "continue to evolve", and that you should run your own evaluation pack in the channel your users use before adopting one.

Three of Microsoft's points match what I saw:

  • A baseline first. Microsoft says to run the evaluation prompts against the Fabric data agent alone before adding orchestration, so that you know whether the data layer is right. Part 4 did that with the eight questions and their answer keys. Microsoft's name for such a set is golden prompts, described in Evaluate analytical agents with an output contract and golden prompts.
  • Each delegated call adds time. The Fabric agent alone answered the monthly question in 16 seconds. The Copilot route took under a minute, though I did not time it properly.
  • Two agents to keep aligned. I wrote instructions for the Fabric agent and separate instructions and a description for the Copilot agent, and the Copilot agent's description and instructions decided whether it called the Fabric agent at all.

Comparison with calling the same agent from DeepSeek Harness

Part 6 asks the same eight questions through DeepSeek Harness (dsh) and a small MCP server of mine.

Copilot Studio calling the Fabric agentDeepSeek Harness with my tools
What writes the SQLThe Fabric data agentThe model, through tools I wrote
What I must buildNo code: a tool, a description, instructions, SaveAn MCP server of about 130 lines of Python, a profile and an AGENTS.md
CapacityA paid F2, for the Fabric agentNone: it ran against a SQL endpoint, and the trial workspace was enough
Extra meterCopilot credits: about 2 to 5 per question hereModel tokens, which I did not meter
Models in the pathTwo (Copilot's and Fabric's)One
Who can use itPeople with the right licences, in Teams or Microsoft 365Me, at a terminal
Per-user permissionsYes, in User modeThe identity my terminal is signed in as

The harness route is simpler and cleaner for one person asking questions of one Lakehouse, and the evidence is in the counts.

  • Fewer things to set up. The Copilot route needs an F2, a workspace, a load, a data agent, its tables and instructions, publishing with a description, then a Copilot Studio agent with a tool, a tool description, an authentication mode, instructions, removing Work IQ, and Save. The harness route needs a workspace on the free trial, the same load, one Python file, one profile row and an AGENTS.md.
  • Fewer paid parts. The harness ran without an F2 and without Copilot credits. The Copilot route needed both.
  • Fewer models per question. One, not two, so there is one place to look when an answer is wrong.
  • The same answers. Where a question has a right answer, the two matched my SQL.
  • Not faster. The Fabric agent was quicker on most questions: 9 to 16 seconds against 13 to 25 for the harness on the simple ones. The harness took 204 to 419 seconds on the open-ended root-cause question, against 46 to 68.

What the harness does not give me is what Copilot Studio adds: Teams and Microsoft 365 as places to ask, an evaluation tab, and per-user permissions that I did not have to build. I wrote the harness's tools and safety rules myself, and Part 7 shows what went wrong when I got a rule wrong. So the harness is the better choice for me, at a terminal, over one Lakehouse.

If the connection fails

Microsoft's tips for a missing agent are that it must be published, you must be signed in to Fabric and Copilot Studio with the same account, and both must be in the same tenant. A Microsoft Q&A thread from February 2026 describes the connection dialog returning to "Not connected" with no error, and no answer was confirmed. I did not hit that.

What I did not do

  • Publish the Copilot agent to Teams or Microsoft 365 Copilot. I used only Preview.
  • Use the Evaluate tab. The page recommends it before publishing.
  • Try Maker authentication, or more than one data agent.
  • Try the older connected-agent route, which is the one Microsoft's pattern 2 describes.
  • Try patterns 3 and 4, where Copilot Studio writes DAX through the Power BI connector. They need a governed semantic model, which this sample does not have.
  • Check the Microsoft 365 Copilot licence.