Skip to main content

Notifications

Community site session details

Community site session details

Session Id : E/ebp/oimF/xdbyRVJAtPo
Copilot Studio - General
Unanswered

Copilot studio / PVA keep asking to sign in.

Like (0) ShareShare
ReportReport
Posted on 10 Dec 2023 20:23:38 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:
  • saraxcopilot Profile Picture
    47 on 13 May 2024 at 13:05:09
    Re: Copilot studio / PVA keep asking to sign in.

    Hello, I just changed the setting to "Authenticate with Microsoft" and it seems to be working.

  • danjar Profile Picture
    18 on 08 May 2024 at 20:28:58
    Re: Copilot studio / PVA keep asking to sign in.

    Hi, were you able to get this resolved? I have all of my authentication and SSO set up to the documentation, but I am still getting this login loop (in Teams). In the test pane in copilot studio, I can get farther than just the login response, but I don't get generative responses.

  • TV-03050653-0 Profile Picture
    35 on 29 Apr 2024 at 12:15:00
    Re: Copilot studio / PVA keep asking to sign in.

    Hello, I'm also facing this issue. Please share if/how it's fixed?

  • citron-truc Profile Picture
    389 on 12 Apr 2024 at 15:33:47
    Re: Copilot studio / PVA keep asking to sign in.

    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.

  • saraxcopilot Profile Picture
    47 on 12 Apr 2024 at 15:15:05
    Re: Copilot studio / PVA keep asking to sign in.

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

  • Evaneezy1 Profile Picture
    21 on 09 Apr 2024 at 19:18:49
    Re: Copilot studio / PVA keep asking to sign in.

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

  • adilei Profile Picture
    on 09 Mar 2024 at 20:32:28
    Re: Copilot studio / PVA keep asking to sign in.

    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?

  • SamirPathak Profile Picture
    on 09 Mar 2024 at 12:26:34
    Re: Copilot studio / PVA keep asking to sign in.

    @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 17 Dec 2023 at 17:25:21
    Re: Copilot studio / PVA keep asking to sign in.

    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 17 Dec 2023 at 17:08:20
    Re: Copilot studio / PVA keep asking to sign in.

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

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

Overall leaderboard