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 / Photo from the device ...
Power Apps
Answered

Photo from the device can't be converted to binary

(0) ShareShare
ReportReport
Posted on by 266

Hi,

I have the following issue.

Originally I had a photo functionality built like: User takes a photo in PowerApps ---> Camera1.Photo Image is saved in the gallery ---> After click 'Accept' Gallery Images go to Microsoft Flow and they are being converted from Url to Binary in Flow and then sent to Sharepoint.

It worked fine, but I would like to upload photos from the device as well (by Add Picture functionality built into PowerApps). Everything seems to be alright, but all the process stucks on the error below.

Long story short: Why my Photos made in PowerApps can be converted and sent to SharePoint, and photos uploaded to PowerApps from the device can't?

Thank you,

pal95_0-1595593596220.png

 

Categories:
I have the same question (0)
  • Verified answer
    ganeshsanap Profile Picture
    1,555 on at

    @pal95 , you can convert the images taken from device to include binary data in Power Apps using JSON function in Power Apps. Check below formula to save an image in JSON binary format to a variable:

     

    Set(JSONImageSample, JSON(Images, JSONFormat.IncludeBinaryData));

     

    Then you can pass it to your flow like:

     

    MyFlow.Run(JSONImageSample)

     

    Check this documentation for detailed information: Getting pics to SharePoint from PowerApps is getting easier.

     

    If you want to do it using Power Automate only then check this:

    How to Upload Camera Pictures directly to Microsoft SharePoint with PowerApps and Microsoft Flow 


    Please click Accept as solution if my post helped you solve your issue. This will help others find the correct solution easily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • pal95 Profile Picture
    266 on at

    Sounds promising, will try and let you know!

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 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard