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 III
Dual Super User III

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.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,999)