Notifications
Announcements
I am building a PVA Bot in copilot studio and using OAuth2 Authentication and SharePoint as Data source. Bot keeps asking me
"Hello! To be able to help you, I’ll need you to sign in" even after entering validation code.
Is your sign in topic triggered somehow? For example, is there a topic redirecting to sign-in?
Hi @adilei The behavior is inconsistent and singin works sometime or if delate and recreate bot. However I am not seeing issue when accessing BOT from teams.
Where are you seeing this behavior? On the testing canvas? A custom website?
Also, did you set up SSO for Teams or simply published your copilot to Teams?
Both testing canvas and test website option from copilot studio. No i have not set up any sso , just published in teams channel.
Can you share the app registration details and copilot authentication settings?
SSO in Teams or Web requires a specific setup, otherwise it's not going to work:
1 .Configure single sign-on for the Microsoft Copilot Studio app in Teams - Microsoft Copilot Studio | Microsoft Learn,
2. Configure single sign-on with Microsoft Entra ID - Microsoft Copilot Studio | Microsoft Learn
@adilei its still keeps asking to login in testing canvas. Asking to copy validation code. Upon entering validation code again asks To continue, please login
Maybe your sign-in topic is getting re-triggered? Can you switch tracking to "on" and verify?
Also, can you share a screenshot of your copilot's security settings with the sensitive details removed?
Yeah, I've meticulously followed the instructions for setting this up in our tenant and can confirm. It does not work
Hello, were you able to find a solution? I'm facing the same issue now
Hello,I had something similar but solved it in the following way :- The error was triggered because I had a topic that triggered on each input that would intercept the user question and use generative AI to solve it.- When I sent my code to validate my login, the message was triggered by the topic described up above.- Since I wasn't logged in, the generative answer node would fail (I couldn't access charepoint).- Since I failed, the copilot restarted the login operation.And so on...Try checking that you have no topic that intercepts your login credentials (exemple : topics which trigger on every input) and try to check that you are not using login info before logging the user in (example : saying "hi [username]" before you even know the username.Hope it helps.Have a great day.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 265 Super User 2025 Season 2
Romain The Low-Code... 240 Super User 2025 Season 2
S-Venkadesh 101 Moderator