Microsoft Dataverse to MS SQL data sync – co-authored with Claude Code

By | August 3, 2025

Aparently I’m on a roll today, all because of Claude. In the earlier post, I described how a model-driven application can be (somewhat) replicated locally:

However, it would be nice to have a tool that would recreate your Dataverse database in the MS SQL, and that would copy the data as needed.

I had a console utility for that, which I developed long ago, and I kept using it, but it was not too configurable, there was no UI, etc.

So, after writing the post above, I thought what if I asked Claude to create a UI application that would sort of do the same but in a more generic way.

Actually, at first I thought maybe it would be able to create a plugin for XrmToolBox, but that was a dead end – apparently, AI coding agents are only as good as the documentation is 🤷‍♂️ Perhaps Jonas, Tanguy, and Co have some work to do on that front 😊

I spent about an hour fiddling with the prompts, it did not work, then I figured I can live with a win form app just fine, so I asked Claude to create a standalone application. And it did.

Here is how the code is structure – that’s not too bad at all if you ask me:

And this is how it works:

This is not on github, btw, but, if you need it, ping me on Linkedin.

Leave a Reply

Your email address will not be published. Required fields are marked *