Context Grounding Index - Connector fails with "Internal error downloading file" for personal OneDrive txt files

Hi UiPath Community,

I am working on the Agentic Automation certification
and facing an issue with Context Grounding Indexes.

PROBLEM:
When creating a Context Grounding Index using
Microsoft OneDrive & SharePoint Connector, all files
fail with “Internal error downloading file” error.

MY SETUP:

  • UiPath Agents - Context Grounding Indexes
  • Data Source: Connector
  • Connector: Microsoft OneDrive & SharePoint
  • Orchestrator Folder: Shared
  • File location: Personal OneDrive
  • File type: txt
  • Files sharing set to “Anyone with link”

WHAT I TRIED:

  • Created multiple new connections under Shared folder
  • Changed file sharing to “Anyone with link”
  • Tried different connections - all fail same error

INGESTION RESULT:

  • Succeeded: 0
  • Failed: 5
  • Error: “Internal error downloading file”

QUESTION:
Is personal OneDrive supported for Context Grounding
Indexes via Connector? If yes, what permissions are
needed?

Thanks!




Hello @gouthamk,

  • If “Personal OneDrive” means a consumer Microsoft account (@outlook.com, @hotmail.com, etc.), it is very likely not supported for this scenario, and that is the likely cause of Internal error downloading file.
  • If “Personal OneDrive” means the personal drive of a Microsoft 365 work/school user inside your tenant, it should be more plausible, but the connection must have the required Microsoft Graph scopes and the user/account must actually have OneDrive provisioned and accessible.

Please Check the permissions: Integration Service - Microsoft OneDrive and SharePoint authentication

Thanks,
Karthik

Hi Karthik,

Thank you! I checked the documentation you shared.
I am using a personal Microsoft account so that
is likely the reason for the error.

Is Storage Bucket a valid alternative for the
Agentic Automation certification course?

Thanks,
Goutham

Hello @gouthamk,

Yes. working with storage buckets for learning is okay.

Thanks,
Karthik

Thank you Karthik!

That clears everything up. I will proceed with
Storage Bucket for the certification course.

Really appreciate your quick help! :blush:

Thanks,
Goutham