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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Passing an image from ...
Power Apps
Answered

Passing an image from PowerApps to PowerAutomate (or using a REST API)

(0) ShareShare
ReportReport
Posted on by 8

Hello,

I am building a reimbursement app and as part of the work flow we need to be able to pass a picture of a receipt the user uploads to a server that I can access using a REST API. Currently I am passing all data (amount, date, accounting info, etc) from powerapps into powerautomate to use the HTTP function and POST to the server. I have all my data working with this workflow except for images. I would preferably like to upload a raw image but base64 works as well I just need to get the uploaded image from PowerApps to my server using the Rest API. I was hoping I could just cite the image and get it using the .run command in powerapps to my powerautomate the same way I got the other data but that doesn't appear to work. Any Ideas?

Thanks,

Categories:
I have the same question (0)
  • timl Profile Picture
    37,283 Super User 2026 Season 2 on at

    @Worthingtonnl 

    From Power Apps, you can call the JSON function to produce a Base64 encoded version of your image, as highlighted in the documention.

    https://learn.microsoft.com/en-gb/power-platform/power-fx/reference/function-json

    You can then pass that Base64 encoded image to your .Run command.

     

  • Worthingtonnl Profile Picture
    8 on at

    Hello @timl 
    Unfortunately I have tried that avenue as well and the results were... less than satisfying. It appears that the Base64 encoder built into powerapps has some sort of character limit as images that are more complex than very simple small low res pictures only produce partial outputs. Not sure if you have any other avenues or a workaround for that.

    Thanks!

  • Verified answer
    timl Profile Picture
    37,283 Super User 2026 Season 2 on at

    @Worthingtonnl 

    Unfortunately, I don't know of a simple way to overcome this. Perhaps an alternative is to save the image to a SharePoint or Dataverse data source. You could then try to retrieve the saved image from your Flow.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard