Prerequisites
- A saved and tested voice-based agent.
- A selected agent version for customer testing.
- Permission to view and manage the agent.
- Application Insights if you want to monitor the shared experience.
Understand the available paths
The following table summarizes the available publishing paths for voice-based agents.“Publish to Microsoft Teams” and “connect a Microsoft Teams phone number” are different integrations. App publishing distributes a bot or agent app. Teams Phone Extensibility routes a telephone call through Azure Communication Services to the voice agent.
Open the Channels tab
In the Microsoft Foundry portal:- Select Build > Agents.
- Select the voice-based agent.
- Open Channels.
- Phone numbers.
- Preview web app.
Share the preview web app
The preview web app is available when the agent endpoint supports the Responses protocol.Open the web app
- In Preview web app, select Open web app.
- Complete a voice scenario in the new browser tab.
- Confirm microphone permissions, session startup, transcript, voice output, and avatar behavior.
Copy the web app link
- Select Copy web app link.
- Share the link only with the intended audience.
- Tell recipients which organizational account to use.
- Confirm they have access.
Grant access
When Grant access is available:- Open the card’s actions menu.
- Select Grant access.
- Add the approved users or groups.
- Review the access scope.
- Ask a recipient to validate the link with their own account.
Connect a phone number channel
In Phone numbers, select Add a number and follow Integrate telephony channels with a voice agent. After you connect a Microsoft Teams number, the Publish menu can offer Call preview agent. The dialog currently lists active Microsoft Teams phone-number bindings and provides a link back to the Channels tab when you need another number. Test Twilio numbers by calling them directly.Choose a release version
Treat the agent configuration like application code:- Save a version after completing configuration.
- Test that exact version in the playground.
- Test the preview web app.
- Test each phone number.
- Record the version used by the customer channel.
- Repeat regression tests before changing the active version.
Identity and access considerations
- Project collaborators can have broader access than preview-web-app users.
- Tool authentication can behave differently after a general Agent Application is published because the published application receives a distinct identity.
- Permissions assigned to the project identity don’t automatically transfer to a separately published application identity.
- Phone-number provisioning uses the Foundry project and Azure Communication Services setup described in the telephony article.
- Use least-privilege roles for tools, data, Application Insights, ACS, Event Grid, and app registrations.
Validate a shared experience
For each channel, test:- Authentication and authorization.
- Microphone and audio behavior.
- The greeting and AI disclosure.
- Recognition and turn-taking.
- Tool and knowledge calls.
- Human handoff.
- Session end and reconnect behavior.
- Monitoring and trace creation.
- Behavior when a downstream dependency is unavailable.