Building and customizing solutions using Microsoft 365 Copilot APIs and tools
Copilot Notebooks supports OneDrive folders as references, but it does not guarantee exhaustive recursive retrieval or enumeration of every file; try adding the same folder through Link using its OneDrive URL, then escalate the reproducible failure if the contents remain unavailable.
Supported behavior and limits
- In Notebook → Add references, Microsoft supports selecting an entire OneDrive folder. Copilot can use supported files in an added folder that the signed-in user has permission to access.^1^
- Folders are supported entities for Microsoft Copilot work/school users.^2^
- When a shared location such as a folder or site is referenced, Copilot considers accessible files and selects up to 300 files most relevant to the prompt. This is relevance-based grounding, not a folder-browsing API that guarantees listing every item. Microsoft recommends directly adding a file when it must always be included.^3^
- The documentation does not explicitly define recursive traversal depth, guarantee that every nested subfolder is searched, or state that Notebooks can enumerate a folder tree on request. Therefore, folder support should not be interpreted as a documented guarantee of exhaustive recursive retrieval.
The separate Copilot in OneDrive limitation that “Folder Q&A is not currently supported” applies to the Copilot experience inside OneDrive, not to Copilot Notebooks, whose documentation explicitly supports folder references.^4^
Recommended workaround
Since the folder picker already accepted the folder but grounding fails, add the same location through the other supported reference method:
- Open the folder in OneDrive on the web.
- Copy the folder’s organizational OneDrive URL.
- Open the notebook’s Content pane.
- Select Add references → Link.
- Paste the folder URL and select Add.
- Test with a specific prompt containing the exact filename and a distinctive phrase expected inside it.
Microsoft documents Link as supporting URLs for organizational OneDrive and SharePoint documents or folders.^1^ The directly matching Microsoft Q&A report also records this URL-based approach as the suggested workaround, although it does not contain an accepted or recommended answer confirming that it resolves every case.^5^
Configuration and permissions
Microsoft does not document a separate Notebook indexing switch, folder authentication flow, or administrator setting that must be enabled after a OneDrive folder has been added. The documented requirements are:
- The account must have a SharePoint or OneDrive service plan.
- The user must have access to the referenced content.
- The documents must use supported formats, including
.docx,.pptx,.xlsx,.pdf,.loop,.page, and supported text or OneNote content.^1^
Ordinary Microsoft 365 Copilot finding the same documents indicates that they are searchable and accessible to your account. It does not prove that the Notebook’s scoped folder reference selected those files for grounding.
A folder appearing in the reference list confirms that the reference was registered; it does not confirm that every descendant file was selected or retrievable. The 300-file grounding selection can also exclude a particular document, especially in a large hierarchy.^3^
Escalation
If the URL reference also fails, submit both in-product feedback and an organizational Microsoft support case:
- In Copilot, select Settings and more → Feedback.
- Include:
- Tenant type and Copilot license.
- Notebook URL or identifier, without posting it publicly.
- OneDrive folder depth and approximate file count.
- Exact filename and file type used for testing.
- Confirmation that the same account opens the file directly.
- Confirmation that Microsoft 365 Copilot search finds it.
- Results for both OneDrive picker and Link reference methods.
- Timestamp, time zone, screenshot, and the exact “file was not found” response.
There is no documented folder-preserving workaround guaranteed to include every file. The URL method is the closest supported alternative; otherwise, direct attachment is currently the only documented way to guarantee inclusion of a particular file, subject to the Notebook grounding limits.
References
- Add references to your Microsoft Copilot Notebook | Microsoft Support
- Get answers and insights about your Microsoft Copilot Notebook | Microsoft Support
- How Microsoft Copilot Notebooks works | Microsoft Support
- Frequently asked questions about Copilot in OneDrive | Microsoft Support
- Copilot Notebook: OneDrive folder reference returns “file was not found”, while individual files work - Microsoft Q&A