Forum Discussion
Copilot Notebooks cannot access OneDrive References
Summary
When attempting to add a OneDrive folder or file as a reference in Microsoft Copilot Notebooks, the OneDrive file picker opens but does not display any content.
The picker remains empty and eventually displays:
"Couldn't complete that action. Please try again."
OneDrive itself works normally in a separate browser tab using the same Microsoft account.
Environment
Product: Microsoft Copilot Notebooks
Account type: Microsoft 365 Family (personal Microsoft account)
Storage: Personal OneDrive
Browser: Microsoft Edge
Also tested: Vivaldi
Extensions: Disabled (including uBlock Origin)
Steps to Reproduce
- Open a Copilot Notebook.
- Click Add References.
- Select OneDrive.
- Open My Files or Recent.
- Observe that no files or folders are displayed.
Expected Result
The OneDrive file picker should display the user's files and folders and allow them to be added as notebook references.
Actual Result
- My Files is empty.
- Recent is empty.
- The dialog displays:
- "Couldn't complete that action. Please try again."
- No files or folders can be selected.
DevTools Findings
Request
GET https://api.onedrive.com/v1.0/drive/view.recent
Response
401 Unauthorized
Request
POST https://api.onedrive.com/v1.0/drive/items/root
Response
401 Unauthorized
Response Body
{
"error": {
"code": "unauthenticated",
"message": "Must be authenticated to use '/drive' syntax."
}
}Additional Errors
GraphError
Must be authenticated to use '/drive' syntax
ItemOperationError
Must be authenticated to use '/drive' syntax
Uncaught (in promise) ItemOperationError
Must be authenticated to use '/drive' syntax
After the failed request the file picker throws:
TypeError: object is not iterable
The error originates from:
odcfilepicker.js
Additional Information
- OneDrive works correctly when opened directly.
- The same Microsoft account is used.
- The issue persists in Microsoft Edge.
- Browser extensions were disabled.
- The file picker appears unable to authenticate when accessing /drive/items/root despite the user already being signed in.
Possible Root Cause
The embedded OneDrive File Picker used by Copilot Notebooks appears not to receive or accept a valid authentication context when accessing personal OneDrive drives.
The JavaScript errors appear to be secondary failures caused by the authentication failure.
Impact
Users with Microsoft 365 Family and personal Microsoft accounts are unable to add OneDrive files or folders as Notebook References.
This prevents maintaining notebook knowledge in OneDrive and using it as a data source for Copilot Notebooks.
Questions
- Are OneDrive References officially supported for Microsoft 365 Family / personal Microsoft accounts?
- Is this a known issue?
- Is a workaround available?
- Is the issue already being tracked by engineering?
Consistency Check
OneDrive itself works, the file picker opens, requests are sent to the OneDrive API, but /drive/items/root and /drive/view.recent return 401 Unauthorized with the message:
"Must be authenticated to use '/drive' syntax"
After that, odcfilepicker.js throws follow-up exceptions, suggesting an authentication failure between Copilot Notebooks and the embedded OneDrive file picker rather than a OneDrive access problem.
2 Replies
Your OneDrive works directly, but the notebook picker returns 401 before it lists files, so an empty picker should not be treated as an empty drive. Microsoft’s November-updated “Add references to your Microsoft Copilot Notebook” article now explicitly includes Microsoft 365 Family subscribers and documents the OneDrive reference option. The separate organizational licensing table applies to work or school accounts, so it should not establish a personal-account exclusion. First confirm you are the Family subscription owner and that Copilot and OneDrive use that same personal account. As a temporary alternative, download one supported document and use Add references > Upload; verify its contents are available to the notebook. That bypasses the failing picker, rather than repairing its authentication. I cannot confirm an official known-issue notice, engineering tracking or a fix date for these 401s. Submit the reproduction and timestamps through Copilot feedback, keeping tokens and personal file details private.
- benibixBrass Contributor
Hi MichaeNie
Your 401s point to the picker never getting a token for your personal drive, so it's an account problem and not something in your browser. I can't confirm that from here, but the Learn unit on building a first notebook describes the whole flow as signing in with a work or school account, and says a Microsoft 365 Copilot licence plus a SharePoint or OneDrive licence is required. A Family subscription isn't on that list, so personal OneDrive references may simply not be supported yet. I couldn't find a Microsoft page that says either way for Family.
The workaround from that same unit is Add reference › Upload, which takes files straight from your device. Download the files from OneDrive first and upload them, or sync the folder locally. Which surface are you using, copilot.microsoft.com or OneNote? That would show whether it's the same picker.