thanks for your answer but I'm trying to write the data in a csv/json file in the data lake 

I don't try to read the data from the data lake, I receive directly the data from iot hub

or maybe I misunderstood your answer