The Microsoft Data and AI Stack Explained: How SQL Server, Fabric, Power BI, Foundry, and MCP Fit Together

The Microsoft Data and AI Stack Explained: How SQL Server, Fabric, Power BI, Foundry, and MCP Fit Together – SQLYARD

The Microsoft Data and AI Stack Explained: How SQL Server, Fabric, Power BI, Foundry, and MCP Fit Together


If you work with SQL Server in 2026 you are being asked about Microsoft Fabric, Power BI, Foundry, MCP, and AI agents in the same conversation and expected to know how they relate. They are not competing products. They are layers in a single connected platform and SQL Server sits at the foundation of all of it.

This article maps the full stack in plain English, explains what each layer does, where they connect to each other, and specifically what the DBA’s role is at each layer. Every item in the stack has a dedicated SQLYARD deep-dive article linked at the end of each section.

Microsoft Data Platform 2026

The Complete Stack for SQL Server Professionals

SQL Server · Fabric · Power BI · Foundry · MCP  ·  SQLYARD.com


L1
SQL Server / Azure SQL
The Data Foundation
Stores transactional data, analytical data, and vector embeddings for AI. The authoritative source of truth for every layer above it. SQL Server 2025 adds native VECTOR type and DiskANN index for AI workloads.
DBA owns this layer entirely
L2
Microsoft Fabric
The Unified Platform Layer
Unified analytics platform combining data engineering, data warehousing, real-time intelligence, and AI. Connects SQL Server data into OneLake. Power BI and Foundry both run on top of Fabric infrastructure.
DBA configures data pipelines and governance
L3
Power BI
The Reporting and Decision Layer
Business intelligence and reporting. Connects to SQL Server via Import (snapshot) or DirectQuery (live). 15 visuals per page can mean 150 SQL queries per user interaction in DirectQuery mode. Semantic models built on Fabric for enterprise scale.
DBA manages connections, indexing, RCSI, RLS
L4
Microsoft Foundry
The AI Agent Platform
Enterprise AI platform for building, deploying, and governing AI agents. Hub and project model mirrors SQL Server instance and database hierarchy. Connects to SQL Server knowledge bases and transactional data through MCP. Access to 11,000+ AI models.
DBA governs connections and private networking
L5
MCP (Model Context Protocol)
The Secure Connection Layer
The standard protocol connecting AI agents to external systems including SQL Server. The DBA builds and governs the MCP server: least-privilege accounts, query restrictions, row caps, audit logging. MCP is the boundary between AI and your data.
DBA owns this security layer

The DBA’s Role at Each Layer
SQL Server
Schema design, indexes, RCSI, compression, backups, HA, performance tuning, vector store maintenance
Fabric
Data pipeline governance, OneLake connectivity, mirroring configuration
Power BI
Connection accounts, DirectQuery indexing, RCSI for blocking, row-level security enforcement
Foundry
Hub connection governance, Entra ID auth, private VNet configuration, RBAC assignments
MCP
Least-privilege SQL accounts, query restrictions, row caps, audit logging, schema documentation quality

1 Layer 1: SQL Server — The Foundation Everything Builds On Beginner

SQL Server is the data foundation. Every layer above it reads from, writes to, or depends on the quality and reliability of what lives here. Power BI reports surface SQL Server data. Foundry AI agents query SQL Server knowledge bases. MCP connections govern access to SQL Server. None of the upper layers work correctly if the foundation is poorly designed, undocumented, or performing badly.

SQL Server 2025 added capabilities specifically for the AI era: the native VECTOR data type and DiskANN approximate nearest neighbor index for storing and searching vector embeddings directly in SQL Server. This means SQL Server is now both the transactional data store and the AI knowledge base in a single engine. The schema documentation quality, column naming conventions, and extended property descriptions that DBAs maintain are now directly determining the quality of AI-generated SQL and AI agent responses.

This is not a metaphor. When an AI agent queries your database through MCP it reads your table names, your column names, and your extended property descriptions to understand what the data means. A column named c4 produces bad AI output. A column named OrderStatusID with a documented description of each valid value produces correct AI output on the first attempt.

📊
Your Data Is Your AI Engineer
Why schema documentation quality directly determines AI output quality. Extended properties, column naming, and business rule documentation.
🔮
From Rows to Reasoning: Designing SQL Server for AI
Schema design patterns for SQL Server databases that will be accessed by AI agents and RAG pipelines.

