
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
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)
DirectLine (legacy but still supported)
Agents SDK (recommended long-term)
So at the moment, if you need custom UI + no sign-in, the only supported way is to use DirectLine, not the Agents SDK.