Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Save attachments in Teams channel messages to SharePoint document library

(0) ShareShare
ReportReport
Posted on by 118

I have a Team channel that is used to hold requests for a service.  These requests are emailed directly into the channel (not forwarded from Outlook) and contain an attached referral form.

 

I want to automate moving/copying the attachment from the channel message to the channel document library,triggered by the creation of the channel message.

 

I can find templates for moving an attachment from Outlook to a SharePoint library but none from a Teams channel message.

How can I do this?

  • Suraj K Gupta Profile Picture
    4 on at
    Re: Save attachments in Teams channel messages to SharePoint document library

    I don't think there is a direct solution yet on Power Automate, but you may apply a workaround. All these posts which are sent to teams channel email, get stored on teams channel in a folder - you can explore through onedrive/sharepoint to view which location it is getting saved. The Good part is that it saves .msg as well as attachments separately, so no need to extract attachments from .msg file - create some flow to move the attachment files to desired folder on sharepoint. Hoping this helps! You may accept it as solution if it really does! 

  • ikanak14 Profile Picture
    4 on at
    Re: Save attachments in Teams channel messages to SharePoint document library

    Hi ,

     I am looking for a solution to save attachments from teams channel message to SharePoint online lists.

    I am able to get message subject and body but attachments are not getting saved as a file.

     

    Appreciate any help in solving this problem.

     

    Regards, 

    Kanak

  • HMJ_Somerset Profile Picture
    118 on at
    Re: Save attachments in Teams channel messages to SharePoint document library

    Sorry, but these posts do not help (and are not the solution).  They are concerned with getting the content from the attachment and using it in something else (email etc) whereas I want to save the whole attachment to a SharePoint document library.

     

     

     

     

  • Verified answer
    v-bacao-msft Profile Picture
    on at
    Re: Save attachments in Teams channel messages to SharePoint document library

     

    Hi @HMJ_Somerset ,

     

    Please refer to these similar threads to configure the flow:

    https://powerusers.microsoft.com/t5/Building-Flows/Get-Attachment-Content-from-Microsoft-Teams-Message/m-p/447173

    https://powerusers.microsoft.com/t5/Building-Flows/Get-Attachment-Content-from-Selected-Microsoft-Teams-Message/m-p/696808#M94415

     

    Feel free to let us know if you have any questions about these methods.

     

    Best Regards,

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1