Our application talks to aCopilot Studio agent over theDirect Linechannel. We recently changed end-user authentication in Copilot Studio frommanualauthenticationtoMicrosoftauthentication(Entra IDin 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: IntegratedAuthenticationNotSupportedInChannelQuestion:DoesMicrosoft authentication(the integrated Entra ID option inCopilot Studio)not supportconversing withthe agent throughDirectLine? If Direct Line is still supported, what configuration is required (e.g., OAuth card flow, appregistrations, channel settings) so that a custom client using Direct Line can complete sign-insuccessfully?
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
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.