web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Cannot Retreive images...
Power Automate
Unanswered

Cannot Retreive images on Sharepoint lists to Teams Flow

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I am using flow to send a teams message through my channel when a new item added to our Sharepoint page. I created the flow everything works fine but images are not shown in the teams app. I see "undefined" on the picture area on the teams. Is this an access problem? When I try to put an external link other than sharepoint image link, it works like a charm.

 

 

8AQsEQ9NNW.png

 

Code is here

 

 

 

{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"body": [
	{
 "type": "ColumnSet",
	 "columns": [
		{
		"type": "Column",
 "width": 2,
 "items": [
						{
						"type": "TextBlock",
						"text": "A New Post on Intranet Page:",
						"size": "large",
						"weight": "bolder"
						},
						{
						"type": "TextBlock",
						"text": "@{triggerBody()?['{Name}']}",
						"size": "large",
						"weight": "bolder"
						},
						{
						"type": "TextBlock",
						"text": "Category: @{triggerBody()?['Usage']?['Value']}",
						"size": "medium",
						"wrap": true,
						"isSubtle": true,
						"weight": "bolder"
						},
						{
						"type": "TextBlock",
						"text": "@{triggerBody()?['Summary']}",
						"size": "medium",
						"wrap": true,
						"isSubtle": true
						},
	 
					],
		},
		{
		"type": "Column",
 "width": 2,
 "items": [
						{
 "type": "Image",
 "url": "https://piworks.sharepoint.com@{triggerBody()?['ImageRelativePath']}",
 "size": "auto"
						}
					]
		}
	]
	} 
],
"actions": [
 {
 "type": "Action.OpenUrl",
 "title": "Open on Intranet",
 "url": "https://piworks.sharepoint.com/sites/intranet/Pages/story-detail.aspx?itemId=@{triggerBody()?['ID']}"
 }
 ]
}

 

 

 

Categories:
I have the same question (0)
  • alrezac Profile Picture
    on at

    Hi,

     

    SharePoint uses a lot of special image encoding that Flow cannot handle. Presently we recommend uploading your images to Azure Storage Blob if you are going to be pulling images into SharePoint. You can also use your selection or 3rd party image hosting if you would like too.

     

    Regards,

     

    Alex

     

    -------

     

    Community Support Team _ Alex Rezac
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard