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:
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.
I suppose something is wrong with Authenticate node in Sign in Topic.
Any suggestions ?
And I already agreed this should be fixed 🙂
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.
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.
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.
Why is it wrong?
@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
Is there any logic in your conversation start or greeting topics that may fail?
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:
Regards, Marko
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?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.