Skip to main content

Notifications

Community site session details

Community site session details

Session Id : ONqPT/e3IVvofYKmsfL5yT
Power Apps - Building Power Apps
Unanswered

Upload Image from Phone Gallery to SharePoint Library works on laptop, doesn't work on phone

Like (0) ShareShare
ReportReport
Posted on 26 Oct 2022 14:05:20 by

Hi, as in the title, the functionality of uploading a picture from phone gallery to SharePoint Library works fine on my laptop, but doesn't work on my phone. Below how I made the flow (only the relevant ones, fits on one page):

 

plona95_0-1666792449150.png

 

And here is my upload screen in PowerApps:

 

plona95_1-1666792590251.png

 

I use the 'Add Picture' functionality from 'Media'. Green button code (also, only the relevant code below):

 

Spoiler (Highlight to read)
If(
Connection.Connected = true,
SimpleMCCImagesUpload.Run(
BrowseGallery2.Selected.Result & "_" & BrowseGallery1_3.Selected.Value & "_" & Now(),
JSON(
UploadedImage1.Image,
JSONFormat.IncludeBinaryData
),
Dropdown1.Selected.Value,
BrowseGallery2.Selected.Result,
BrowseGallery1_3.Selected.Value
);
If(Connection.Connected = true,SimpleMCCImagesUpload.Run(BrowseGallery2.Selected.Result & "_" & BrowseGallery1_3.Selected.Value & "_" & Now(),JSON(UploadedImage1.Image,JSONFormat.IncludeBinaryData),Dropdown1.Selected.Value,BrowseGallery2.Selected.Result,BrowseGallery1_3.Selected.Value);

last 3 things (value, result, value) stand for picture library columns.

 

When I test the above on my laptop, it all works fine.

 

When I select 'Photo Gallery' option on my phone, Can't convert to JPG (Sandbox_FileNotSupported / An exception occurred while executing within the Sandbox)

 

When I select 'Take a picture' option on my phone, and confirm the picture, the flow has an error: Can't convert to JPG, (NotAcceptable / Not Acceptable - GIF89a

 

Any ideas? Thank you for your time!

 

 

 

 

 

 

 

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 300 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 174

#3
stampcoin Profile Picture

stampcoin 138

Overall leaderboard
Loading started
Loading complete