Announcements
Hi everyone,
I'm building a Power Apps application that displays item images based on a scanned barcode. I store all item images in a SharePoint document library (Items Images), and each image file is named using the *** code (e.g., 43100000.jpg). In my SharePoint list (Finished Items barcode), each item has a Title (which stores the barcode) and a ***_Code field. In Power Apps, I extract the *** code from the scanned barcode and use it to build the image URL manually like this:
Items Images
43100000.jpg
Finished Items barcode
Title
***_Code
With( { extractedBarcode: Mid(txt_Barcode.Text, Find("(01)", txt_Barcode.Text) + 4, 14), ***Code: LookUp('Finished Items barcode', Title = extractedBarcode, ***_Code) }, "https://*********.sharepoint.com/sites/***/Sales/Items%20Images/" & ***Code & ".jpg" )
You're absolutely right in suspecting that the issue is related to authentication handling in the Power Apps mobile app. Here's a breakdown of what's happening and how to work around it:
Instead of building the image URL manually, use a Media control and bind it to the image file stored in SharePoint via a connected SharePoint list:
⚠️ Downside: You need to maintain a list that maps barcodes to image URLs.
"data:image/jpeg;base64," & YourFlow.Run(...).imageContent
✅ This works reliably on mobile because the flow runs under the authenticated context of the user.
If you're open to changing the storage method:
To confirm the issue, try opening the image URL directly in a mobile browser (e.g., Safari or Chrome). If it prompts for login or fails, it's definitely an authentication issue.
🏷️ Tag me if you have any further questions or if the issue persists.
✅ Click "Accept as Solution" if my post helped resolve your issue—it helps others facing similar problems.
❤️ Give it a Like if you found the approach useful in any way.
Launch( LookUp( SPLibrary, BarcodeField = Barcode.Text ).'Link to item' )
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 915
Valantis 571
11manish 457