MSBA-270 · Lesson 5 of 12 · 18 min

Choosing between low-code and pro-code

▶ Video coming soon A video version of this lesson is on the way.

By the third session the request list had grown. Delphine wanted the floor plan for dispatchers. Kwabena wanted a nightly feed of completed work orders into the institutional research warehouse. Maribeth wanted the transcript solution to calculate a processing fee that depended on the delivery method, the recipient and whether the request was urgent. The athletics department had asked for an equipment-loan app that looked like the college website rather than a Power Apps screen. Rupert asked Signe for a way to decide, request by request, whether the answer was low-code, pro-code or a mix, so that the decision did not depend on who happened to pick up the ticket.

Why the choice matters

Low-code and pro-code are not rivals. Most real solutions mix them: a model-driven app with a few client scripts, a cloud flow that calls a custom API, a canvas app with one code component. The question for each piece is which approach gives a correct, supportable result at the lowest total cost. Total cost includes building, testing, documentation, licences, the skills needed to change it later, and the risk that the person who built it leaves. Low-code features are maintained, secured and updated by Microsoft; code is maintained by the organization for as long as it exists.

Signe summarized the trade-off for the group with a simple table, and then a decision chart that the team pinned to the wiki.

Factors in choosing low-code or pro-code.
ConsiderationFavours low-codeFavours pro-code
Who will change it laterMakers in the businessA developer team
Complexity of logicClear rules, a few branchesComplex algorithms, heavy data processing
Volume and performanceModerate volumeHigh volume, tight time limits
User experienceStandard forms, views and screensCustom visuals, full web-style design
IntegrationAn existing connector does the jobUnusual APIs, protocols or transformations
Where it must applyOne app or processEvery caller, inside the transaction
A decision flowchart. Start: Can configuration or Power Fx do it? Yes leads to Use low-code. No leads to: Must it run inside the Dataverse transaction for every caller? Yes leads to Plug-in or custom API. No leads to: Is it a user interface need? Yes leads to Component framework control, custom page, generative page or code app. No leads to: Is it integration with another system? Yes leads to Custom connector, webhook or Azure Function. No leads to Review the requirement again.
A first-pass decision chart for choosing an approach.

Logic: rules, columns, flows, plug-ins and custom APIs

Maribeth's fee calculation was a good test case. The fee depended on three values and a table of rates that the registrar changed once a year. A business rule could not look up a rate table. A formula column could calculate values from the same row and related rows, but the rate table and the urgency surcharge made the formula long and hard for the registrar to maintain. A cloud flow could calculate it, but would run a few seconds after the save, so the adviser would see a blank fee on the form. A plug-in in PreOperation could read the rate table and set the fee on the Target before the row was saved, so the fee was always correct, immediate and the same in every app.

The team chose a hybrid. The rates lived in a Dataverse table, Transcript Fee Rate, that the registrar maintained through a model-driven view, so changing a rate needed no developer. A short plug-in read the matching rate and set the fee. Because the advisers' canvas app also needed to show an estimated fee before submitting, Signe wrapped the same calculation in a custom API, Calculate Transcript Fee, which the canvas app could call through the Dataverse connector and the plug-in could also use. One piece of logic, two consumers.

Choosing where logic lives.
NeedFirst choiceWhen to move to code
Validate a value on a formBusiness ruleWhen the rule needs data from other tables or must be very fast for imports
Derive a valueFormula, calculated or rollup columnWhen it needs lookups the column types cannot do
Notify or approveCloud flowRarely; flows are well suited
Enforce a rule for every callerBusiness rule scoped to the tablePlug-in when the rule is more than simple validation
Reusable operation for apps and integrationsInstant flow or Power Fx functionCustom API for transactional, fast, reusable logic

User experience options

The exam lists several ways to build user experience, and each has a clear place.

