Announcements
Dear,
I've tried exactly v-xida-msft in https://powerusers.microsoft.com/t5/Building-Power-Apps/Uploaded-photo-to-onedrive-from-powerApp-is-corrupted/m-p/314503 but I got the error "Invalid number of arguments: received 2, expected 1." with
ImageSPC.Run("test.jpg", UploadedImage1.Image) . And I also tried the path function in https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/add-images-pictures-audio-video but I couldn't make a proper name image.
Please any help.
Thank you very much.
Nam
# upload photo to onedrive
# power automation
@Nam117 ,
You should have two parameters - the file name and the file content, so there is one missing from your Flow (you should have used Ask in Power Apps twice and replaced one with the base64ToBinary code)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Dear WarrenBelz,
I have been searching it for a week. I regret I didn't make this post earlier.
I do appreciate that.
Best regards,
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 396 Super User 2026 Season 2
Mohsin Ali 323
WarrenBelz 193 Most Valuable Professional