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 ?
Hey @MarkShark, I've managed to fix the issue. It's a little frustrating given that the Copilot Studio message itself doesn't provide much valuable information besides "Something went wrong".
But after some poking around, I was able to see more details about the error by downloading a snapshot of the conversation. The error lies in the "Sign In" action:
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?