I Built a Dynamics 365 App, and Claude Did the Heavy Lifting

I like learning a new platform the way you learn anything real: by building something with it. So instead of watching tutorials, I picked a small-but-genuine project in Microsoft Dynamics 365 / Dataverse — a Project & Deliverables Manager. Think projects, milestones, deliverables, risks and status reports: the sort of thing an actual delivery team would use every day.

Then I did something a bit different. Rather than clicking through the Power Apps maker portal for hours, I teamed up with Claude and let it do the building. This is the story of how that went — the clean version, start to finish.

How this actually worked. Claude didn't click around a screen for me. It wrote small, self-contained Python scripts. I ran each one in my Mac's Terminal, signed in once with a code, and the script talked straight to my Dataverse environment over its web API. No endless clicking — just "run, sign in, done."


The journey, step by step

Every step below followed the same easy rhythm: Claude handed me a file, I ran it, I pasted back what it printed, and we moved on. Here is the whole path.

  1. Connect Claude to my environment. First we got Claude talking to my Dataverse org. The trick that made everything smooth was a device-code sign-in: the script prints a short code, I open a Microsoft page, paste it, and I'm in. No passwords in files. (Ran in Terminal; signed in at microsoft.com/devicelogin.)
  2. Design it before building it. Claude wrote a living design document first — the tables, the columns, how everything relates, the forms, the views, even a diagram. Getting the plan right on paper meant the build had something to aim at. (Lived in a document inside Claude I could watch fill in.). Here is the sample Project & Deliverables Manager — Solution Design that I used.
  3. Build the data model. One script created all five tables, every column, the dropdown choices, and the relationships that link projects to their milestones, deliverables, risks and reports. The kind of thing that is a hundred tiny clicks by hand. (Ran in Terminal; landed straight in Dataverse.)
  4. Add the smarts. Next, the clever bits: rollup fields (like counting a project's open risks) and a real C# plug-in that auto-scores each risk as Probability times Impact. Claude wrote the plug-in code; I built it locally and a script registered it. (Built with dotnet; registered from Terminal.)
  5. Create the app. Then the actual model-driven app — the thing you open and use — with a tidy left-hand menu and a custom icon for each table, so Projects, Risks and the rest are easy to tell apart at a glance. (Ran in Terminal; published to the app.)
  6. Make it usable: views, forms, dashboard. This is where it started to feel like software. Claude built curated views (Active Projects, Overdue Milestones, High Risks), rebuilt every form into a clean two-column layout with an Owner and Status header, added related-record grids, and finished with a dashboard of charts. (Ran in Terminal; published to the app.)
  7. Fill it with life. Finally, sample data — a few client projects with real-looking milestones, deliverables and risks — plus colour-coded choices so health and risk levels read like traffic lights. Now the whole thing actually demonstrates something. (Ran in Terminal; records created in Dataverse.)

The files Claude handed me

Everything Claude built came as a file I could keep, read, and re-run any time. They are all plain Python (no extra installs — they use what already ships with a Mac), except the plug-in, which is C#. Here are the main ones.

Download the scripts here >> pdm-scripts.zip <<

File What it does How I ran it
build_pdm.py Creates all tables, columns, choices and relationships python3 build_pdm.py
RiskScorePlugin.cs + .csproj The C# plug-in that scores each risk dotnet build -c Release
Register-RiskScorePlugin.ps1 Uploads and registers the built plug-in pwsh Register-RiskScorePlugin.ps1
add_app.py Builds the model-driven app and menu python3 add_app.py
set_icons.py Gives each table its own icon python3 set_icons.py
build_views.py Creates the curated views python3 build_views.py
forms_full_rebuild.py Two-column forms with header and all fields python3 forms_full_rebuild.py
build_dashboard.py Charts and the Project Portfolio dashboard python3 build_dashboard.py
demo_data.py + add_risks.py Realistic sample records python3 demo_data.py
set_choice_colors.py Colour-codes every dropdown python3 set_choice_colors.py

The nice part: every script is safe to re-run. If something already exists, it skips it; if it changed, it updates it. So there is no "did I already do this?" anxiety — you just run it again. That also means the scripts double as documentation: they are the record of how the solution was built.

The result

Here is the finished app, running in the browser. Not mock-ups — the real thing, with the sample data in it.


The app itself: custom icons in the menu, and the Active Projects view with live data.


A project form — Owner and Status up in the header, every field laid out across two neat columns.


Open a project and its milestones and deliverables are right there, inline, on the Delivery tab.


One of the built-in charts — projects split by health — sitting next to the list.

Under the hood there is also a plug-in quietly scoring every risk from 1 to 9, rollup fields tallying things up, and a dashboard pulling it all together. All from a design doc and a handful of scripts.

Claude vs. the classic way

So how is this different from configuring Dynamics 365 the traditional way? Quite a lot, actually.

The classic way (slower)

  • Click through the maker portal to create every table, column and relationship by hand.
  • Drag fields onto each form, build every view one at a time.
  • Fire up Visual Studio to write, compile and register the plug-in.
  • Repeat it all by memory if you ever need a second environment.
  • The "how" lives in your head — easy to forget, hard to hand over.

With Claude (faster)

  • Describe what you want once, in a design doc.
  • Claude writes scripts that build it all through the API in minutes.
  • Re-runnable and consistent — rebuild anywhere by running them again.
  • The scripts are the documentation, so nothing lives only in your head.
  • Claude also remembers the tricky bits, so the next build is even quicker.

The honest summary: the classic approach is a lot of careful, repetitive pointing and clicking that is easy to get subtly wrong. The Claude approach turns "build me this" into a set of tidy, repeatable scripts — and you still stay in control, because you run them and you sign in. It is faster, it is reproducible, and it leaves a paper trail.

It is not magic, and it is not hands-off — you still need to know roughly what you want and to eyeball the results. But for a learning project like this, it turned what could have been a long weekend of clicking into an afternoon of describing, running, and watching it come together.

Would I do it again?

In a heartbeat. I came out the other side with a working app and a much better feel for how Dataverse actually fits together — because I could ask "wait, why that?" at every step. If you are learning Dynamics 365, try building something real and let Claude ride shotgun. You will move faster and understand more, which is a rare combination.

😊


Last verified: 1 October 2026. Product screens and behaviour can change over time — always check Microsoft's official documentation rather than this article.

Paresh Sharma
Functional Consultant | Dynamics 365 | Power Platform | AI
Paresh's Stack — pareshstack.blogspot.com

Comments

Popular posts from this blog

Claude AI Explained: A Beginner's Introduction

Hallucinations, Bias, Privacy, and Responsible Use of Claude