Skip to content

Grounding sources overview

This page is the map for everything under Grounding sources. Read it first, then jump to the page for the approach and source you want.

The two approaches

GPT-RAG supports two ways to ground the LLM. Every other page in this section belongs to one of them. Pick the approach first so you know which set of pages you are reading.

Approach A: Foundry IQ Knowledge Base Approach B: Azure AI Search direct
Orchestrator talks to A single Knowledge Base endpoint that fans out to one or more Knowledge Sources An Azure AI Search index
RETRIEVAL_BACKEND foundry_iq (default in v3.0.2+) ai_search
Sources it can blend Blob, existing Search index, Work IQ, Fabric ontology, Fabric Data Agent, SharePoint (remote and indexed), OneLake, Web, generic MCP servers One AI Search index
Multi-source, permission trimming, agentic retrieval Yes, out of the box No, you build it
Custom ingestion pipeline Optional (searchIndex source) Required (GPT-RAG ingestion into the index)
Status Default, recommended Fully supported, rollback and compatibility path
Start here Prerequisites Azure AI Search direct

Rule of thumb

  • New deployment, or you need Microsoft 365, Fabric, SharePoint live, OneLake, or Web sources: use Approach A.
  • Existing deployment that still runs the classic GPT-RAG ingestion into a single AI Search index, or you want the rollback path: stay on Approach B.

One backend at a time

The orchestrator uses one RETRIEVAL_BACKEND per request. You cannot mix Approach A and Approach B in the same call. Inside Approach A you can enable many Knowledge Sources on the same Knowledge Base and Foundry IQ blends the results.

Prerequisites

Prerequisites depend on the approach.

  • Approach A. Review Foundry IQ prerequisites. That page covers the shared baseline (region, RBAC, API version, feature flags, authorization model). Each knowledge source page adds its own extras on top.
  • Approach B. See Azure AI Search direct. If you ingest from SharePoint via the classic path, also see the SharePoint connector.

Retrieval and grounding in plain language

When a user asks a question, the orchestrator does not send the question straight to a language model. It first looks up relevant material and includes it in the prompt. That lookup is retrieval. The material it finds is grounding content. Answers are built on top of that material, so they cite real sources instead of guessing.

GPT-RAG can retrieve grounding content from more than one place in the same request, blend the results, and hand the merged context to the model.

Approach A: Foundry IQ Knowledge Base

Foundry IQ is a retrieval product in Azure AI Search that sits above the raw index. Instead of talking to individual indexes, the orchestrator talks to a Knowledge Base, the single retrieval endpoint for a deployment.

A Knowledge Base points to one or more Knowledge Sources. Each source is one place to look, with its own kind. Foundry IQ queries the sources, applies permissions, and returns a merged, permission-trimmed result.

flowchart LR
  O[GPT-RAG orchestrator] --> KB[Foundry IQ Knowledge Base]
  KB --> KS1[Blob container - azureBlob - GA]
  KB --> KS2[Azure AI Search index - searchIndex - GA]
  KB --> KS3[Work IQ - workIQ - Preview]
  KB --> KS4[Fabric ontology - fabricOntology - Preview]
  KB --> KS5[Fabric Data Agent - fabricDataAgent - Preview]
  KB --> KS6[SharePoint remote - remoteSharePoint - Preview]
  KB --> KS7[OneLake indexed - indexedOneLake - Preview]
  KB --> KS8[SharePoint indexed - indexedSharePoint - Preview]
  KB --> KS9[Web grounding - web - Preview]
  KB --> KS10[Generic MCP server - mcpServer - Preview]

Two things matter for operators.

  • A Knowledge Base can hold several sources. The orchestrator gets blended results in a single call.
  • Each source has its own setup, security model, and cost profile. The rest of this section covers them one by one.

On the name Fabric IQ

"Fabric IQ" is Microsoft's umbrella marketing name for grounding on Microsoft Fabric data, not something you configure directly. On the Knowledge Base it shows up as two concrete kinds: fabricOntology (reason over a Fabric business ontology and its entities and relationships) and fabricDataAgent (hand the question to a Fabric Data Agent that runs queries over your data). Any time this documentation talks about wiring GPT-RAG to Fabric, it is one of those two kinds. If you see FABRIC_IQ_* in an env var or config key, that prefix is historical and configures the fabricOntology source.

Knowledge sources at a glance

Source Kind Status Page
Blob container azureBlob GA, default for new deployments Documents
Existing AI Search index searchIndex GA, for custom ingestion pipelines Documents, custom ingestion
Work IQ (Microsoft 365) workIQ Gated public preview Work IQ
Fabric ontology fabricOntology Preview Fabric ontology
Fabric Data Agent fabricDataAgent Preview Fabric Data Agent
SharePoint remote remoteSharePoint Preview, per-user OBO ACL SharePoint remote
OneLake indexedOneLake Preview, requires workspace RBAC OneLake
SharePoint indexed indexedSharePoint Preview, app-only auth SharePoint indexed
Web grounding web Preview, billed per Bing call Web grounding
Generic MCP server mcpServer Configuration preview, compatible runtime required Generic MCP server

Pick a source

Match the situation to the source. You can enable several on the same Knowledge Base.

  • Files in a Blob container. Use azureBlob. Default for new deployments.
  • Custom ingestion into an AI Search index. Register that index as a searchIndex source and keep the pipeline.
  • Microsoft 365 context (mail, meetings, files, chats for the signed-in user). Add workIQ. Requires M365 Copilot licensing and signed-in users.
  • Fabric business ontology. Reason over entities and relationships with fabricOntology.
  • Fabric Data Agent. Hand analytical questions to a curated Data Agent with fabricDataAgent. See the comparison with Fabric ontology.
  • SharePoint, live with per-user ACL. Add remoteSharePoint. No ingestion, no local copy.
  • SharePoint, indexed with app-only auth. Add indexedSharePoint. Foundry IQ maintains its own AI Search index over the site.
  • Fabric OneLake. Add indexedOneLake. Foundry IQ indexes and queries lakehouse content natively.
  • Public web, scoped by allow / block lists. Add web. No ACL, no OBO, billed per Bing call.
  • Live, tool-backed data from a trusted remote MCP server (metrics, logs, or another system that cannot be pre-indexed). Add mcpServer. Requires an explicit tool allowlist, a trusted-host allowlist, and a knowledge base planning model. The proposed provisioning settings are not yet available in a released GPT-RAG version, and a compatible orchestrator is also required. See Generic MCP server.

Approach B: Azure AI Search direct

GPT-RAG can skip Foundry IQ and query an Azure AI Search index directly. This is the older path and the rollback path. It is not a Knowledge Source, it is a separate retrieval backend selected with RETRIEVAL_BACKEND=ai_search.

  • Ingestion. GPT-RAG's own ingestion pipeline writes to the index. See SharePoint connector for the classic SharePoint ingestion path.
  • Retrieval. The orchestrator queries the index directly. No Knowledge Base fan-out, no cross-source blending.
  • When to stay here. Existing deployment not migrating yet, or as a rollback if a Foundry IQ change causes trouble.

Full details on the Azure AI Search direct page.

  • Auth and Doc Security. How the orchestrator obtains and forwards the user's delegated token, which is what makes per-user security work across sources.
  • Retrieval Optimization. Query-time tuning that applies once a source is configured.
© 2025 GPT-RAG — powered by ❤️ and coffee ☕