Copilot on Sharepoint

Filippo D'Annibale 0 Reputation points
2025-04-29T10:06:28.2+00:00

I created a Copilot Agent on a Sharepoint Repository. I ask to Copilot to list all the word documents in the repository. I know there are several word documents in repository's folders.

The answer is completely wrong. Copilot lists some documents that are in the repository, but the list is far away to be complete.

Microsoft Copilot
Microsoft Copilot
Microsoft terminology for a universal copilot interface.
815 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Smit Agrawal 0 Reputation points Microsoft External Staff
    2025-04-30T06:05:52.2866667+00:00

    Hi,Thanks for asking your query,Please try the following:

    --Try More Specific Prompts: Ask Copilot something like:

    --Use Advanced Search or Query: Use SharePoint’s advanced search or directly query the document library with filters like *.docx.

    --Check Search Schema: If you’re an admin, ensure that content types and document libraries are configured to be crawled and indexed.

    --Manual Graph API Query (for Developers): If you're technically inclined or have dev resources, you can use the Microsoft Graph API to recursively list all files.

     

    Thanks, 

    Smit Agrawal

    ************************************************************************* 

    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Copilot Developer Feedback link. Click here to escalate.

     

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.