'How to upload a csv file to Azure blob storage through Azure functions?

I am trying to upload a csv file as an output from my azure functions in python. Right now my azure function will run a python script through an http trigger from powerapp and output a json object where I will get that as a response and display it in my powerapp.

Now the project requires me to output an csv file from the azure function and upload it to a azure storage container. I have no idea what I need to config to bridge to connection from my azure functions to my storage container. Any help will be appreciated, thanks in advance!



Solution 1:[1]

Well documented here:

https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-blob-output?tabs=csharp

And creating CSV from Python is also well documented ;-)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Iona Varga