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

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,012)