web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / POWERAPP IMAGE TO ONED...
Power Automate
Unanswered

POWERAPP IMAGE TO ONEDRIVE USING FLOW

(0) ShareShare
ReportReport
Posted on by
Power app Image To One drive
6 seconds ago

HI

 

I need to send the image from power app  form to power automate flow to create a file in onedrive

The parameters I passed in the flow for run are :

If(
varformmode3 = FormMode.New,
Set(
varImage8,
JSON(
Image2.Image,
JSONFormat.IncludeBinaryData
)
)
);
Set(
TEST_FLOW.Run(Form1.LastSubmit.ID, varImage8)
);
Notify("Your submission has been received.");
NewForm(Form1);
Navigate(
'SAP Thank You')

 THE FLOW IS WORKING IN THE FOLLOWING WAY 

Emptyglasses_0-1680088416130.png

 

 

But the file is not getting saved as an Image in  Onedrive , It is getting saved in the following way 

Emptyglasses_1-1680088415823.png

 

Emptyglasses_2-1680088415856.png

 

 

 

Could anyone please help me to save these image in Onedrive 

I even tried these  :

base64ToBinary(triggerBody()?['file']?['contentBytes'])  but showing an error
 
Any help on this would be much appreciated 
Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @Anonymous ,

     

    I think that is because you are missing an extension (.jpg or .jpeg)

    SudeepGhatakNZ_0-1680126217524.png

     

  • Community Power Platform Member Profile Picture
    on at

    Hi Thanks for the reply

    could u please be brief where should i Add the extension  (.jpeg or jpeg)

    should I add in the flow run paramtere in powerapp or in the flow  ?

     

  • Community Power Platform Member Profile Picture
    on at

    Hi 

     

    I tried adding .png, .jpeg and .jpg

     

    I even checked the image format its showing as png , but its not working

    Emptyglasses_0-1680154102278.png

     

  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @Anonymous ,

    I am not sure if converting the Binary data in JSON format (in Power Apps) is supported or not. I used the JSON format on tables, not images. I found this article that says it is not supported natively using PowerApps but you could use Azure function to achieve this.

    Solved: Sending Images from PowerApps to Microsoft Flow - Power Platform Community

     

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard