Build a Foundry Voice Agent with Microsoft Learn MCP
Create a voice support agent in Microsoft Foundry, configure the conversation, connect Microsoft Learn through a toolbox and test an Intune question.

“How do I create a policy in Intune?” If a colleague asked me that on the phone, my first question would be which platform the policy is for. That’s the conversation I want to try with a voice agent in Foundry. For this example the agent needs to be able to look up the instructions in Microsoft Learn. It doesn’t need access to my devices.
In this blog I’ll show you how I created IT-Support-Agent, gave it a short greeting and connected it to Learn. At the end you can hear what happened when I asked it that Intune question in the playground.
I recorded the example on 2 November 2026 in my Modern Device Management project. The screenshots are from that recording and the video is in German. I used the microphone in the playground for the call.
Watch the walkthrough in German
1. Create the voice agent and try its greeting
First open Build > Agents > New agent in your Foundry project. In the recording you can see the voice templates here as well. I started with my own agent so I could choose what it says to the caller.
I name it IT-Support-Agent, select Voice as the interaction mode, and give it a short goal: help users with support questions. I then select Create agent and open playground.

Open the instructions Foundry created from that short goal. Read them as if you were the person on the other end of the call. If a caller says “the setting is missing”, I want the agent to ask which device they’re using. It has no way to look at that device itself.
The current voice-agent quickstart covers the managed voice agent and a first spoken test. Check availability in your project. Having a text agent does not establish that every voice configuration is available there.
Which greeting will the caller hear?
In the playground you can open Personality, Environment and Greeting. For a helpdesk call I’d start with one question the caller can answer. Remember that the agent can hear the caller but can’t see the screen they’re looking at.
For a pilot, I would add something like this:
Help with Microsoft Intune questions.
Ask for the platform and intended outcome when either is missing.
Give short steps and leave room for follow-up questions.
Use Microsoft Learn for product-specific instructions.
You cannot access devices, user accounts, or my tenant.
Do not claim you have checked or changed a setting.
That is my proposed tighter support instruction. In the recording, I keep the generated instructions and mainly shorten the fixed greeting to: “Hello, I’m a support assistant. What can I help you with today?”

A complete written procedure can be difficult to follow over audio. I would initially have the agent explain one step, then ask whether the user has reached the expected screen. Long paths and commands also need a suitable text channel.
What happens when you interrupt an answer?
When I opened the voice settings I could only select a few voices. The capability query also returned an error naming a missing data action. If you see the same message, copy that action and check whether the identity making the request has it.
The avatar option is also unavailable in the demonstrated region. Moving regions is not a casual workaround: model choice, processing requirements, supported features, and organizational requirements need to fit together.
Under Advanced settings, I can see Phrase List, Audio Enhancement with Noise Suppression and Echo Cancellation, and Automatic Turn Detection. The interface offers Azure semantic and Basic options.

In a follow-up test, I would interrupt an answer with a question, then try a longer thinking pause. Both happen in support conversations. The agent should recognize a question without treating every pause as the end of the conversation. The current voice configuration guide describes the input and output controls.
2. Add Microsoft Learn to the agent’s toolbox
Now our agent has a voice. For the Intune question it also needs somewhere to look up the answer. Select Add a toolbox, name it MSLearn and search the tool catalog for Microsoft Learn.

I select the Microsoft Learn MCP Server and connect the suggested endpoint:
https://learn.microsoft.com/api/mcp
That address takes the agent to Microsoft’s documentation. It can look up how to create the policy there. The connection doesn’t give it permission to create anything in your tenant. You can find the supported documentation tools in the official Learn MCP overview.
I also add Tool Search in the demo. For a small voice toolbox, I would then compare it with a configuration without that extra discovery step. Tool calls take conversation time; a long silence is more noticeable in a spoken exchange than in a chat.
How can you tell whether it actually used Learn? After the test, open the trace and look for the Learn tool call. Open its result and compare the page it returned with the steps you heard.
3. Ask the Intune question and listen to the answer
Save the agent and start a session. In the video I ask how to create an Intune policy. You can hear the agent begin its explanation and mention the Intune admin center. That’s where I interrupt it. I didn’t create a policy during the call.

For your own test, try the question once with “for Windows” and once without naming a platform. Does the agent ask which one you mean? Then give it a question with a wrong assumption and check which Learn page it uses to explain the correction.
Record time to the first useful explanation, interruptibility, source quality, and whether the answer addresses the request. A pleasant voice is not enough to accept a support answer.
Where would you connect a phone number?
At the end of the recording I open Traces, Monitoring and Channels. I stopped before connecting a phone number. If you want colleagues to call the agent later, the guide covers Teams Phone extensibility and Twilio and the connections you need for each. Connect a telephony channel
To follow the tool call from this test, you can use my Foundry Tracing and Evaluation episode.
I’d start with that one Intune question before connecting a phone number. Ask it, interrupt the answer as you would in a real call, then open the Learn result in the trace. I hope that helps you get your own first conversation going.
Stay healthy, Cheers
Jannik