Apr 24 2017 10:45 PM
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,
Apr 30 2017 06:13 AM
not sure if the following link can help you achieve your goal.
https://docs.microsoft.com/en-us/azure/storage/storage-dotnet-how-to-use-blobs
May 02 2017 04:42 AM
I used the PSObject which was return by invoker function in PS in C# and used that to populate the data. So i did not had to use the blob storage.
Thanks for your help