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 :
Copilot Studio - General
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Not able to get SSO work for chatbot in copilot studio for web

Posted on by
I tried to build a chat bot for my website but I am having trouble to get SSO work. it keeps asking me to Login to Get a Code,  even I have already signed in. 
I have 2 App registrations and I made the Teams work. and the Demo site work by using a code (as expected). Then I need to get the chatbot to work on my SharePoint site and don't force a user to Please enter this validation code into the chat window to complete the sign-in.
 
I used this sample code and my custom website.
 
Even I changed 3 values. clientId, authority, bot ID URL,
 
The chatbot still asks me to click the Login button to get a code.
 
I looked the Sign-in logs and found there is no sing-ins found in one of my App registrations. I don't know why the web script doesn't call that. Not sure what else I should look into. thanks for your time.
 

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Copilot Studio

#1
Mohsin Ali Profile Picture

Mohsin Ali 520

#2
M Bilal Khan Profile Picture

M Bilal Khan 287

#3
11manish Profile Picture

11manish 247 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics