
Announcements
Hi everyone,
I’m experiencing an issue with images not displaying in my Power Apps application when it’s embedded in Teams. Here’s a concise description of the scenario:
Data Source:
A Microsoft Forms collects contest entries (including JPEG images).
Power Automate Flow:
Based on the form submissions, the flow creates an item in a SharePoint listwith these steps:
A file is created in a SharePoint document library, and its URL is saved in a column.
The file is also attached to the list item.
Using the formula First(ThisItem.Attachments).AbsoluteUri/Value or a SharePoint library URL displays the image correctly in Power Apps Studio, but the image does not load when the app is embedded in Teams
Alternate Attempt:
I tried a flow that retrieves the file content and converts it to a base64 string with a prefix using: concat("data:image/jpeg;base64,", base64(body('Get_file_content')))
The result was intended to be stored in an EncodedImage column in the list. However, I encountered an error stating that the value must be no more than 255 characters—even though the column is set as Multiple Lines of Text.
Has anyone encountered issues with images not displaying in Power Apps embedded in Teams?
What solutions do you recommend to ensure images display correctly?
How can I work around the 255-character limit issue when storing long base64 data in SharePoint?
Any insights, suggestions, or sample configurations are greatly appreciated. Thank you for your help!
Best Regards,
Iza