2 Layer 2: Microsoft Fabric — The Unified Platform Beginner

Microsoft Fabric is the platform that connects all the other layers. It is a unified analytics service that combines data engineering, data warehousing, real-time intelligence, and AI under one management surface and one data store called OneLake.

For SQL Server professionals the most relevant Fabric capabilities are SQL database in Fabric (a managed SQL Server-compatible database), data mirroring (which replicates SQL Server data into OneLake in near real time without ETL), and the Fabric SQL analytics endpoint that allows Power BI and AI tools to query OneLake data using T-SQL. If your organization is on Microsoft Fabric, SQL Server data can flow into it automatically and be consumed by Power BI, Foundry AI agents, and other Fabric workloads without manual data movement.

Fabric is not required to use Power BI against SQL Server or to use Foundry. But it is the direction Microsoft is moving the entire data platform and understanding where it fits helps make sense of why the other layers are designed the way they are.

3 Layer 3: Power BI — The Reporting and Decision Layer Beginner

Power BI is how business users and analysts interact with SQL Server data visually. It connects to SQL Server in one of two fundamental modes: Import (takes a snapshot of the data on a schedule) or DirectQuery (queries SQL Server live every time a user interacts with a report).

The choice between these modes is not a Power BI developer decision. It is a decision that directly affects SQL Server performance, concurrency, blocking patterns, and row-level security enforcement. DirectQuery with 50 concurrent users can generate thousands of queries per minute against your production SQL Server. Understanding which mode a report uses, and what that means for the DBA, is the essential knowledge that bridges the SQL Server world and the Power BI world.

📈
Power BI DirectQuery vs Import Mode: What Every SQL Server DBA Needs to Know
What DirectQuery queries actually look like on SQL Server, how to monitor them with DMVs and Query Store, blocking risks, RLS differences, and the DBA checklist before go-live.

4 Layer 4: Microsoft Foundry — The AI Agent Platform Beginner

Microsoft Foundry is where enterprise AI applications and agents are built, deployed, and governed. It sits on top of Fabric infrastructure and provides a unified hub and project model for managing AI resources: model deployments, connections to external services, private networking, RBAC, and monitoring.

The hub and project model in Foundry maps directly to concepts SQL Server DBAs already know. A hub is like a SQL Server instance: shared governance, shared infrastructure, shared connections available to all projects under it. A project is like a database: an isolated workspace that inherits hub-level settings but has its own resources and its own access controls.

Connections in Foundry are how AI agents access external services including SQL Server. A Foundry project can have a connection to an MCP server that sits in front of SQL Server, enabling AI agents to query your databases through a governed, audited, least-privilege access layer.

🏗️
Microsoft Foundry for SQL Server Professionals: Hub, Projects, Connections, and the DBA’s Role
The hub and project hierarchy, connection governance, Entra ID authentication, private networking, and where SQL Server fits in a Foundry deployment.

5 Layer 5: MCP — The Secure Connection Between AI and Data Beginner

The Model Context Protocol is the standard that governs how AI agents connect to external systems including SQL Server. An MCP server sits between a Foundry AI agent and your SQL Server instance. It defines exactly which operations the AI is allowed to perform, blocks dangerous operations, caps row counts, and logs every action for audit purposes.

MCP is the layer that makes AI-to-SQL-Server connections enterprise-safe. Without it an AI agent with database access is an open connection that can run any query the connected account permits. With a properly configured MCP server the AI can only call named, defined tools, every call is logged, row limits prevent runaway queries, and the connection account has least-privilege SQL permissions defined by the DBA.

This is DBA work. Not developer work. Not AI team work. Creating the least-privilege SQL account, defining which schemas are accessible, writing the audit logging, setting row caps, blocking DROP and DELETE at the protocol level. These are the same security and governance principles DBAs have always applied. MCP is just the new access layer they apply them to.

🔗
MCP and SQL Server: What Every DBA Needs to Know
Building and securing an MCP server for SQL Server. Least-privilege accounts, query restrictions, row caps, audit logging, and private networking.
🧠
LLM, RAG, Agents, and MCP: The Plain English Guide
What each term means, how they connect, and the SQL Server professional’s role in each layer of the AI stack.

6 How a Real Request Flows Through the Full Stack Beginner

Here is how a single business question flows through every layer of the stack, end to end.

