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

Community site session details

Session Id :
Copilot Studio - Publish & Channel Management
Unanswered

Integrating Copilot Studio Agent into a Web App Using Agents SDK Without User Sign-In

(0) ShareShare
ReportReport
Posted on by

I want to integrate my Copilot Studio agent into a web application using the Agents SDK. The official documentation provides a method called “Connect to Copilot Studio with Agents SDK User Sign-in”, which requires end-user authentication. However, in my use case, I need the agent to be accessible to end-users without requiring sign-in.

I’m aware that the “Default Web Chat Embed Code” method can achieve this, but it does not allow customization of the chat UI, which is a requirement for my application.

Has anyone implemented a similar scenario? If yes, please share your approach or suggestions

Categories:
I have the same question (0)
  • sannavajjala87 Profile Picture
    143 on at
    Integrating Copilot Studio Agent into a Web App Using Agents SDK Without User Sign-In

    Hi,

    Right now, the Agents SDK requires user sign-in, so it can’t be used anonymously. That’s why your custom web app can’t embed the agent without forcing users to authenticate.

    Your options today are:

    Default Web Chat Embed (No Authentication)

    • Works without sign-in
    • Very limited UI customization

    DirectLine (legacy but still supported)

    • Allows full custom UI
    • Can be used without user sign-in
    • Requires a small backend to generate DirectLine tokens

    Agents SDK (recommended long-term)

    • Full customization
    • Requires user login no anonymous mode right now

    So at the moment, if you need custom UI + no sign-in, the only supported way is to use DirectLine, not the Agents SDK.

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

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Copilot Studio

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 304 Super User 2025 Season 2

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 224 Super User 2025 Season 2

#3
Sam_Fawzi Profile Picture

Sam_Fawzi 78 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics