AVAAVA Docs
Documentation menu

Microsoft Fabric data agents

A Fabric data agent is an AI agent you build inside Microsoft Fabric over your own data — lakehouses, warehouses, Power BI semantic models and KQL databases. You give it data sources, instructions and example queries, publish it, and it answers natural-language questions about that data.

AVA connects to those agents so your users can ask them questions in ordinary chat, without leaving AVA and without learning where each dataset lives.

How it works

Each published Fabric data agent is its own native MCP endpoint that exposes exactly one tool. AVA is the orchestrator: it keeps a registry of your agents, shows the model what each one covers, routes each question to the right agent's endpoint, and returns the answer.

Users get two tools:

ToolWhat it does
fabric_list_agentsLists the registered agents and what each one covers. No network call — it reads AVA's own registry.
fabric_data_agent_querySends a natural-language question to a named agent and returns its answer.

The model normally lists first and then asks. If it calls fabric_data_agent_query without naming an agent, or names one that does not exist, AVA returns the list of real agents and asks it to pick one exactly — it never guesses which agent you meant.

Note

AVA authenticates to Fabric as the signed-in user. It exchanges that person's Microsoft session for a Fabric-audience token, so every answer respects their Fabric workspace and dataset permissions. Two people asking the same agent the same question can legitimately get different answers, and someone with no access to the workspace gets nothing.

Prerequisites

Work through these in order. Most Fabric setup problems are one of the first four, and they all show up in AVA as the same "not authorized" message.

1

Fabric capacity

Data agents require Fabric capacity (an F SKU or a trial). Confirm the capacity is assigned to the workspace the agent lives in.

2

A data agent that is built and published

In Fabric, create the data agent, attach its data sources, give it instructions and example queries, test it there until it answers well — and then publish it. An unpublished agent has no MCP endpoint and cannot be reached.

3

Entra consent for the Fabric API

AVA's Entra app registration must hold the Microsoft Fabric delegated permission, with admin consent granted. Without it, the token exchange fails and every question returns "your Microsoft account couldn't be authenticated to Fabric". This is a one-time change in your tenant, made by an Entra administrator on the app registration AVA signs in with.

4

User access in Fabric

Each person who will ask questions needs access to the agent's workspace in Fabric, and their permissions on the underlying lakehouse, warehouse or semantic model still apply on top of that. Grant this the normal Fabric way — AVA does not and cannot widen it.

5

AVA administrator

You need admin rights in AVA to reach Admin → Tools & Skills → Fabric agents.

Heads up

Confirm the exact name of the Fabric delegated permission and the current data-agent publishing steps against Microsoft's own Fabric documentation — Microsoft revises both. What does not change is the shape of the requirement: a delegated Fabric permission with consent, plus workspace access per user.

Finding an agent's MCP URL

A published data agent's endpoint has this shape:

https://api.fabric.microsoft.com/v1/mcp/workspaces/{workspaceId}/dataagents/{dataAgentId}/agent

Get it from Fabric itself rather than assembling it by hand: open the data agent, then Settings → Model Context Protocol, and copy the published MCP URL. Both IDs are GUIDs and both also appear in the Fabric portal URL when the agent is open, which is a useful cross-check. If the format differs from the above, trust Fabric and check Microsoft's current documentation.

AVA validates the URL before saving and will tell you precisely what is wrong:

AVA saysCause
"The URL must use HTTPS."You pasted an http:// address
"Expected a Microsoft Fabric endpoint (api.fabric.microsoft.com)."The host is not a Fabric host
"Expected a published data-agent MCP URL like …"The path is missing /mcp/ or /dataagents/ — usually a portal URL rather than the MCP endpoint
"Remove the credentials embedded in the URL."The URL contains user:password@

Registering agents in AVA

1

Open the section

Admin → Tools & Skills → Fabric agents.

2

Turn the feature on

There is a master switch for the whole deployment. Until it is on — and at least one agent is enabled — the Fabric tools politely report that no agents are configured, which is why leaving it off is safe.

3

Add an agent

Provide a name, a description and the MCP URL. Up to 100 agents; names must be unique, case-insensitively.

4

Test before saving

Press Test. AVA runs the MCP handshake against the endpoint as you, lists its tools, and reports the single tool it found with the agent's own published description. Nothing is written to the registry by a test.

5

Save and verify in chat

Save, then ask in chat: "which Fabric agents are available?" followed by a real question for one of them.

Naming and describing agents well

This is the part that decides whether the feature feels intelligent or random. The name and description are the only things the model sees when choosing between agents, and AVA matches a named agent by plain case-insensitive containment — no fuzzy scoring, no guessing.

FieldLimitGuidance
Name120 charactersShort, distinctive, and how a person would refer to it out loud. Avoid names where one is contained in another — "Terminal Ops" and "Terminal Ops EU" will both match "terminal ops", and AVA will stop and ask which you meant rather than guess.
Description600 charactersSay what data it covers, what period, what grain, and what it is not for. This is routing information, not marketing.

A description that works:

Vessel and terminal operations for the EMEA region: berth allocations, crane productivity, gate turn times and dwell, from the operations warehouse. Daily grain, rolling 24 months. Does not cover finance, billing or North America.

A description that does not:

Answers questions about operations data.

Tip

Registered agents can be individually disabled without being removed. Use that while an agent is being rebuilt in Fabric — it disappears from chat, and its registry entry and description survive.

What users experience

  • Discovery — "what data agents can I ask?" lists the enabled agents and their descriptions.
  • Asking — "ask the Terminal Ops agent what average gate turn time was in Rotterdam last month" routes straight through. So does a question that only implies the agent, provided the descriptions distinguish them.
  • Ambiguity — if the question matches several agents, or none, AVA lists the real candidates and asks the user to name one. It will not invent an agent name.
  • Permissions — the answer comes back with that user's Fabric permissions applied. "You aren't authorized for this Fabric agent" is a Fabric-side grant, not an AVA setting.

Limitations

LimitationDetail
Chat onlyFabric agents need an active Microsoft session, so they do not work in scheduled or background task runs. AVA says so explicitly rather than failing silently — "ask in chat while signed in". Unattended Fabric querying is a planned addition.
One tool per agentEach endpoint exposes exactly one question-answering tool, discovered at runtime. AVA cannot issue SQL or call arbitrary Fabric APIs through this path.
Answer quality is the agent'sPoor answers are almost always the Fabric agent's instructions, example queries or data sources — tune it in Fabric, not in AVA.
Registry, not discoveryAVA does not enumerate your Fabric tenant. An agent appears when an admin registers it, and only then.

Troubleshooting

SymptomCauseFix
"No Fabric data agents are configured for this deployment yet"Master switch off, or no enabled agentsTurn it on and enable at least one agent
"Fabric querying needs an active Microsoft session"The request came from a scheduled task or a background runAsk in chat. Fabric is not available unattended
"Your Microsoft account couldn't be authenticated to Fabric"The Entra app registration lacks the Fabric delegated permission or consent; or the user's session expiredGrant and consent the permission; have the user reconnect their Microsoft account
Test says "Reached Fabric, but your account isn't authorized for this agent/workspace (or it isn't published)"Publish or workspace-access problemPublish the agent in Fabric; grant the account workspace access
Test says "The endpoint exposed no tools"Not a published data-agent MCP URLRe-copy the endpoint; check it contains /mcp/ and /dataagents/
"No Fabric agent named X"The model used a name that is not in the registryExpected behaviour — AVA lists the real agents. If users keep using a different name, rename the agent to match
Multiple agents matchedOne agent's name is contained in another'sRename so no name is a substring of another
An agent that used to work stoppedIt was unpublished, deleted, moved workspace, or permissions changed in FabricRe-test the URL from the admin section; the error tells you which