Skip to main content

Notifications

Copilot Studio - Topic Creation & Management
Answered

Sign in topic doesn't work

Posted on by 37

Hello !

I successfully set up working deployment of Copilot Studio copilot with Manual authentication. I got 'Login' option, was redirected to webpage where I received code, pasted code to bot and it worked. I even added the app to MS Teams(with .zip) and it worked:

 

MarkShark_1-1712607253450.png

 

Suddenly I receive this message:

---------------------------------------------------------------------------------------------------------------------------------------

Sorry, something went wrong. Error code: SystemError. Conversation ID: 642bc33e-a49c-468c-981d-30854e7c4021. Time (UTC): 4/8/2024 8:05:28 PM.

 

MarkShark_2-1712607297847.png

 

I suppose something is wrong with Authenticate node in Sign in Topic.

 

Any suggestions ?

  • johnnnn Profile Picture
    johnnnn 4 on at
    Sign in topic doesn't work
    Hi MarkShark, were you able to find a solution to this? I'm having the same problem where I set up auth manually, input the correct Client ID and Client Secret from App Registrations on Azure and everything worked. Now all of a sudden, I'm getting:

    "Hello! To be able to help you, I'll need you to sign in."

    "Sorry, something went wrong. Error code: SystemError."

    If you can help me out, that'd be great, thanks!
    John
  • adilei Profile Picture
    adilei on at
    Re: Sign in topic doesn't work

    And I already agreed this should be fixed 🙂

  • MarkShark Profile Picture
    MarkShark 37 on at
    Re: Sign in topic doesn't work

    OK, but is written "For AAD application's client ID, enter the Application (client) ID from your app registration." but on the image Resource URI is marked instead of AAD application's client ID.

  • adilei Profile Picture
    adilei on at
    Re: Sign in topic doesn't work

    So it's Client ID that needs to be highlighted in the first image and not Resource URI? Got it - let's see if we can fix it. 

     

    Otherwise, I would not use the App Registration that is created by default. That app registration has a different purpose.

  • MarkShark Profile Picture
    MarkShark 37 on at
    Re: Sign in topic doesn't work

    Image in red mark is wrong, it's the same like image in green mark. Text is about Application Client ID, image shows Resources URI.

    MarkShark_0-1712662096954.png

     

  • adilei Profile Picture
    adilei on at
    Re: Sign in topic doesn't work

    Why is it wrong?

  • MarkShark Profile Picture
    MarkShark 37 on at
    Re: Sign in topic doesn't work

    @adilei thank you very much for your help. Your general answer is a way to go but I really miss comprehensive user guide it's kind of tricky combining different parts. I imagine that very common use case will be: 1. Create a bot, 2. Connect it to Teams, 3. Give it Sharepoint resource(s). To set correct permissions you really have to crawl around the documentation.

    In my case, I didn't have to do manual app registration in Entra ID - it's been already created when you create Copilot. This for example, I didn't see written anywhere. When I used this automatically created app registration (named "ChatBot Test(Power Virtual Agent)") and configured it according to the documentation it worked 😁 !

     

    Little reminder - the official documentation has wrong image here: https://learn.microsoft.com/en-us/microsoft-copilot-studio/configure-sso-teams#add-sso-to-your-bots-microsoft-teams-channel

  • adilei Profile Picture
    adilei on at
    Re: Sign in topic doesn't work

    Is there any logic in your conversation start or greeting topics that may fail?

  • MarkShark Profile Picture
    MarkShark 37 on at
    Re: Sign in topic doesn't work

    Thank you @adilei. I missed provided instructions. Now I thoroughly followed it but same error still immediately when I open the copilot in Copilot Studio:

    MarkShark_0-1712645317432.png

    Regards, Marko



  • Verified answer
    adilei Profile Picture
    adilei on at
    Re: Sign in topic doesn't work

    When setting up SSO with Teams correctly, you should not be getting the sign in card. Signing-in should be seamless. Did you follow the instructions here? 

     

    Configure single sign-on for the Microsoft Copilot Studio app in Teams - Microsoft Copilot Studio | Microsoft Learn

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,297

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,890

Leaderboard

Featured topics