Skip to main content

Notifications

Community site session details

Community site session details

Session Id : ErRNJ0qYk39WQN6SF9pxYr
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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

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

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 42 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 41 Super User 2025 Season 1

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 36

Overall leaderboard
Loading started