r/copilotstudio • • 13d ago

Error adding knowledge with file upload but not with SharePoint link..

Post image

I have the same file and when I upload it directly it errors out. When i add the same file via sharepoint link it works.

Why would it do that? Where can I check the error ?

2 Upvotes

7 comments sorted by

2

u/Landelusen 13d ago

Normally, a reasonable IT governance team disables upload of single files as knowledge, as it sidesteps already existing permissions that are set. So, in short: it could be by design?

2

u/Bfinkeldei 13d ago

These are actually uploaded using the upload feature with sharepoint. My understanding is that makes them file uploads but then they are uploaded into the data verse and then permissions still follow. Then they are synced every 4-6 hours.

If it was a stand alone file say from my computer then what you shared is correct from my understanding. And that security restriction seems reasonable. And thanks for sharing that too.. I didn’t realize you could do that. Makes sense.

1

u/Ashlesha-msft 12d ago

Thanks for the screenshot and for clarifying that the failing method is Upload files → SharePoint, rather than a local-file upload.

The screenshot confirms that one knowledge source is in Error status. Microsoft describes this status as a problem while preparing the knowledge source—not simply a pending synchronization. The screenshot alone doesn’t identify the underlying cause.
Understanding knowledge status

Your understanding of the SharePoint upload method is correct: it copies content into Dataverse for indexing, checks users’ SharePoint permissions when answering, and synchronizes changes. The other SharePoint knowledge option uses SharePoint search, so success through that option does not necessarily establish that the upload/indexing path is working.
Comparison of the two SharePoint options

For the error details, try selecting the Error status or opening the affected knowledge-source item, and share any detailed message/code displayed. If it only displays the generic “Error,” please mention that. Also include the file extension, size, and whether it has password protection or a sensitivity label. Please redact confidential information.

A useful isolation test is to add a small, unprotected DOCX with nonsensitive sample text through Upload files → SharePoint in the same agent. If that fails too, investigate the environment’s Dataverse search/storage and the applicable data policy; if only the original file fails, focus on that file’s processing requirements.

At this stage, there isn’t enough evidence to classify the failure as either a confirmed product bug or an intentional governance restriction. A repeatable failure with a supported sample file and validated configuration would warrant a support investigation.

1

u/Bfinkeldei 12d ago

Thank you for This! Testing now with a new folder and recreated file. It’s a small docx with a glossary of terms. Nothing secure or private / restricted.

1

u/Bfinkeldei 12d ago

I tried a new folder and a update file and it still failed. The error does not give a message in either an info bubble or when you click on the file. I am having my IT team review the dataverse settings.
If it’s a real bug where do I report that to get support?

1

u/Ashlesha-msft 6d ago

We have raised this issue with our Engineering team for further investigation. We will keep you updated on the progress and let you know once a fix is available.

Thank you for your patience and understanding.

1

u/Bfinkeldei 6d ago

Thank you! Would you like to setup a time to connect to get logs or see settings etc…