cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RLR
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?

 

RLR_0-1625058703011.png

 

 

RLR_1-1625058716001.png

 

 

 

 

 

1 REPLY 1
tom_riha
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

Announcements
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!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (1,977)