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.

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.

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
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.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,699)