Grounding Copilot Studio Agents with Azure AI Search and Foundry IQ

· Source: Microsoft Foundry Blog articles · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Cloud Computing & IT Infrastructure, Software Development & Engineering · Depth: Intermediate, long

Summary

Microsoft's latest guidance details five retrieval patterns for grounding Copilot Studio agents using Azure AI Search and Foundry IQ, exemplified by an "Ask HR" agent. These patterns, available in the `foundry-copilot-hr-policy-knowledge` sample repo, address varying user needs, from direct document links to synthesized, grounded answers. Patterns include direct index query (A, ~1-2s latency), agentic retrieval via Foundry IQ (A2, ~2-4s), forced-grounding synthesis with Foundry Agent Service (B, ~10-14s), deterministic document locators (C, ~1-2s), and a self-hosted agent (Hosted Agent, ~10-14s). All patterns leverage a single `hr-policy-index` in Azure AI Search, allowing for flexible layering without re-indexing. The choice depends on whether users need an answer or a document, if an LLM agent is required, and the preferred runtime environment.

Key takeaway

For AI Architects designing enterprise knowledge agents, you must strategically select retrieval patterns based on user intent and performance needs. Start with simpler patterns like direct index search (Pattern A) for basic document location, then layer agentic retrieval (Pattern A2) for improved quality without agent overhead. For synthesized, grounded answers, consider Foundry Agent Service (Pattern B), accepting higher latency. Implement Pattern C for deterministic document links, routing high-volume locator queries efficiently.

Key insights

Grounding enterprise agents requires choosing from diverse retrieval patterns based on user needs and technical constraints.

Principles

Method

A decision tree guides pattern selection based on three questions: 1) user need (answer vs. document), 2) LLM agent necessity, and 3) runtime hosting preference.

In practice

Topics

Code references

Best for: AI Engineer, AI Architect, MLOps Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Microsoft Foundry Blog articles.