web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How best to export dat...
Power Apps
Unanswered

How best to export data from the Dataverse to an Azure SQL database

(0) ShareShare
ReportReport
Posted on by 311

We have an Azure SQL database that is a clone of our Dataverse database, used for reporting purposes.  We were using the MS Data Export Service to do the syncing between the two DBs, and it was working well including keeping the data structures in sync.  But now it looks like the Data Export Service tool is being deprecated.  I'd like to know if anyone can recommend another tool to use for this purpose.  Thanks!

I have the same question (0)
  • Prakash4691 Profile Picture
    1,332 on at

    @tschopp 

     

    If you want to replicate dataverse data for analytics. I would recommend to use azure synapse analytics for dataverse.

     

    Replicated data can be used for reporting/analytics purpose.

     

    Attached reference link below,

    https://docs.microsoft.com/en-us/powerapps/maker/data-platform/azure-synapse-link-synapse

     

    If it answers your question, kindly give kudo and accept it as solution.

     

     

    Regards,

    Prakash

  • umccullough Profile Picture
    10 on at

    Can Synapse replicate the data into an Azure SQL instance that matches the dataverse datastructure? The article you linked seems to imply it creates a data lake instead.

  • Prakash4691 Profile Picture
    1,332 on at

    @umccullough ,

     

    From datalake/synapse use Azure data factory to move data from datalake to Azure SQL database.

     

    As per Microsoft recommended instead of using data export service it is better to use Azure synapse with dataverse.

     

    Recommended link from MS docs

    https://docs.microsoft.com/en-us/power-platform/admin/replicate-data-microsoft-azure-sql-database

     

     

    Regards,

    Prakash

  • umccullough Profile Picture
    10 on at

    I'm painfully familiar with what they now recommend - but we have already built a reporting solution around an Azure SQL database that was synchronized with the Data Export Service and it seems they have discontinued that tool.

     

    So per your message, it seems we need to setup synapse + data factory to get the data back into Azure SQL?

  • Prakash4691 Profile Picture
    1,332 on at

    @umccullough 

     

    yes or else try virtual table provider with dataverse that required custom development using plugin.

     

    Find below reference link, that uses azure sql database and dataverse

    https://www.blog.allandecastro.com/custom-virtual-tables-perform-crud-operations-to-another-system/

     

    There are tons of blogs available with sample code, you don't have to develop it from scratch. Just make few amendments w.r.t metadata of your table.

     

    If hope it answers your question, kindly give kudo and accept it as solution.

     

     

    Regards,

    Prakash

  • umccullough Profile Picture
    10 on at

    Unfortunately after trying the Synapse Link and/or Data Factory to export data from Dataverse to Data Lake and/or Azure SQL, we are missing all of the choice field information.

     

    Previously the Data Export Service provided this information in a set of tables called OptionSetMetadata and GlobalOptionSetMetadata, but they are not available in the resulting Data Lake or Azure SQL database after using the newly recommended options.

     

    How do we get these additional details using the newly recommended solution so that we can map the choice integer values to the text labels for reporting purposes?

  • Prakash4691 Profile Picture
    1,332 on at

    @umccullough 

     

    Unfortunately only tables with change tracking enabled can be exported to data lake. We can't export global option set.

     

    But if any option set present inside an entity that can be exported with table, only integer value gets display.

     

     

    Regards,

    Prakash

  • umccullough Profile Picture
    10 on at

    Do you know what table the option sets and global option sets are stored in the dataverse? perhaps I can export them separately regardless of the change tracking option.

  • Prakash4691 Profile Picture
    1,332 on at

    @umccullough 


    I think we can't export global option set and it's metadata via azure synapse.

    Hope Microsoft will take care in near future.


    Regards,
    Prakash

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 519 Most Valuable Professional

#2
11manish Profile Picture

11manish 489

#3
Haque Profile Picture

Haque 327

Last 30 days Overall leaderboard