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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,699)