BRK301 · Breakout
Building context-aware agents with Microsoft IQ
Speakers: Ayca Bas, Marco Casalaina
Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.
What the session covers
Ayca Bas and Marco Casalaina build a hotel scenario around a Foundry hosted agent grounded in Web IQ, Foundry IQ, Fabric IQ and Work IQ, with the four IQs exposed as MCP servers in the Foundry toolbox and the agent managed in Agent 365. The demos cover the Web IQ portal and playground, Foundry IQ knowledge base configuration (answer synthesis, retrieval and answer instructions, knowledge sources), ontology generation in Fabric IQ, and a Fabric data agent used as a context-delegating microservice. Work IQ is presented as headless Microsoft 365, usable on behalf of a user or by an agent with its own Entra identity and Microsoft 365 user, published as an Agent 365 template with least-privilege permissions. The session ends with payroll and treasurer agents collaborating ad hoc over Teams with human approval of the money transfer.
Best for: Architects and developers building Foundry or Copilot agents who need to combine web, knowledge, business data and Microsoft 365 context and run agents with their own identity.
New material starts at 02:49. After a short speaker intro and scenario setup, the Web IQ demo at 02:49 starts with the Foundry toolbox exposing IQs as MCP servers and the Web IQ portal.
Where to skip: Skip to 02:49. The Foundry IQ configuration at 07:35, the Fabric data agent pattern at 16:39, agent identity and Agent 365 templates at 26:20 and the ad hoc multi-agent demo at 33:23 are the core. The Work IQ toggle demo at 21:33 is lighter, and the wrap-up from 40:01 only lists resources.
Chapters (9)
- 00:06 Recap Depth 100 · Novelty 1/3
Speaker intro and hotel scenario: one Foundry agent grounded in four IQs
Ayca Bas and Marco Casalaina introduce a hands-on session on building context-aware agents with Microsoft IQ, using a hotel scenario with several agents. The starting point is a hotel guest services agent, a Foundry hosted agent connected to Web IQ (web information), Foundry IQ (policies and rules), Fabric IQ (business operations data) and Work IQ (emails, Teams messages). The agent is managed in Agent 365.
- 02:49 Demo Depth 200 · Novelty 2/3
Web IQ demo: weather grounding, Foundry toolbox with IQs as MCP servers, Web IQ portal
Web IQ is presented as a set of grounding APIs that let agents browse the web. In Teams the guest agent is asked about the current San Francisco weather while the Foundry toolbox is shown, exposing all four IQs as reusable MCP servers. The Web IQ resource is created in Azure and explored at webiq.microsoft.ai (Get Started with REST, SDKs, MCP server; a playground with verticals such as web, videos and the new places vertical; code samples in Python, JavaScript, C#). Web IQ pricing was announced on the Web IQ blog.
- 07:35 Demo Depth 300 · Novelty 2/3
Foundry IQ knowledge base: answer synthesis, retrieval and answer instructions, sources
Foundry IQ provides knowledge bases over unstructured data; the team announced ontology and knowledge graphs for unstructured data and a new model, Microsoft Retriever 1. In the demo the guest agent answers pool hours and valet parking price from a hotel knowledge base built in Foundry. The configuration shows extractive output vs answer synthesis with GPT 5.4 mini as completion model, low retrieval reasoning effort, retrieval instructions for source routing, answer instructions, and four Azure AI Search knowledge sources, with Fabric IQ, Work IQ, SharePoint, Blob storage and custom MCP servers as further source types.
- 11:31 Demo Depth 300 · Novelty 1/3
Fabric IQ: from semantic model to generated ontology of business entities and verbs
The guest agent answers Maria Garcia's email about her reservation using structured data via a Fabric IQ connection in the toolbox. Marco explains that reports and semantic models are not enough for agents to build novel queries, and that real databases have cryptic names. A 'Generate ontology' button uses the semantic model as a starter; the ontology centres on the Stay and models business entities (reservation, stay, maintenance request, folio) linked by verbs. An agent can connect directly to the ontology through an ontology MCP server, though this demo does not.
- 16:39 Deep dive Depth 300 · Novelty 1/3
Fabric data agent as a context-delegating microservice: dictionary, examples, instructions
The guest services agent is actually several agents behind one face; Fabric data access is delegated to a Fabric data agent connected to multiple data sources. Per data source it holds a data dictionary, example queries, topics and instructions, plus overarching agent instructions for domain terms such as MICE or Microsoft's internal 'AOAI'. Delegating to a standalone data agent avoids repeating this context in every downstream agent's context window and gives a separately testable surface, described as a microservice in agent form.
- 21:33 Demo Depth 200 · Novelty 1/3
Work IQ: toggling it in Copilot and testing MCP tools in the interactive environment
Work IQ provides organisational context (emails, chats, people); the scenario is a cancellation email that the agent escalates to the admin on Teams before confirming the refund. In Microsoft 365 Copilot, Work IQ can be turned off; without it Copilot declines to answer rather than hallucinate and offers to turn Work IQ on, after which escalation details from Teams and Outlook appear. An interactive demo environment lets users test Work IQ MCP, A2A and REST with their own account or sample data, including the 'ask' and 'do action' tools and the raw request headers and bodies.
- 26:20 Deep dive Depth 300 · Novelty 2/3
Agents with their own identity: Work IQ as headless M365, Agent 365 templates, least privilege
Marco describes Work IQ as the headless version of Microsoft apps, used either on behalf of a user or by an agent with its own identity. The hotel agent has an Entra identity plus its own Microsoft 365 user with mailbox, Teams and OneDrive; Autopilot uses the same infrastructure, and custom agents with identity have been possible since June. In Agent 365 the Foundry agent is defined as an agent template activated for all users, who can create their own instances in Teams that report to them. Identities are used to grant Fabric workspace access and to apply least privilege, e.g. read-only file access instead of the user's Files.ReadWrite.All.
- 33:23 Demo Depth 300 · Novelty 2/3
Ad hoc multi-agent collaboration: payroll and treasurer agents over Teams with human approval
Two back-office agents with their own identities and permissions but the same IQs collaborate without orchestration. Asked to fund payroll, the payroll agent finds a $15,000 shortfall, cannot move money by design, and contacts the treasurer agent in a Teams group chat; the treasurer requires human approval, which Ayca gives, then moves funds and payroll proceeds. Instead of A2A or MCP links, the agents communicate over Teams and email, which Marco presents as the next generation of agents: ad hoc collaboration enabled by agent identities and Work IQ.
- 40:01 Closing Depth 100 · Novelty 0/3
Wrap-up: IQ blogs, remaining sessions, GitHub repo, Microsoft IQ Live and IQ Series
The speakers point to Ignite blog posts for each IQ and for Microsoft IQ overall, plus remaining IQ breakouts and labs. The hotel guest services agent and the two collaborating agents are available in a repo for testing, with issues welcome. Further resources include biweekly Microsoft IQ Live streams, the IQ Series with videos, Jupyter notebooks and cookbooks that earn a digital badge, and the aka.ms/microsoft-iq hub.
Announcements (4)
-
Web IQ places vertical
A new places vertical that can be selected when querying Web IQ.
Speaker’s quote (at 06:40)
„And also the other thing they announced is now you can actually choose the places vertical, which is also pretty cool“
-
Web IQ pricing
Pricing for Web IQ has been announced on the Web IQ blog.
Speaker’s quote (at 06:40)
„On that WebIQ blog, you will find that they just announced the pricing of WebIQ.“
-
Foundry IQ ontology and knowledge graphs for unstructured data
Lets users build ontologies and knowledge graphs over unstructured data in Foundry IQ.
Speaker’s quote (at 07:35)
„They came up with ontology and knowledge graphs. Now you can build them for your unstructured data.“
-
Microsoft Retriever 1
A new retrieval model announced by the Foundry IQ team.
Speaker’s quote (at 07:35)
„They also announced their new model, Microsoft Retriever 1. If you are interested“
Demos (7)
-
A hotel guest asks the guest services agent in Teams about the weather; the agent answers using Web IQ, and the presenter shows how Web IQ is provisioned and tested.
Steps (8)
- In Teams, ask the hotel guest services agent about the current weather in San Francisco.
- Open the Foundry hosted agent and its hotel toolbox, where all four IQs are added as MCP servers.
- Create a Web IQ resource in Azure.
- Follow the link from the resource to the Web IQ portal at webiq.microsoft.ai and review Get Started (REST, SDKs, MCP server).
- In the playground, select the Azure service you created, choose the web vertical and run the query 'Microsoft IQ'.
- Switch to the videos vertical to get only video results.
- Open the code section to get Python, JavaScript or C# samples.
- Return to Teams and read the weather answer from the agent.
Prerequisites: An Azure subscription with a Web IQ resource; a Foundry hosted agent with a toolbox; publication of the agent to Teams.
-
The hotel guest agent answers questions about pool hours and valet parking prices from a Foundry IQ knowledge base of hotel policies.
Steps (9)
- In Teams, ask the guest services agent for the pool hours and the valet parking price.
- In the Foundry toolbox, confirm Foundry IQ is attached as an MCP server.
- In Foundry, open the Knowledge section and create a knowledge base (here the hotel knowledge base) with a description.
- Choose the output mode: extractive data or answer synthesis.
- For answer synthesis, select a completion model (GPT 5.4 mini) and set retrieval reasoning effort (low).
- Add retrieval instructions telling which knowledge source to use for which topic, e.g. valet parking.
- Add answer instructions, e.g. be precise, give short answers, always attach citations.
- Add knowledge sources (four Azure AI Search indexes); other types include Fabric IQ, Work IQ, SharePoint, Blob storage or an MCP server.
- Return to Teams and check the answer.
Prerequisites: Microsoft Foundry project, Azure AI Search indexes with chunked hotel policy data, a completion model deployment.
-
Giving the hotel agent an understanding of reservation data by turning a semantic model into a business ontology.
Steps (5)
- Show the guest email from Maria Garcia answered by the agent using reservation data.
- Open the toolbox and show the Fabric IQ connection.
- Open the semantic model with linked tables, calculated fields and metadata.
- Press 'Generate ontology' to create an ontology from the semantic model.
- Review the ontology: entities such as reservation, stay, maintenance request and folio, linked by verbs.
Prerequisites: Hotel data in Microsoft Fabric with a semantic model.
-
Configuring and testing a standalone Fabric data agent that serves reservation data to several hotel agents.
Steps (5)
- Open the Fabric data agent connected to multiple data sources.
- For a data source, review the data dictionary with table and column descriptions.
- Add example queries, topics describing when to use the source, and source instructions.
- Add overarching agent instructions defining domain terms such as MICE.
- Chat with the data agent standalone to test it.
Prerequisites: Data sources in Microsoft Fabric.
-
Showing the value of Work IQ in Copilot and testing Work IQ MCP tools that the hotel agent uses.
Steps (6)
- In Microsoft 365 Copilot, turn Work IQ off and ask about hotel escalations; Copilot says it has no source to query and offers to turn Work IQ on.
- Turn Work IQ on and ask again to get details from Teams and Outlook.
- Open the Work IQ interactive demo environment and sign in with your account or use sample data.
- In the MCP tools section, call the 'ask' tool and view the response.
- Use 'do action' tools to send emails or create Teams group chats.
- Inspect the MCP request header, body and response.
Prerequisites: Microsoft 365 Copilot with Work IQ; a Microsoft 365 account or the sample demo data.
-
An administrator publishes a Foundry hosted agent as an Agent 365 template so users can create identity-bearing instances with restricted permissions.
Steps (5)
- Open the agent's contact card in Outlook to show it is a separate user.
- As administrator, define the Foundry hosted agent as an agent template in Agent 365 and activate it for all users.
- In Teams, a user presses the button to create an instance, names it, and it gets its own email address and reports to that user.
- In the Fabric workspace, grant access to the hotel agents' identities.
- Review template permissions: chat and email sending, but read-only file access.
Prerequisites: Administrator rights in Agent 365, a Foundry hosted agent, Microsoft Entra.
-
Hotel payroll and treasurer agents collaborate ad hoc in Teams to fund payroll, with a human approving the money transfer.
Steps (6)
- In Teams, ask the hotel payroll agent to fund the upcoming payroll.
- The payroll agent detects the account is $15,000 short and, lacking permission to move money, contacts the hotel treasurer agent in a group chat.
- The treasurer agent, instructed not to move money without human approval, asks the humans in the group.
- A human approves in the Teams group chat.
- The treasurer moves the money from the reserve account and the payroll agent funds the payroll.
- Check email to see the agents also communicated by email.
Prerequisites: Agents with their own identities (agent templates), Work IQ, Teams and email; the agents are instructed about each other's capabilities. The demo code is said to be available in the presenters' repo.