Hi,
I'd like to create a bot that uses generative answers using public sites and a SharePoint, including both pages and files. Everything works fine except for SharePoint files.
Here an example.
This is a SP page:
and this is the SP file:
When I ask to my bot about Mario's pen, it is aware of it, but when I ask about his car, it doesn't give me an answer:
I tried the solutions in Microsoft Documentation with the Manual Authorization and Files.Read.All Sites.Read.All in the scope, but it didn't work.
I also checked other community post, but the solution was not helpful to me.
In addition I can give you informations concerns files authorization, but it seems to be correct.
Can you help me, please? Thank you.
I've solved the issue.
The mistake was about the file format. In this link I found an information about supported file format:
I replaced the txt file with a docx and my Copilot bot was able to find it:
Thank you for your support.
Sorry, didn't see the "forbidden" error. You probably need to work with whomever it is who has admin permissions on the Graph Explorer app in your tenant (under "Enterprise Applications").
Yes, but if there is an authorization issue, the string doesn't matter, right? Maybe it doesn't give a result, but I think I have to solve the authorization issue. Have you got any idea how to solve my problem?
Thank you
Graph explorer should help you test whether Graph API is returning results. You should change SEARCH TERMS with the actual terms you are searching for 🙂
Hi,
I followed these steps for the settings:
Here the Post with Graph Explorer:
I don't know if it's correct.
Let me know. Thank you so much.
1. Can you share the configuration of your app registration and copilot authentication settings?
2. Run your queries via Graph Explorer and see if any results are returned: Re: PVA Generative Answers and no content from Sha... - Power Platform Community (microsoft.com)
Michael E. Gernaey
468
Super User 2025 Season 2
stampcoin
52
Super User 2025 Season 2
trice602
46
Super User 2025 Season 2