cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

import csv from Azure file storage to sharepoint list

hi,

i am not sure how to deal with this... i have a azure file storage system where csv files appear when process is done (user creation). Each file has one job in it, so for me each file is one item. Each file contains (at least now) two values (email and company).

 

Whats the best way to get them to the Sharepoint list?

 

so far i setup-ed a trigger on time (every x minute) and then get content, and with string expressions i cut the string from the file to desired columns... seems complicated but worked....uuuuuntil i tested  2 or more files. then what happend is that the email was taken correctly but company (2nd column) contained also all the strings from the other file(s).

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Helper V
Helper V

Re: import csv from Azure file storage to sharepoint list

i think i solved it 😄 the whole trick was that you can add path as a "display name" value

 

3.JPG

View solution in original post

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: import csv from Azure file storage to sharepoint list

Hi @Sifu ,

 

Could you please share a screenshot of the configuration of your flow?

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Highlighted
Helper V
Helper V

Re: import csv from Azure file storage to sharepoint list

@v-alzhan-msft see below... I now suspect that the key will be to define one file to look on...after i copy the content from that one file, i shall delete it and let flow repeat the steps...(?) but how...

 

1.JPG2.JPG

username expression: 

substring(variables('newuser_string'),0,indexOf(variables('newuser_string'),','))
company name:
substring(variables('newuser_string'),add(indexOf(variables('newuser_string'),','),1),sub(length(variables('newuser_string')),add(indexOf(variables('newuser_string'),','),1)))

 

the csv file contains for example such data: username@domain.com,company name

Highlighted
Helper V
Helper V

Re: import csv from Azure file storage to sharepoint list

i think i solved it 😄 the whole trick was that you can add path as a "display name" value

 

3.JPG

View solution in original post

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (4,120)