The process of building custom applications and tools that interact with Microsoft SharePoint, including SharePoint Online in Microsoft 365.
Dear @Rohit Budha Borse
Thank you for providing the detailed information. I understand that the agent intermittently fails to retrieve content from its configured SharePoint knowledge sources and may fall back to a generic response.
To narrow down where the issue is occurring, could you please provide the following details?
- Does the issue occur with SharePoint sources only, or does it also occur when the same document is added directly as an attachment to the agent?
- Please provide the name of one affected document and its file type (for example, PDF or DOCX).
- Approximately how large is the affected file in MB/GB, in addition to the page count?
- When the issue occurs, does the agent consistently fail to retrieve information from the same document, or does it vary between different documents?
- Please provide one exact prompt that reliably reproduces the issue, along with:
- The agent’s response when retrieval succeeds
- The agent’s response when retrieval fails
- Does the agent show the SharePoint source as successfully configured/available, or is there any indication that the source is still being processed or indexed?
- Does the problem affect all users who can access the agent, or only a particular user?
These details will help determine whether the behavior is related to knowledge-source configuration, document indexing/retrieval, document size/content, or the agent itself, rather than treating all failures as a single issue.
If possible, please start with one specific document and one reproducible prompt. That will make it much easier to isolate the problem.