A fully managed platform in Microsoft Foundry for hosting, scaling, and securing AI agents built with any supported framework or model
Hello @Babak Fak
Welcome to the Microsoft Q&A Forum! Thank you for posting your query here.
This is currently a Voice Live limitation. OAuth identity passthrough is designed to preserve the end user’s identity and therefore requires an interactive sign-in and consent flow. Voice Live executes MCP tools server-side and cannot complete this interactive authorization flow.
Voice Live also does not currently provide settings for a token URL, client ID, client secret, grant type, or automatic token renewal. Therefore, an OAuth identity-passthrough connection cannot be changed to grant_type=client_credentials.
The require_approval property only controls whether users approve individual tool executions. It does not change the MCP authentication method.
Available alternatives:
- Acquire the access token outside Voice Live and supply it as the MCP authorization value or Authorization header. This is mainly suitable for testing because Voice Live does not document automatic token renewal; the value must be replaced when it expires.
- For production, use Voice Live function calling. Your application backend can securely acquire, cache, and renew a client-credentials token and then invoke the MCP server or underlying API.
- Place a trusted gateway or proxy in front of the MCP server. The gateway can obtain and renew the client-credentials token before forwarding requests.
Do not place the client secret directly in the Voice Live session configuration or client application.
References:
- Voice Live MCP server integration
- Voice Live function calling
- Foundry MCP authentication methods
- OAuth client-credentials flow
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.
Thanks!