web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Unable to add SharePoi...
Copilot Studio
Answered

Unable to add SharePoint document library as Knowledge Source to Copilot Studio Agents

(2) ShareShare
ReportReport
Posted on by 23
In the recent few days I am unable to add SharePoint document library as a Knowledge source to agents created in copilot studio. When I try to do so I get an error message saying "We couldn't retrieve complete metadata for this item.".  Any lights on solving this issue would be helpful.
Categories:
I have the same question (0)
  • Suggested answer
    Romain The Low-Code Bearded Bear Profile Picture
    2,558 Super User 2026 Season 1 on at
    hello
     
    there are two way to add sharepoint as knowledge source in copilot studio full agent :
    The 1 in the screen is most common case and totally support document library
    The 2 in the screen aslo support content from document library as here in the source https://learn.microsoft.com/en-us/microsoft-copilot-studio/knowledge-add-unstructured-data#add-sharepoint-files-and-folders but you canno't target the root, you have to target a folder inside the document library.
     
    could you tell us wich one you was trying and eventually provide a screenshot of the screen of the error.
     
    Did you also check if can connect to the library by yourself, is there any pureview label protecting the content ?
    Could you also try in a new agent, in very very very rare case, old agent could have problem.
     
    If this help to solve the case please check the answer has verified it help a lot the community :)
  • sriram_v Profile Picture
    23 on at
    I am trying to use Option 1 but unable to point to whole sharepoint library. However if I point to a folder it works Below is the screen shot of the error message
     
  • Verified answer
    Romain The Low-Code Bearded Bear Profile Picture
    2,558 Super User 2026 Season 1 on at
    ok i confirm : there was a silent update from Microsoft, wich oblige to use folder
     
    here i will show in my agent
     
    first : i try to reproduce you'r case: same error
     
     
    and here the same document library, added to another agent 2 month ago
     
     
    so Microsoft made a silent update and force people to use folder for both solution, it's software lock to refuse the root of document library at the moment
     
    hum interesting, i didn't notice before because , since i making agent everyday, i recommand to don't use the "root" of document library.
    I recommand to have at least few folder in document library and add few sharepoint knowledge source for each of those folder, it will allo you to teach the agent wich folder are "what for" because the orchestration use the folder description in the agent. So to my mind , for the way i do agent, it's not a big deal (but i understand it could be frustrating)
     
    i deeply recommand to use few folder and add few knowledge source sharepoint for roots folder, it really help the agent to give better result with understanding of the content :)
     
     
    So "WHY" you have this error :) ?
     
    my opinion since i m not a MSFT insider :)
     
    recently we got this update in sharepoint knowledge source :
     
     
    wich allow to have filter.
     
    technicaly : folder are based on the same technical "element" called the "ITEM" (it's a technical part of the sharepoint element since sharepoint is a things 20 years ago)
     
    But a document libary is something else -> so it's impossible to apply those filter on the element "document libary", only on folder and "document". 
     
    so this explain totaly the error message and the bug :) i think soon microsoft will correct the error message :)
     
    if this help to resolve you'r case please mark the answer as verified it's important for the community
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 419

#2
chiaraalina Profile Picture

chiaraalina 122 Super User 2026 Season 1

#3
deepakmehta13a Profile Picture

deepakmehta13a 60

Last 30 days Overall leaderboard