web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Copilot Studio Direct ...
Copilot Studio
Suggested Answer

Copilot Studio Direct Line Speech token endpoint returns text token instead of DLS token

(2) ShareShare
ReportReport
Posted on by 5
Hi team,
 
We are trying to use Microsoft Copilot Studio with the Azure Speech SDK via Direct Line Speech for a native voice-to-voice integration (DialogServiceConnector).
 
However, the Token Endpoint shown under the Direct Line Speech channel in Copilot Studio returns a Direct Line (text) token instead of a Direct Line Speech authorization token.
 
What we see
Calling the token endpoint returns:
{
  "token": "...",
  "conversationId": "...",
  "expires_in": 3600
}

But for Direct Line Speech, the Speech SDK expects a response like:
{
  "authorizationToken": "...",
  "region": "westus2",
  "expiresIn": 1800
}
 
Resulting issue
Because we do not receive authorizationToken and region, we cannot initialize:
speechsdk.dialog.BotFrameworkConfig.from_authorization_token(auth_token, region)

Speech SDK sessions start and then immediately stop, with no recognition events.
 
Questions
1. Does Copilot Studio currently support native Direct Line Speech integration with the Speech SDK?
2. If yes, where can we obtain the correct Direct Line Speech token endpoint that returns authorizationToken and region?
3. Or is Direct Line Speech only supported when Copilot Studio is connected through an Azure Bot Service relay bot?
 
Our goal is to try Copilot Studio’s native speech channel capability, not just text Direct Line with client-side STT/TTS.
 
Thanks in advance for any clarification.
I have the same question (0)
  • Suggested answer
    Nivedipa-MSFT Profile Picture
    Microsoft Employee on at
    Hello ,
    1. Copilot Studio does not yet offer built-in support for Direct Line Speech integration with the Azure Speech SDK. The available token endpoint only provides Direct Line (text) tokens, not the required Direct Line Speech authorizationToken and region.
    2. Currently, there is no Copilot Studio endpoint that delivers the correct token format for Direct Line Speech. The existing endpoint is designed for text, not speech.
    3. Direct Line Speech functionality is available only when Copilot Studio is connected via an Azure Bot Service relay bot. In this case, your Copilot Studio agent must be registered as a skill to an Azure Bot Service bot, and Direct Line Speech should be enabled on that bot.
  • CU04021838-0 Profile Picture
    on at
    Hi Team, thanks for confirming.
     
    Given Copilot Studio doesn’t support native Direct Line Speech tokens today, what’s the recommended way to enable voice (speech) experiences for a Copilot Studio agent?
     
    * Which supported voice-capable channels should we use instead (e.g., Telephony/Teams/other), and are there docs/steps you recommend?
    * If the intended path is the Azure Bot Service relay bot, can you outline the minimal setup:
      * how to register the Copilot Studio agent as a skill,
      * which channel to enable (Direct Line Speech?),
      * and where the Speech resource (region/token) is configured?
    * Are there any limitations we should expect vs. true Speech SDK DialogServiceConnector (streaming, barge-in, partial hypotheses, etc.)?
     
    Our goal is a native voice-to-voice experience (not “text Direct Line + client-side STT/TTS”), so we want to follow the officially supported path.
     
    Thanks!
     
  • Nivedipa-MSFT Profile Picture
    Microsoft Employee on at
     Hello ,

    To enable voice (speech) experiences for a Copilot Studio agent, given that native Direct Line Speech tokens are not supported, here’s the recommended approach:


    1. Supported Voice-Capable Channels

    • Microsoft Teams and Telephony are the primary supported channels for voice with Copilot Studio agents.
    • Direct Line Speech is not natively supported for Copilot Studio agents, so you should not use it directly.
    • Documentation:
      • Connect a bot to Microsoft Teams
      • Telephony channel for Azure Bot Service
      • Copilot Studio: Supported channels

    2. Azure Bot Service Relay Bot Path

    If you want to use Azure Bot Service as a relay to enable voice:

    a. Register the Copilot Studio Agent as a Skill

    • In Copilot Studio, export your agent as a skill (see Export as a skill).
    • Register this skill in your Azure Bot Service bot (relay bot) using the Bot Framework Skills manifest.

    b. Enable the Channel

    • Enable the Telephony or Teams channel on your Azure Bot Service bot.
    • Direct Line Speech channel is not supported for Copilot Studio agents, even via relay.

    c. Speech Resource Configuration

    • For Telephony and Teams, speech resources (region/token) are managed by the channel and Azure Bot Service.
    • You do not need to manually configure Speech SDK tokens; the channel handles speech-to-text (STT) and text-to-speech (TTS) for you.

    3. Limitations vs. Speech SDK DialogServiceConnector

    • Streaming audio, barge-in, and partial hypotheses are not fully supported in Teams/Telephony channels.
    • These channels provide basic voice-to-voice experiences but lack advanced features like:
      • Real-time streaming audio
      • Barge-in (interrupting the bot while it’s speaking)
      • Partial recognition results (partial hypotheses)
    • For these advanced features, only the Direct Line Speech channel with a Bot Framework SDK bot is supported—not Copilot Studio agents.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 594

#2
chiaraalina Profile Picture

chiaraalina 170 Super User 2026 Season 1

#3
deepakmehta13a Profile Picture

deepakmehta13a 118

Last 30 days Overall leaderboard