Lesson 3 of 3 Multi-Agent RAG and Knowledge Integration

Integrating Enterprise Knowledge with Foundry IQ, MCP and Semantic Search

This lesson covers how Azure AI Search, Foundry IQ knowledge bases, MCP-available sources and semantic search give agents governed access to knowledge from document stores, SharePoint, data lakes, databases, SaaS applications and the web.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe Azure AI Search as the retrieval engine.
  • Describe how Foundry IQ knowledge bases group knowledge sources.
  • Decide when a system should be accessed live through MCP instead of indexed.

Azure AI Search as the retrieval engine

Azure AI Search indexes content from Azure Blob Storage, Azure Data Lake, Cosmos DB, Azure SQL, SharePoint and other sources with indexers, enriches it with skillsets (layout extraction, chunking, embedding through integrated vectorization) and serves keyword, vector, hybrid and semantic queries. Agents use an index through the Azure AI Search tool in Foundry Agent Service or through the search SDK in code.

Foundry IQ knowledge bases

Foundry IQ provides knowledge bases built on Azure AI Search agentic retrieval. A knowledge base groups several knowledge sources, such as search indexes, Blob Storage, SharePoint, OneLake and web sources, behind one retrieval endpoint. For each request, it plans subqueries, selects sources, runs the queries in parallel, ranks the results and returns grounded content with references. Agents connect to a knowledge base as a tool, so many agents share one governed knowledge layer instead of each building its own retrieval.

Put in order

What a knowledge base does per request

Exam skills 2.2.4

Arrange what a Foundry IQ knowledge base does for each request.

Log in to try this activity Interactive activities are free with an account.

MCP-available sources and semantic search

Some knowledge lives in systems that are better accessed live than indexed: a CRM, a ticketing system, an inventory database. An MCP server can expose such a system as tools (for example search_tickets) and resources (for example a ticket by URI), so any MCP-capable agent, in Foundry, Agent Framework, LangGraph or a coding assistant, can use it with the same authentication and governance. Remote MCP servers, including those provided by Microsoft for its services, extend this to SaaS data.

Semantic search finds content by meaning rather than exact words. In Azure AI Search, the term covers both vector search and the semantic ranker; in practice it is combined with keyword search and filters for precision. The following table summarizes when each integration option fits.

Knowledge needIntegration option
Large document collections with filters and security trimmingAzure AI Search index
Several sources behind one retrieval call with planningFoundry IQ knowledge base
Live operational data in a business systemMCP server exposing tools and resources
Current public informationWeb grounding (for example Grounding with Bing Search)
Match the pairs

Choosing a knowledge integration

Exam skills 2.2.4

Match each knowledge need with the integration option that fits.

Log in to try this activity Interactive activities are free with an account.
Worked example

A shared knowledge layer

A company has eight agents. Each team built its own ingestion of the same SharePoint sites into separate vector stores, and answers differ between agents. Agents also need live order data from an ERP system.

A Foundry IQ knowledge base over the SharePoint sites (and other shared sources) gives all agents one consistent, permission-aware retrieval layer, and an MCP server exposes the ERP's order lookups as tools. Indexing ERP data nightly would make order status stale, and keeping eight ingestion pipelines perpetuates the inconsistency.

Check yourself

Agents built with different frameworks need live data from an internal system. What should expose it?

Show answer

An MCP server, which any agent framework can call. A Foundry IQ knowledge base suits governed document knowledge.

Exam Tips

Remember for the exam

  • One governed knowledge layer for many agents: Foundry IQ knowledge base.
  • Live system data for any agent framework: an MCP server.
  • Semantic search works best combined with keyword search and filters.