Hi and welcome to Microsoft Q&A @Cl.Mo ,
Please can you confirm if you already looked here on how to ingest Historical Data to Azure Time Series Insights Gen2: https://learn.microsoft.com/en-us/azure/time-series-insights/concepts-streaming-ingestion-event-sources#historical-data-ingestion
Let us know your research so far and the blockers you saw. I believe the doc above can help your scenario.
Thank you!