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 / Upload File From PC to...
Power Automate
Answered

Upload File From PC to SharePoint?

(0) ShareShare
ReportReport
Posted on by

I have a Power Automate Desktop flow which downloads an Excel file from the internet to my C: drive. I now want to upload that file to a SharePoint document library. Does anyone know how to do this?

  • Verified answer
    Unknown geen idee Profile Picture
    1,757 on at

    Dear CP153319,

    You can use a normal 'Move file' in the File options menu if you have the relevant sharepoint site synched with via your OneDrive. As such you will have your sharepoint represented locally on your drive and continiously synched.

    To set up this 'Sync', go to the sharepoint online in the browser and in the relevant page (Documents) click the 'sync' link.

    PAD will move the file to a 'local' location and the sync function from OneDrive will put it up to your sharepoint.

     

    If this helps and offers a solution, please state so in this thread.

    Happy flowing,

    Koen

  • CP153319 Profile Picture
    on at

    I read about syncing the document library with OneDrive on another forum and that worked perfectly. Will mark Koen5's answer as the solution. 

  • PDrudi Profile Picture
    5 on at

    Hello,

    sincerly I experienced some issue in OneDrive syncing on my personal pc, so I don't trust it.
    That's why, for Office document, I rely on tthe Office suite , i mean:
    if you log on to the Office suite with an account that has writing permission on the sharepoint, you can open/save files just by using the URI of the file.
    All the authentication issue are delegated to the Office application.
    If I need to upload an xlsx file, I use "Open Excel" activity with parameter "run and open the following document" (usually it is already open, cause i did some work on it)
    Then I use "Save Excel" specifying the URI of the Sharepoint as destination folder.

    IMHO this is a bit more robust since if there is an error in the upload you can control within the flow.

  • CU-19081228-9 Profile Picture
    on at

    Thank you for this @Koen5  - as a follow up question, if they are images that are uploaded, how can I get a direct link to that image once it has uploaded? 

    I'm trying to post a screenshot of a webpage that my PAD flow takes to a Teams channel, but I can't seem to get the image URL correct (or PAD doesn't like it as it contains underscores and such and says 'bad payload for the incoming webhook').

    Thread is here - How to format URL link for Teams incoming webhook? - Power Platform Community (microsoft.com)

    Thanks for any help you can give.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 245 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 233 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard