A graph answer can be persuasive while following the wrong relationship, direction, path mode, hop count, duplicate route, or point-in-time state. A question about suppliers connected to a failed component can silently cross an obsolete edge, revisit a node, expand through millions of paths, or treat absence of a relationship as evidence of absence. Valid GQL does not guarantee valid business reasoning.
Fabric Data Agent can attach a Fabric Graph Model or graph queryset and use NL2GQL to answer natural-language questions over connected data. Microsoft documents support for source instructions, descriptions, and question-GQL examples, but not node-and-edge schema selection inside the Data Agent. The Graph and its Data Agent integration are also in preview. A production decision therefore starts with a deliberately bounded graph artifact and an explicit evidence standard.
Which decision requires relationships that a table or semantic model cannot express clearly? Start with that path, not a graph of everything.
Define the graph question contract
Select one relationship-rich business decision, accountable owner, Graph Model, user cohort, supported questions, prohibited uses, refresh expectation, permission boundary, and measurable outcome. Define whether the answer supports discovery, investigation, recommendation, or a regulated decision. Keep automated action outside the pilot until the path evidence, identity, and failure behavior are proven.
| Contract area | Required decision | Evidence | Failure to prevent |
|---|---|---|---|
| Business path | Start and end entities, allowed relationships, direction, hop range, filters, ranking, and decision owner. | Approved question and GQL catalogue. | Agent follows a plausible but invalid path between entities. |
| Graph semantics | Node and edge labels, keys, properties, direction, cardinality, lifecycle, and source-of-truth rules. | Graph semantic map with owner and examples. | Same relationship label carries different meanings across sources. |
| Data boundary | Underlying Lakehouse tables, graph item, exposed properties, sensitive links, refresh, and retention. | Lineage, access matrix, and freshness evidence. | Instructions are mistaken for an enforceable node or edge boundary. |
| Quality | Expected GQL, path set, result, answer, clarification, latency, and severity-weighted threshold. | Versioned ground-truth and regression suite. | Natural-language answer hides an incorrect traversal or duplicate path. |
| Preview gate | Permitted environment, SLA assumption, fallback, expansion criteria, and accountable risk owner. | Documented go, limit, or stop decision. | Preview capability is treated as an unsupported production commitment. |
Build a decision-specific Graph Model
Model only the entities and relationships required for the contracted decisions. Give every node a stable key and every edge an unambiguous business verb. Document edge direction, whether multiple edges can connect the same pair, effective dates, confidence or source where relevant, and how deletions or corrections propagate. If two relationship meanings need different filters or owners, give them distinct labels instead of relying on prompt interpretation.
Fabric Graph currently uses the labeled property graph model and does not support RDF. Microsoft also documents that graph schema evolution is not currently supported: structural changes require reingesting updated source data into a new model. Treat the graph definition as a governed interface. Version model changes, rebuild in a non-production workspace, rerun ground truth, and promote only after affected questions pass.
Graph data is ingested from underlying Lakehouse tables when the model is saved and can be refreshed manually or on a schedule in a shared workspace. Define the expected staleness of nodes, edges, and properties, then make it visible in evaluation and user answers where it changes the decision. A fresh Data Agent over a stale graph is still stale.
Do not depend on Data Agent instructions to hide sensitive graph structure. Microsoft's current documentation says Graph sources do not support schema selection inside the agent. Create a purpose-built graph, remove or separate restricted properties and relationships, and test Read permission on both the graph item and underlying data for every persona.
Evaluate NL2GQL as relationship reasoning
Write source instructions for node and edge meaning, direction, path constraints, keys, required filters, date validity, cardinality, ranking, null behavior, duplicate control, and prohibited traversals. Add validated question-GQL examples for direct relationships, two- and multi-hop paths, shared entities, optional relationships, cycles, no-path results, temporal validity, and bounded aggregation. Microsoft documents that these examples are passed to NL2GQL to teach complex graph traversal patterns.
Build deterministic ground truth from approved GQL and stable data snapshots. For every question, preserve the intended interpretation, expected path mode, hop range, filters, distinct rules, result, answer, latency, identity, and severity. Include ambiguous entity names, missing edges, duplicate routes, disconnected components, high-degree hubs, cycles, stale refresh, unauthorized data, and deliberately explosive traversals.
| Dimension | Test | Pass condition | Remediation |
|---|---|---|---|
| Path correctness | Labels, direction, direct versus multi-hop, minimum and maximum hops, and shared-node constraints. | Generated GQL follows only the approved relationship pattern. | Clarify labels and instructions, add a validated example, or redesign the graph. |
| Path semantics | TRAIL, WALK, SIMPLE, ACYCLIC, optional paths, cycles, and duplicate route behavior. | Path mode and distinct logic match the business question. | Encode the required mode in GQL examples and regression tests. |
| Entity fidelity | Keys, aliases, labels, property types, missing nodes, edge validity, and temporal filters. | Results resolve the intended entities and valid point-in-time relationships. | Fix source keys, graph mapping, refresh, or disambiguation behavior. |
| Security | Graph item Read, underlying data access, sensitive properties, restricted relationships, and mixed personas. | Every user sees only authorized paths and denied questions fail closed. | Separate graph/source, reduce exposed properties, correct permissions, or reject the channel. |
| Performance | High-degree nodes, variable-length paths, unbounded matches, filters, LIMIT, aggregation, concurrency, and graph operations. | Correct GQL stays within agreed latency, result, and capacity thresholds. | Bound hops and results, filter earlier, precompute a relationship, or narrow the use case. |
| Answer fidelity | Path evidence, freshness, count basis, omitted links, truncation, uncertainty, and source attribution. | Answer preserves material qualifiers and never overstates what the graph proves. | Response instruction, evidence display, clarification, or human escalation. |
Inspect the generated GQL, not only the prose. Graph traversal is especially sensitive to path explosion. Microsoft recommends bounded results and shallow, targeted traversals; unbounded matches can produce large result sets, and each additional hop can multiply the paths evaluated. Record query latency and graph operation consumption alongside correctness.
Do not expect Build agent with AI to create this configuration. Microsoft's current preview limits that assistant to SQL and Eventhouse sources and explicitly lists Graph as unsupported. Manually review every instruction and example, validate its GQL, and keep the configuration under the same release discipline as the Graph Model.
Prove permissions, refresh, and preview behavior
Test the actual consumption channel and each user persona. Microsoft documents that a user needs Read permission on the graph item and the underlying data. Verify positive and negative cases, direct item sharing, workspace roles, access removal, and mixed-source routing. If a Data Agent combines Graph with SQL, semantic, KQL, ontology, or search sources, test whether each question routes to the intended source and respects every underlying permission boundary.
Monitor graph ingestion and scheduled refresh status, model version, source freshness, Data Agent routing, generated-query errors, graph operation consumption, latency, high-cardinality traversals, authorization failures, answer corrections, and user feedback. Correlate every material answer issue with the agent version, graph version, refresh, identity, generated GQL, and result metadata.
Graph and graph-powered AI reasoning are currently preview capabilities without an SLA and Microsoft says preview is not recommended for production workloads. Use a controlled pilot, bounded users and decisions, explicit fallback, and an accountable risk owner. A failed or stale graph query should produce a clear limitation, not a fabricated relationship.
Run a three-to-five-week Graph assessment
- Select one business decision that genuinely needs connected-data reasoning, one user cohort, one owner, and measurable success criteria.
- Map authoritative tables, node and edge labels, keys, properties, direction, cardinality, validity, sensitive relationships, and refresh expectations.
- Build a purpose-specific Graph Model and access boundary; document schema-change, rebuild, versioning, and fallback rules.
- Attach the graph source, write routing and source instructions, and add validated question-GQL examples for representative traversal patterns.
- Create deterministic ground truth and run path, identity, ambiguity, stale-data, no-path, cyclic, high-degree, capacity, and adversarial tests.
- Classify failures by source data, graph model, refresh, instruction, example, generated GQL, permission, runtime, or final answer; remediate and repeat.
- Deliver the graph contract, semantic map, configuration, evaluation scorecard, permission matrix, runbooks, and go, limit, or stop recommendation.
Frequently asked questions
Can a Microsoft Fabric Data Agent query a Fabric Graph Model?
Yes. Fabric Data Agent can use a Fabric Graph Model or graph queryset as a preview data source, translate natural-language questions into GQL, and execute the query against the underlying graph artifact. Users need Read permission on the graph item and its underlying data.
How do we improve Fabric Data Agent NL2GQL accuracy?
Begin with a decision-specific graph model, define node and edge semantics, direction, keys, path rules, cardinality, freshness, and prohibited traversals, then add source instructions and validated question-GQL examples. Compare generated GQL and results with deterministic ground truth across direct, multi-hop, optional, cyclic, and no-path questions.
Can we limit a Fabric Data Agent to selected graph nodes and edges?
Microsoft's current configuration documentation says Graph Model sources don't support schema selection inside Data Agent. If a user must not query particular nodes, edges, or properties, enforce that boundary in the graph item, underlying data, permissions, or a separate purpose-built graph rather than relying on instructions alone.
Does Build agent with AI configure Fabric Graph sources?
No. Microsoft's current preview documentation limits Build agent with AI to SQL and Eventhouse sources and explicitly lists Graph as unsupported. Graph source instructions, descriptions, and question-GQL examples therefore require deliberate manual design, review, and testing.
How long does a Fabric Data Agent Graph assessment take?
A focused assessment commonly takes three to five weeks for one relationship-rich decision domain, one Graph Model, one Data Agent, and a representative question set. It covers graph semantics, refresh, permissions, NL2GQL configuration, ground truth, query performance, answer evaluation, preview risk, and operating controls.
Official implementation references
- Configure Graph Model sources in Fabric Data Agent
- Graph in Microsoft Fabric and graph-powered AI reasoning
- GQL graph patterns and path modes
- GQL query performance and bounded traversals
- Graph ingestion, refresh, and scheduling
- Data Agent and underlying Graph permissions
- Build agent with AI supported source limitations
Start with one high-value relationship question and the GQL that proves it. Datrick can turn that path into a focused graph source, NL2GQL evaluation suite, and evidence-based rollout recommendation.
