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 / Photo from the device ...
Power Automate
Unanswered

Photo from the device can't be converted to binary (PowerApps and SharePoint)

(0) ShareShare
ReportReport
Posted on by 264

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 stocks 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-1595594004788.png

 

Categories:
I have the same question (0)
  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at

    hi @pal95  please make shure that you have the file content first see

     

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Blob-to-Image-in-PowerApps/m-p/388613

  • pal95 Profile Picture
    264 on at

    Hi, Here is my file, Uploaded from my computer and stored safely in the gallery:

    pal95_0-1595596167137.png


    Then it moves exactly the same way as the images made through PowerApps, but only images made through PowerApps make the Flow successful. Images from the computer are causing the error in conversion.

     

  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at

    please @pal95  try adding a compose value after you power apps and inside the output from power apps. Copy that output and paste it here, so see what is happening

  • pal95 Profile Picture
    264 on at

    I don't understand, what you mean?

  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at

    here.PNG

     

    Run the flow, paste the output from power apps action and then copy the result of compose and paste it here.

     

    See you have a convert error so shure your content is bad

  • pal95 Profile Picture
    264 on at

    pal95_0-1595598002913.png

    Don't mind the second branch, it's something I am working on now. 

    It's just converting Uri to Binary. I suspect that photos made by the user are in Uri and photos from the computer are in some other format. I just need a solution for files from the computer, how to change their format?

    pal95_1-1595598177462.png

     

     

  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at

    @pal95  to help you I need to see this format too. I can't replicate your scenario then the only way to see what kind of format image type you have is looking into your power apps output json. And for that just don't convert anything in compose just add the output from your power apps action and let me know, by pasting here that output.

  • pal95 Profile Picture
    264 on at

    Hi, I found some other guy who had the same issue and I am trying to copy his solution right now. will come back to you later

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