Showing results for 
Search instead for 
Did you mean: 
New Member

Create File in OneDrive -- File Path of New File "Does not Exist"

I am building a Flow to create a file in OneDrive then to copy that file via the SFTP/SSH connector. I am using the file path of the new file from the dynamic content selection list for the source file path, but keep getting the error that the file path does not exist.


I've checked each time that the file is created, and the file path in the error details is valid and correct. I've tried putting a delay between the Create File and Copy File actions, but that isn't working, either.


My next plan of action is to try to pull the file path of the newest file in the folder, but I am wondering: why isn't this dynamic file path working when it appears to have all the correct information?











Super User
Super User

Hello @RLR ,

when you check the data in the 'Path' dynamic content, you'll see that it contains only path in the OneDrive, it doesn't contain the OneDrive address. You must build the whole path, OneDriveAddress/Path.

[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (3,291)