Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - General Discussion
Answered

Why does SharePoint's "get file content using path" not return the same thing as OneDrive's "get file content using path"

(0) ShareShare
ReportReport
Posted on by 357

I'm trying to read through a csv file and it was decided we move to a sharepoint site instead of OneDrive. The issue is how the "get file content using path" for sharepoint doesn't return the correct kind of data from my csv file.

 

This is what it looks like when I'm using OneDrive, this is what I want:

onedrivepathcontent.png

 

Whereas SharePoint returns this, which I cannot use.

sharepointpath.png

Does anyone know if there is a way to fix this? I don't get why they return different data type. Aren't they basically the same action but just pulling from a different place?
Thank you.

  • TonyC1 Profile Picture
    6 on at
    Re: Why does SharePoint's "get file content using path" not return the same thing as OneDrive's "get file content using path"

    Having this same issue, but I am not seeing the return in any of the SharePoint triggers. Can anyone assist with a more details?

  • Verified answer
    Mgodby Profile Picture
    357 on at
    Re: Why does SharePoint's "get file content using path" not return the same thing as OneDrive's "get file content using path"

    Never mind, solved it. My initial trigger that runs when a file is added to my share documents has a return called "file contents" that has the correct format for my data. 

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1