cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BitStel
Regular Visitor

MS Flow: Export Sharepoint list to Excel/CSV than save in Teams channel

Hello,

 

every Thursday I am exporting a Sharepoint list into Excel and then manually upload it into a Teams channel.
I want to automate this process by using MS Flow. Can you help me do that?

 

When doing research I found out that with Flow one could only export a Sharepoint list into a CSV file which would be OK, too. But then how do I build the flow that it saves this CSV file in Teams?

 

Looking forward to receiving your answers 🙂

2 ACCEPTED SOLUTIONS

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @BitStel ,

 

If you want to create a CSV file, please refer to the following configuration:

199.PNG

In addition, we cannot post files to the Teams channel, please check the following thread:

Solved: Posting a File to Microsoft Teams - Power Platform Community

 

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

 

Hi @BitStel ,

 

Please make sure that the Folder Path you filled in does exist, it seems to be Shared Documents.

 

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

6 REPLIES 6
BitStel
Regular Visitor

So this is my first flow I built but when it was scheduled to work I received a failure notification...

 

I don't understand what the mistake is though... Maybe the last step create a file. There I inserted the link of the file storage folder of the target teams channel where the Sharepoint list as newly created CSV file is supposed to be moved to...

 

Anyone any tips for me?

 

MS Flow_Sharepoint_CSV_Teams.PNG

v-bacao-msft
Community Support
Community Support

 

Hi @BitStel ,

 

If you want to create a CSV file, please refer to the following configuration:

199.PNG

In addition, we cannot post files to the Teams channel, please check the following thread:

Solved: Posting a File to Microsoft Teams - Power Platform Community

 

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

Hello @v-bacao-msft ,

thanks for the fast and helpful reply.

I changed the Flow and it seems to run until the point when the CSV file is created and then I get an error message for the "Create file" step (see picture below…) I don't really understand what I need to change now.

Thankful for any suggestions!! 🙂

Flow Problem2.PNGSharepoint folder.PNG

 

Hi @BitStel ,

 

Please make sure that the Folder Path you filled in does exist, it seems to be Shared Documents.

 

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

Hello @v-bacao-msft ,

now the Flow works but the data from the SharePoint list is not exported into a normal table as is done when I manually export the SharePoint list in Excel but it looks like some kind of formula spread over dozens of lines...

Flow Problem3.PNG

Any idea what I did wrong here?

dkent
Helper I
Helper I

I also tried this solution but the flow failed with the following error.

 

dkent_0-1619054957203.png

Did I miss a step?

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (109,546)