I'm trying to move a file (jpeg) from my onedrive to a sharepoint folder. I have googled and found several solutions similar to this: Save upload files from Forms to Sharepoint using Power Automate | by Samantha Seah | Medium
The problem is I can't get it to work. I get a new file in my sharepoint folder, but it isn't a picture (jpeg). I don't know what type of file it is, but it doesn't open when you click on it. Being I found so many similar solutions, I feel like it is something simple that is preventing it from working correctly. I don't get any errors; flow says it ran successfully, so I'm lost.
Any help is appreciated.
Thank you! I was able to use the split function to pull the file extension and add it to my new name.
You need to include the extension on your file name. Right now it's just "Test". You can get the extension by using the filename that came out of OneDrive. If you want to rename it, then you'll need to get the extension from that file. You can do that by using the "split()" expression, splitting on . - you can then use the second item in the array to append to your desired file name, as that'll be the extension.
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional