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 / IntegratedAuthenticati...
Copilot Studio
Suggested Answer

IntegratedAuthenticationNotSupportedInChannel when using Direct Line

(0) ShareShare
ReportReport
Posted on by 2
Our application talks to a Copilot Studio agent over the Direct Line channel. We recently changed end-user authentication in Copilot Studio from manual authentication to Microsoft authentication (Entra ID in Teams, SharePoint, Power Apps, or Microsoft 365 Copilot).
When we send a chat message via Direct Line, the bot responds with:
Sorry, something unexpected happened... Error code: IntegratedAuthenticationNotSupportedInChannel
Question: Does Microsoft authentication (the integrated Entra ID option in Copilot Studio) not support conversing with the agent through Direct Line? If Direct Line is still supported, what configuration is required (e.g., OAuth card flow, app registrations, channel settings) so that a custom client using Direct Line can complete sign-in successfully?
I have the same question (0)
  • Suggested answer
    frago Profile Picture
    226 on at
    Hi
    No. “Authenticate with Microsoft” (integrated Entra ID) in Copilot Studio does not work with the Direct Line channel. Direct Line simply does not support this authentication mode, which is why you see
    IntegratedAuthenticationNotSupportedInChannel.

    What this means in practice:
    Integrated Microsoft authentication works only in Teams, M365 Copilot, SharePoint, Power Apps
    It does not work over Direct Line
     
    If you want to keep using Direct Line:
    You must switch the agent to Authenticate manually
    Handle sign-in yourself (e.g. MSAL in your app)
    Complete the OAuth card / token exchange flow via Direct Line
     
    If you want native Entra ID SSO (no OAuth cards):
    Do not use Direct Line
    Use Microsoft 365 Agents SDK, which supports Authenticate with Microsoft
     
    Summary:
    Direct Line → manual auth only
    Microsoft (integrated) auth → Agents SDK, not Direct Line
     
     
    ------------------------------------------------------------
    If this solved your issue, please mark it as ✅ Accepted Answer.
    If it helped, feel free to give it a 🩷 Like!
     
    Best regards,
    Piotr
     
     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 277

#2
11manish Profile Picture

11manish 206

#3
sannavajjala87 Profile Picture

sannavajjala87 156 Super User 2026 Season 1

Last 30 days Overall leaderboard