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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Forward an image from ...
Power Automate
Suggested Answer

Forward an image from a Teams conversation

(0) ShareShare
ReportReport
Posted on by 32

Hello,

I want to create a flow so that whenever one or more photos are taken and sent in a Teams conversation (where several members are present), the photo(s) are imported into an O365 group.

I tried using a trigger ‘when a new instant message is added (in Teams)’ -> followed by the condition that checks whether it is indeed an image ("not(empty(triggerOutputs()?[“body/attachments”])))")

In the True condition, I add a ‘for each’ loop where I find the ‘Create a file (SharePoint)’ action. I have customised the name so that it takes the date format (year-month-day-time) : "formatDateTime(utcNow(), “yyyy-MM-dd_HH-mm-ss”) & “.jpg”"

I’m stuck at “File content”; I have no idea what to put there.

Could you please help me? Is this the right way to do it? Do you see a better or simpler way?

Thank you in advance for your help

Capture d'écran 2...

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

Categories:
I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    2,376 on at
    Yes — your approach is mostly correct, but the missing piece is:
    • The Teams trigger only gives metadata about the attachment, not the actual binary image content.
    So for:
    • Create file → File Content
    use:
     
    attachment content body,
    • NOT
    attachment metadata.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 791

#2
Valantis Profile Picture

Valantis 582

#3
Haque Profile Picture

Haque 529

Last 30 days Overall leaderboard