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 / Power Automate / Get File Contents Oned...
Power Automate
Answered

Get File Contents Onedrive vs Sharepoint

(0) ShareShare
ReportReport
Posted on by 20

I currently have a flow that basically breaks down data in a csv using Get File Contents (One Drive). All works fine. I want to move this to sharepoint and I switched to Get File Contents (Sharepoint) instead. Now it doesn't work and printing the results, the sharepoint module gives a completely different result to Onedrive. Is there a way to replicate the output from the OneDrive module? 

Categories:
  • Verified answer
    v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi, @BTAPA 

    Do you mean you get the file content from Sharepoint like this:

    vyueyunmsft_0-1711432392623.png

    If this , you can use this expression to get the data from csv file.

    vyueyunmsft_1-1711432427554.png

    base64ToString(outputs('Get_file_content')?['body']?['$content'])
     

    Best Regards,

    Yueyun Zhang

  • BTAPA Profile Picture
    20 on at

    Worked great, thanks!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 331 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard