In this article, you’ll learn how to send inline images directly inside Microsoft Teams messages using Power Automate. Instead of sending plain URLs or attachments, we will use image that is stored in SharePoint Document library.
Stepwise Implementation
1 - Create flow
Go to make.powerautomate.com
I have used instant flow type, you can choose any flow type based on your need.
2 - Get image from Document Library
![Screenshot - 2026-05-25T142617.513]()
3 - Get team and channel
![Screenshot 2026-05-25 142726]()
4 - Filter channel by Display Name
![Screenshot 2026-05-25 142847]()
5 - Add Send Http action to MS Teams action of Teams
![Screenshot - 2026-05-25T143007.273]()
Url: https://graph.microsoft.com/v1.0/teams/@{outputs('Get_a_team')?['body/id']}/channels/@{first(body('Filter_array'))?['id']}/messages
Body: {
"body": {
"contentType": "html",
"content": "<div><div>\n<div><span><img height=\"297\" src=\"../hostedContents/1/$value\" width=\"297\" style=\"vertical-align:bottom; width:297px; height:297px\"></span>\n\n</div>Good Morning!</div>\n</div>"
},
"hostedContents":[
{
"@microsoft.graph.temporaryId": "1",
"contentBytes": "@{body('Get_file_content_using_path')?['$content']}",
"contentType": "@{body('Get_file_content_using_path')?['$content-type']}"
}
]
}
6 - Run the flow
![Screenshot 2026-05-25 143258]()
Conclusion
Here we have learnt, how to send image to MS Teams channels using HTTP action of Teams in Power Automate.