User experience options for developers and makers.
OptionWhat it isUse when
Model-driven forms and viewsGenerated UI from Dataverse metadataDense, data-heavy back-office work
Canvas app or custom pageLow-code designed screens with Power FxTask-focused screens, mobile, custom layout
Generative pageA page in a model-driven app generated from a descriptionQuick, tailored views of data inside a model-driven app
Component framework controlA TypeScript control used in forms, views or canvas appsA visual or interaction no standard control offers
Web resource with client scriptJavaScript attached to forms and commandsForm behaviour beyond business rules
Code appA full web app in React, Vue or similar, hosted by Power PlatformA web-style experience with full design control
Agent or MCP app widgetConversational UI and interactive cards in Copilot experiencesWhen users work through chat or agents

Delphine's floor plan pointed to a component framework control: dispatchers lived in Facilities Hub, a model-driven app, and wanted the plan inside the work order form. A control could read the room from the form, draw the floor and highlight the room, and be reused on the inspection form too. The athletics loan app pointed the other way. The department wanted full control over layout and branding and had a web developer on staff, so a code app fitted, built in React and hosted by Power Platform with the same governance as other apps. Signe noted the trade-off: code apps need a Premium licence for each user, and every screen is code that the athletics department's developer would own.

Integration options

Kwabena's warehouse feed needed no new code at all. Dataverse can export tables continuously to a data lake through Azure Synapse Link for Dataverse or to Microsoft Fabric through Link to Microsoft Fabric, and the institutional research team already used Fabric. Turning on the link and choosing the work order tables did the job without a single line of integration code, and it scaled far better than a nightly flow that read thousands of rows. This is a common pattern: the right answer to an integration request is often a platform feature that a developer would not think of if they started by opening an editor.

Integration choices.
Integration needLow-code or platform optionPro-code option
Call an external REST API from apps and flowsExisting connectorCustom connector from an OpenAPI definition
Push Dataverse changes to another systemCloud flowService endpoint, webhook or business event
Analytics on Dataverse dataLink to Microsoft Fabric or Azure Synapse LinkCustom export through the Web API (rarely needed)
Show external data without copyingVirtual table with a provided connectorCustom virtual table provider
Heavy processing outside DataverseNot suitedAzure Functions

AI options: Copilot Studio or Microsoft Foundry

AB-400 adds a choice that PL-400 did not have: when to build an agent in Copilot Studio and when to use Microsoft Foundry. Copilot Studio is low-code, runs inside Power Platform, uses environments, data policies and solutions, and connects to Dataverse and connectors directly. Foundry is Microsoft's code-first platform for building AI applications and agents with full control over models, prompts, tools and hosting. A maintenance agent that answers technicians' questions from work order history and manuals fits Copilot Studio. A custom model pipeline that analyses years of building sensor data to predict failures would fit Foundry, perhaps exposed back to Power Platform through a connector or an MCP server.

Worked problem

Classifying the request list

Sort the five requests into approaches: (a) transcript fee calculation; (b) floor plan on the work order form; (c) completed work orders into the research warehouse; (d) athletics equipment-loan app with full branding; (e) a question-and-answer agent over maintenance manuals.

Show solution
  1. (a) Rates in a Dataverse table maintained by the registrar, a plug-in to set the fee and a custom API for estimates: a hybrid with a small amount of code.
  2. (b) A component framework control on the model-driven form: pro-code, reusable.
  3. (c) Link to Microsoft Fabric: platform configuration, no code.
  4. (d) A code app in React hosted by Power Platform: pro-code, with Premium licences for users.
  5. (e) A Copilot Studio agent with the manuals as knowledge: low-code AI.

Answer: Two of the five need significant code, one needs a little, and two need none. That ratio was typical of Lumenvale's requests.

When generative pages are enough

A newer option sits between configuration and code. Generative pages let a maker describe a page in natural language inside a model-driven app, and the platform generates a page, built with React behind the scenes, that shows and edits Dataverse data. The page respects Dataverse security and can be refined with further prompts. For the dispatchers' request to see a board of jobs grouped by technician, the MSBA-251 builders used a generative page instead of a custom control, and it took an afternoon. For the floor plan, which needed precise drawing of building layouts and reuse on several forms, a component control was still the better choice. A useful test is whether the need is a new way of arranging and editing data, which generative pages handle well, or a genuinely new visual or interaction, which calls for a control or a code app.

