Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Trouble copying file from local server to oneDrive

(0) ShareShare
ReportReport
Posted on by 79

So I just figured out I can copy files from a local server into oneDrive using the Gateway.  I can copy a file from one folder to another on my server but I can not figure out the syntax needed to put that file in a oneDrive folder.  Something similar to this runs without error but then I can not find the file.  I've also tried tried copying the full html but no luck.   Thanks

 

 
 

Capture.PNG

  • CFernandes Profile Picture
    8,283 Most Valuable Professional on at
    Re: Trouble copying file from local server to oneDrive

    @nhale Wohoo... I am glad that the problem is resolved. 

  • nhale Profile Picture
    79 on at
    Re: Trouble copying file from local server to oneDrive

    Thanks,  I finally figured this out and meant to come back and update but never made it back.   Thanks so much of your help.  This had me pretty puzzled for a while. 

  • Verified answer
    CFernandes Profile Picture
    8,283 Most Valuable Professional on at
    Trouble copying file from local server to oneDrive

    Hey @nhale 

     

    You will need to use the approch below -

     

    • "Get File Content using Path"
    • "Create a file" in Onedrive. 

     

     

    CFernandes_0-1610876279404.png

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • CFernandes Profile Picture
    8,283 Most Valuable Professional on at
    Re: Trouble copying file from local server to oneDrive

    Hey @nhale 

     

    You will need to use the approch below -

     

    • "Get File Content using Path"
    • "Create a file" in Onedrive. 

     

     

    CFernandes_0-1610876279404.png

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. 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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,700 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow