while running the code locally using Visual Studio Code - all is working well and the file is saved the to cloud (blob storage).
when deploying to the cloud as function app, files are not saved
blob_service_client = BlobServiceClient.from_connection_string(connection_string)
blob_client = blob_service_client.get_blob_client(container=container_name, blob=file_name)
blob_client.upload_blob(csv_bytes, overwrite=True)
Any hints or solution? thanks.