Hybrid patterns

Many good designs combine approaches deliberately. A cloud flow handles a long-running approval and calls a custom API for the step that must be transactional. A canvas app uses one component control for signature capture and standard controls for everything else. A Copilot Studio agent calls a custom connector built by a developer, which wraps an Azure Function. The design principle is to keep each piece in the tool that suits it, with clear interfaces between them, so that makers can change the low-code parts without touching the code and developers can change the code without breaking the apps.

Common hybrid patterns.
Hybrid patternLow-code partCode part
Flow plus custom APIApproval and notifications in a cloud flowTransactional update in a custom API
Canvas app plus code componentScreens, navigation and formsOne specialized control
Agent plus custom connectorConversation design in Copilot StudioConnector and Azure Function to an external system
Model-driven app plus plug-inForms, views and business rulesServer-side validation that needs other tables

Estimating the cost of code

Rupert asked for a rough way to estimate the long-term cost of code so that the CoE could compare options fairly. Signe's rule of thumb was that every piece of custom code would need about as much effort over its life again as it took to build: updates when Microsoft changes or deprecates an API, fixes when data changes in ways nobody expected, reviews when security requirements change and handover when people leave. A plug-in that took three days to build should be expected to take around three more days of effort over the following few years. That made a low-code option that took twice as long to configure, but needed no code maintenance, a fair comparison rather than an obvious loser.

Revisiting decisions

A decision to use code is not permanent. Platform features improve, and something that needed a plug-in in one year may be possible with configuration the next. Formula columns, for example, have taken over calculations that once needed plug-ins, and generative pages now cover some needs that once required custom controls. Signe added a line to each solution's design document listing the custom code it contained and the reason for each piece, and the CoE reviewed the list once a year. If a feature had arrived that could replace a piece of code, the team weighed the effort of switching against the cost of keeping the code. Twice in 2026 the answer had been to remove code.

Common mistakes

  • MistakeStarting every request in an editor.

    InsteadStart with configuration and platform features; add code only where they fall short.

  • MistakeHard-coding rates and thresholds in a plug-in.

    InsteadKeep values that business staff change in a table or environment variable.

  • MistakeBuilding a nightly flow to copy Dataverse data to analytics.

    InsteadUse Link to Microsoft Fabric or Azure Synapse Link.

  • MistakeChoosing a code app without considering licensing and ownership.

    InsteadConfirm Premium licences and who will maintain the code.

Rupert adopted the decision chart for the CoE intake form. Every request now carried a short "approach" field filled in at triage: configuration, low-code, hybrid or pro-code. After a month the split was close to Signe's guess, with roughly one request in four needing a developer at all.

Summary and key terms

  • Most solutions mix low-code and pro-code; choose for each piece by correctness, supportability and total cost.
  • Business rules, columns and flows come first; plug-ins and custom APIs handle logic that must be immediate, universal or reusable.
  • User experience options range from model-driven forms and generative pages to component framework controls, client scripts and code apps.
  • Many integration needs are met by platform features such as connectors, Link to Microsoft Fabric and virtual tables.
  • Copilot Studio suits low-code agents governed by Power Platform; Microsoft Foundry suits code-first AI with full control.
Pro-code
Building with general-purpose programming languages and developer tools.
Custom API
A developer-defined Dataverse message with its own inputs and outputs, backed by a plug-in.
Component framework control
A reusable TypeScript control built with the Power Apps component framework.
Link to Microsoft Fabric
A Dataverse feature that makes table data available in Microsoft Fabric for analytics without custom export code.
Microsoft Foundry
Microsoft's code-first platform for building AI applications and agents.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. Why did the team put transcript fee rates in a table rather than in the plug-in?

    Show answer

    So the registrar could change rates without a developer or a deployment.

  2. What platform feature replaced a custom warehouse feed?

    Show answer

    Link to Microsoft Fabric, which makes Dataverse tables available in Fabric.

  3. Give one reason to build an agent in Copilot Studio rather than Foundry.

    Show answer

    It is low-code and governed by Power Platform environments, data policies and solutions, with direct Dataverse access.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz