cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SaifAli
Helper III
Helper III

Posting a File to Microsoft Teams

Hi,

 

Currently I'm having a flow that works on posting a file to One drive, Now as per the requirements i need the same file to be uploaded to a specific channel in Microsoft Teams (in the Files section ). but seems like it doesn't havea direct trigger for that. can somebody help me?

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

Hi @SaifAli ,

 

Please refer to the structure below to configure Flow.

Each channel will have a specified folder under the corresponding Team site-Documents Library.

45.PNG44.PNG

You could use Create file action to copy the files uploaded to OneDrive to the specified channel.

46.PNG

Please take a try.

 

Best Regards,

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

View solution in original post

2 REPLIES 2
Pstork1
Dual Super User
Dual Super User

Remember that each Team in Microsoft Teams uses a SharePoint document library to store files.  Each channel is a folder in the documents library in that site.  So although there is no action to upload a file to a Team channel Files tab you can accomplish the same thing by creating a file in the channel named folder in the document library behind the Teams site using the Create File sharepoint action.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
v-bacao-msft
Community Support
Community Support

Hi @SaifAli ,

 

Please refer to the structure below to configure Flow.

Each channel will have a specified folder under the corresponding Team site-Documents Library.

45.PNG44.PNG

You could use Create file action to copy the files uploaded to OneDrive to the specified channel.

46.PNG

Please take a try.

 

Best Regards,

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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (2,461)