Forum Discussion

vassp1980's avatar
vassp1980
Copper Contributor
Oct 17, 2024

Unable to authenticate in Copilot Studio despite configuring in azure AD & Copilot security settings

Hello guys,

I intend to setup Copilot studio to give answers from the connected SharePoint Site using Generative AI.  I followed the steps detailed in these two links for setting up manual authentication

 

So as per the recommendations, I have done following : 

-Setup app registration
-grant admin consent to the app
-copy the client id and secret (to paste into the chatbot configuration)
-Published the chatbot after setting "manual authentication" (Requires sign in)
 
Now when I try to interact with the chatbot (in chat window), it asks me to sign in. When I click "sign in"., it asks to copy a code. When I do that, it keeps showing the "please sign in" prompt over and over again, instead of letting me in.

1. I am already signed in to copilot studio using the intended user account
 


2. Here is the settings in the "Security" Section in Copilot studio

 

3. Here is the settings in AAD 

 

4. However when I publish the bot, and try to interact with it, it keeps prompting me with the below screen (to enter access code to sign in). If I click "login" below, it asks me to copy a code. Then if I copy and put code into chat, it come back to below screen and it keeps prompting me same as below.



5. Also in Azure, I have ensured admin has consented following

 

Here is scope

 


Can you please advice what is it that I am missing? 




 
No RepliesBe the first to reply

Resources