A regional sales manager opens a Power BI dashboard on Monday morning to review the weekend numbers. They also have access to an AI assistant powered by Foundry agents. The same underlying data serves both.

SCENARIO: "What were our top 5 products by revenue this weekend
           and are there any orders still pending from Friday?"

POWER BI PATH (Layer 3 → Layer 1):
Manager clicks the weekend filter on the sales dashboard
  ↓
Power BI generates DirectQuery SQL to SQL Server
  ↓
SQL Server executes the query, returns results
  ↓
Power BI renders the top products visual
  (DBA owns: indexes that make this query fast, RCSI to prevent blocking)

AI AGENT PATH (Layer 4 → Layer 5 → Layer 1):
Manager types the question to the Foundry AI assistant
  ↓
Foundry agent receives the question
  ↓
Agent calls MCP tool: query_database
  ↓
MCP server validates the request (allowed query, within row cap)
  ↓
MCP executes read-only query against SQL Server
  ↓
SQL Server returns results (RLS enforced: manager sees only their region)
  ↓
MCP returns structured results to Foundry agent
  ↓
Agent combines results, generates natural language answer
  ↓
Manager receives: "Your top 5 products were [list]. There are 3 orders
still in Pending status from Friday for customers in your region."
  (DBA owns: MCP security config, SQL account permissions, schema documentation
   that lets the agent understand what OrderStatusID = 2 means)

Both paths use the same SQL Server data. Both paths depend on the DBA’s work: the indexes, the RCSI configuration, the row-level security, the MCP account permissions, and the schema documentation that makes AI-generated SQL correct. The DBA is not a bystander in the AI era. Every layer in this stack rests on work the DBA team does.

7 The DBA’s Role Has Not Shrunk. It Has Expanded. Beginner

Every layer added to the Microsoft data platform adds a new surface where the DBA’s skills apply. The traditional DBA role covered SQL Server performance, availability, backups, and security. In 2026 those responsibilities are unchanged and five new ones have been added:

  • Vector store maintenance. The VECTOR tables in SQL Server 2025 that store RAG embeddings need index maintenance, freshness monitoring, and query performance tuning just like any other tables.
  • Schema documentation for AI accuracy. Extended property descriptions on tables and columns directly determine the quality of AI-generated SQL. This is now a production responsibility, not a nice-to-have.
  • Power BI connection governance. DirectQuery connection accounts, index design for Power BI query patterns, RCSI decisions that affect both OLTP and reporting workloads.
  • Foundry connection configuration. Hub and project-level connection governance, Entra ID authentication setup, private VNet configuration for SQL Server accessibility from Foundry agents.
  • MCP security layer. The DBA-built security boundary between AI agents and SQL Server. Least-privilege accounts, query restrictions, audit logging.

The organizations that build the most reliable AI systems in 2026 are the ones with strong DBA teams. The AI layer is only as good as the data foundation it rests on. Schema quality, indexing strategy, security governance, and performance tuning are DBA skills. They were essential before AI. They are more essential now because every AI system that touches your SQL Server data depends on them.

The Complete SQLYARD AI and Data Platform Series

Each article in this series covers one layer of the stack in depth. Read them in order for the complete picture or jump to the layer most relevant to what you are working on right now.

🧱
Your Data Is Your AI Engineer: Schema Quality and AI ROI
Layer 1 deep dive. Why schema documentation is AI infrastructure, not housekeeping.
🔮
From Rows to Reasoning: SQL Server Schema Design for AI
Layer 1 deep dive. Designing SQL Server databases for AI applications and RAG pipelines.
📈
Power BI DirectQuery vs Import: The SQL Server DBA Guide
Layer 3 deep dive. What Power BI does to SQL Server and how to manage it.
🏗️
Microsoft Foundry for SQL Server Professionals
Layer 4 deep dive. Hub, projects, connections, private networking, and the DBA’s role.
🔗
MCP and SQL Server: What Every DBA Needs to Know
Layer 5 deep dive. Building and securing the AI-to-SQL-Server connection layer.
🧠
LLM, RAG, Agents, and MCP: The Plain English Guide
What each AI term means and how it connects to SQL Server data.
🏠
How AI Connects to Your Company Data: The Complete Flow
End-to-end walkthrough from knowledge base to MCP to AI agent response.

References


Discover more from SQLYARD

Subscribe to get the latest posts sent to your email.

Leave a Reply

Discover more from SQLYARD

Subscribe now to keep reading and get access to the full archive.

Continue reading