Skip to main content
Customer Insights - Data forum

Exports Nested folders

editSubscribe (1) ShareShare
Posted on by 3
Customer Insights supports exporting tables, measures and segments to Azure Data Lake Storage Gen2 but the exports create a nested file structure which makes it difficult for external tools to consume without recursive logic navigating the folders.
Example container structure for 'AccountTable'
  • 2024
    • 02
      • 21
        • 1855
          • accounttable.csv 

What OOB options are available to support a single file export for simple consumption? Can we modify the export format? 
What custom options are available within Azure to consume and export an aggregated file for consumption? (If I were in AWS, I would attempt to create a Lambda function that transforms the data into a new format and write to the destination)
  • Exports Nested folders
    Hello, one option is to export the tables, measures, and segments individually using Customer Insights' export functionality. Then, you can use local scripting or programming tools to combine the individual files into a single file that is easier to consume. This approach gives you full control over the exported format.
    Custom Options within Azure:
    1. Azure Data Factory: Azure Data Factory (ADF) can be used to orchestrate data movement and transformation workflows. You can create an ADF pipeline that exports the data from Customer Insights to Azure Data Lake Storage Gen2 in the desired format. Within the pipeline, you can use mapping data flows or custom activities to aggregate and transform the data as needed.
    2. Azure Databricks: Azure Databricks provides a scalable analytics platform that can be used for data transformation and processing. You can write custom scripts using languages like Python or Scala to read the exported data from Customer Insights, aggregate it, and create a new file in the desired format.
    3. Azure Functions: Azure Functions can be utilized to write custom code that triggers on specific events, such as the availability of new data in Customer Insights or changes in the data lake. You can write a function that reads the exported data, performs the necessary transformations, and writes the aggregated data to the destination in the desired format.

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…


Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,045 Super User

Martin Dráb Profile Picture

Martin Dráb 222,570 Super User

nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans