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
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 tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (2,298)