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 / Integrating Copilot St...
Copilot Studio
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

Screenshot 2025-11-17 112426.png
I have the same question (0)
  • sannavajjala87 Profile Picture
    224 Super User 2026 Season 1 on at

    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

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 850

#2
Vish WR Profile Picture

Vish WR 324

#3
Haque Profile Picture

Haque 296

Last 30 days Overall leaderboard