Forum Discussion

KJS's avatar
KJS
Brass Contributor
Apr 25, 2017

Web job to read from csv in azure storage blob

Hi

I have a console job which does two things 

1) run SPO power-shell  script  in c# console job, writes the output to csv

2) c# reads from file and writes to sharepoint online

 

I have packaged this as azure web job and deployed to azure portal, Now i get errors first it is not able to write to csv file 

second steps also fails

So i am trying to add a csv file to azure storage blob type ( which can delete existing file and write new one everytime, so powershell can write to blob storage, then c# need to read from this storage. 

 

Is there any better approach then this or if this is fine can some you help me with example how to read /write from blob and where to save the file.

 

Thanks,

 

 

 

 

Resources