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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Copilot studio / PVA k...
Copilot Studio
Unanswered

Copilot studio / PVA keep asking to sign in.

(0) ShareShare
ReportReport
Posted on by

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.  

Categories:
I have the same question (0)
  • adilei Profile Picture
    on at

    Is your sign in topic triggered somehow? For example, is there a topic redirecting to sign-in?

  • SamirPathak Profile Picture
    on at

    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.

  • adilei Profile Picture
    on at

    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?

  • SamirPathak Profile Picture
    on at

    Both testing canvas and test website option from copilot studio. No i have not set up any sso , just published in teams channel.

  • adilei Profile Picture
    on at

    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

  • SamirPathak Profile Picture
    on at

    @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

    SamirPathak_0-1709993641862.png

     

  • adilei Profile Picture
    on at

    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?

  • Evaneezy1 Profile Picture
    21 on at

    Yeah, I've meticulously followed the instructions for setting this up in our tenant and can confirm. It does not work

  • saraxcopilot Profile Picture
    47 on at

    Hello, were you able to find a solution? I'm facing the same issue now

  • citron-truc Profile Picture
    394 on at

    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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

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

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 265 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard