Skip to main content

Notifications

Community site session details

Community site session details

Session Id : F6OR17mlRkxPD49cgwh5BW
Power Automate - Building Flows
Unanswered

Copy a File from a Network Drive to OneDrive Folder

Like (0) ShareShare
ReportReport
Posted on 17 Nov 2023 21:44:15 by 34

Hello,

 

I was hoping someone could give me guidance on how to build a flow (or suggest another means) that will copy a specific file, once it is added, from a Network Folder to my OneDrive folder.   I am still new and know that my flow is incorrect so that is where I am hoping you can show me the correct way to build this and help me learn.

 

First, the error.  It seems like the connection I created is working properly and then the flow seeks to validate the Condition.  This is what I am receiving:

Tmk123_0-1700256360061.pngTmk123_1-1700256367577.png

 

Here is what my flow looks like:

 

Tmk123_2-1700256509075.png

It fails at the Condition because I have entered "Id" for the File.  I wasn't sure what to use.

Tmk123_3-1700256537486.png

 

Here are the options available to me under Get File Content.  If the "ID" is incorrect, what should I use?

Tmk123_6-1700257018046.png

Tmk123_7-1700257034011.png

Tmk123_8-1700257066575.png

 

For reference, the files in the Network folder look like the screenshot below.  As you can see, the file names have a static portion followed by a dynamic portion for the date.  Only providing this if it is helpful.

Tmk123_5-1700256720981.png

 

  • Tmk123 Profile Picture
    34 on 21 Nov 2023 at 18:34:56
    Re: Copy a File from a Network Drive to OneDrive Folder

    Thanks!  Does that mean I need to select body/FileLocator?

     

    Tmk123_0-1700591654293.png

     

  • michael0808 Profile Picture
    304 on 18 Nov 2023 at 05:50:04
    Re: Copy a File from a Network Drive to OneDrive Folder

    The file input of Get file content requires a path to the file. 

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,670 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard
Loading started
Loading complete