Showing results for 
Search instead for 
Did you mean: 
Not applicable

Display image from Sharepoint Library. Authentication Problem?


 I Have an app that loads Images from Sharepoint Library. Images are in a gallery and It works fine when developping the app.


However, when its deployed to new devices, the images doesn't show. The only way to make them show is by opening a new tab and opening the sharepoint site which the document library resides in.  (And this is not a one time process. You have to keep doing it from time to time)


This is not practical when deplying the app to a large number of devices. 
 What is causing this issue and how can i Fix it?




I'm still stuck on this too

Is the app you're developing a mobile app or a desktop application? The referenced article won't work for mobile applications. I spent hours trying things online, including that article, to literally no avail. The only way that I know is to use the thumbnail property of the image when the image is stored in a document library. 

This is for a mobile app.

My app is both desktop and mobile (80% mobile usage)


Do you have an example of how to get the thumbnail?

Connect to the document library using a gallery, insert an image control, in the image property of the control type ThisItem.Thumbnail.Medium 


I ended up making a desktop version that utilized the normal way and then a mobile version with the thumbnail method. 


Here's a link that covers it

Post Prodigy
Post Prodigy

@JMAFO You have two separate apps, or you have two separate images in your gallery? If in the gallery, how are you determining if the user is on mobile/desktop?

@notj two separate apps. For reference, I did this for an employee directory. The desktop version I've embeded into a SharePoint page, named "Employee Directory - Desktop Version" and the mobile version is only accessible via the PowerApps app, named "Employee Directory - Mobile Version". Unfortunately, you can't hide created apps from the PowerApps app, so you have to label the apps by device version accordingly... 

Post Prodigy
Post Prodigy

@JMAFO  thanks for the quick reply! That's not too terrible of a downside. I think we've all had much worse downsides in PowerApps before haha.

@notj this is small peanuts compared to the real problems! Administrative control of the PowerApps mobile app portal, universal device support, and conditional device recognition are very much needed for this to be a more complete product. 

Helpful resources

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,708)