web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Can't generate answers...
Copilot Studio
Answered

Can't generate answers from Sharepoint using Generative AI

(0) ShareShare
ReportReport
Posted on by 12

Bot doesn't provide any information about the documents (word and pdf) I saved in my SP.  I created another bot but this time using uploaded documents (same ones saved in SP) instead and this process works.  All permissions were properly set as I am able to sign in using the prompt.

 

How do I resolve this?

 

P.S.  another bot has no issues generating answers coming from a public website

Categories:
I have the same question (0)
  • adilei Profile Picture
    Microsoft Employee on at

    Gen Answers over SharePoint relies on Graph search, so if Graph API does not return any results, the copilot will not respond. See here on how to diagnose if that is the case. I suggest you share the app registration details and copilot authentication settings just in case.

  • jovson Profile Picture
    12 on at

    I think it might be the Admin consent set currently to "No"?  Here are the current details:

     

    jovson_1-1702993667923.png

     

     

    jovson_0-1702993555477.png

     

  • adilei Profile Picture
    Microsoft Employee on at

    See here: Generative answers with Search and summarize - Microsoft Copilot Studio | Microsoft Learn

     

    You are missing two scopes in your app registration and copilot authentication settings: Files.Read.All and Sites.Read.All

     

    Without those scopes Copilot Studio will not be able to call graph search on behalf of the user.

  • jovson Profile Picture
    12 on at

    I followed the steps in ms learn and those were the only items to be checked.

     

    jovson_0-1703003004606.png

     

    I'll give it a try and see how it goes.

     

    Do I need Admin consent to these 2 scopes as well?

     

    jovson_1-1703003219350.png

     

  • Verified answer
    adilei Profile Picture
    Microsoft Employee on at

    Yes, consent is needed for those additional scopes as well. 

  • jovson Profile Picture
    12 on at

    It worked!  Thank you!

  • kush-sg Profile Picture
    on at

    I'm encountering a similar problem where my co-pilot can't access the site files. During the app registration process, I enabled scopes [Files.Read.All, Sites.Read.All, and openid] , but I overlooked adding User.Read and profile scopes. Could this omission be the reason my co-pilot isn't functioning?

    Thanks in Advance

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 837

#2
Vish WR Profile Picture

Vish WR 294

#3
Haque Profile Picture

Haque 256

Last 30 days Overall leaderboard