Blog Power Apps Code Apps

Power Apps Code Apps: The End of "Low-Code vs Pro-Code"

Feb 13, 2026 9 min read Pro Code

Power Apps code apps let developers build a web app in React, Vue or Angular, write it in VS Code, and run it inside the Power Platform. The app signs users in with Microsoft Entra ID, calls Power Platform connectors directly from JavaScript, and follows your DLP, sharing and Conditional Access policies, so code-first teams no longer have to choose between flexibility and enterprise governance.

What are Power Apps code apps?

For years, enterprises faced a binary choice: build quickly with low-code (Power Apps), or build flexibly with pro-code (React or Angular hosted on Azure App Service) and then own authentication, hosting, secrets and security reviews. Code apps combine the two. You develop a full-scale web application with your own framework, build tooling and tests, and publish it to a Power Platform environment with the Power Platform CLI (PAC CLI).

Instead of hosting a custom web app yourself and managing complex authentication flows, you host it inside the Power Platform boundary and inherit its security, governance and connectivity.

Why code apps matter for CTOs and architects

1. Sign-in with Microsoft Entra ID out of the box

Authentication and authorization are the biggest headaches in custom web development. With code apps, users are signed in with Microsoft Entra ID and your app knows who they are. There is no MSAL configuration to maintain and no token-handling code to review.

2. Connectors callable from JavaScript

This is the "killer feature". Normally, if a React app has to talk to SAP, Salesforce or SQL Server, you build a custom API layer or manage API keys. With code apps, your JavaScript code calls Power Platform connectors, from the 1,500+ available, or a custom connector to your legacy system, without exposing secrets or running middleware. The platform executes the call on behalf of the signed-in user.

3. Governance and compliance built in

Shadow IT is a major risk with "rogue" web apps. Code apps run within managed platform boundaries and adhere to your organization's Data Loss Prevention (DLP) policies, sharing limits and Conditional Access rules. It is custom code that plays by enterprise rules.

Code apps vs. canvas, model-driven and self-hosted apps

FeatureCanvas / Model-drivenPower Apps code apps
Development approachDrag-and-drop / low-codeCode-first (VS Code, Git)
UI flexibilityConstrained by the platformUnlimited (HTML/CSS/JS, any UI library)
ConnectorsNative UI integrationDirect calls from JavaScript
Ideal use caseInternal forms, CRUD appsComplex logic, pixel-perfect consumer-grade UX

The second comparison puts code apps next to the alternative most teams already know: a single-page app hosted on Azure.

ConcernReact app on Azure App ServicePower Apps code app
AuthenticationYou configure MSAL and token handlingMicrosoft Entra sign-in provided by the platform
Access to SAP, SQL, SalesforceCustom API layer or stored credentialsConnectors called directly from JavaScript
Hosting and scalingYou provision, secure and monitor itRuns inside the Power Platform environment
DLP and sharing policySeparate controls, if anyEnforced by the Power Platform environment
Release processYour own pipeline and infrastructurePAC CLI publish from your pipeline to an environment
Public, anonymous accessPossibleNot the target; use Power Pages for external audiences

How to build a code app step by step

  1. Prepare the environment. You need a Power Platform environment where code apps are allowed, and users with the required licence. Check Microsoft's documentation for the current requirements, because they change as the feature matures.
  2. Scaffold the project. Start from a standard front-end template, for example Vite with React and TypeScript, and initialise it for Power Apps with the PAC CLI.
  3. Add data sources. Use the PAC CLI to add the connectors or Dataverse tables the app needs. It generates typed client code, so calls are checked at compile time.
  4. Develop and test locally. Run the dev server, build components with the UI library you already use, and write unit tests the way you would for any web app.
  5. Publish to the environment. Push the build with the PAC CLI, then share the app with users or security groups.
  6. Operate it. Monitor usage, review connections, and keep dependencies patched like any other codebase.

ALM: treat a code app like software

Because a code app is an ordinary repository, ALM is simpler than for visual apps. Keep the source in Git, run linting and tests on every pull request, build in GitHub Actions or Azure DevOps, and publish with the PAC CLI to separate development, test and production environments, with an approval before production. Use connection references so the same build runs in every stage.

Pre-launch checklist

  • Business case confirmed: canvas or model-driven would not do the job.
  • Environment, licences and admin settings for code apps verified.
  • Only the connectors the app needs are added; DLP policies reviewed.
  • No secrets in the repository; authentication relies on Entra sign-in.
  • Pipeline in place with development, test and production stages and an approval gate.
  • Dependencies pinned and scanned; an owner named for upgrades.
  • Sharing limited to named users or security groups.

Common mistakes

  • Using a code app where a form would do. A canvas or model-driven app is cheaper to build and maintain.
  • Bypassing the platform. Calling external APIs with embedded keys defeats the governance you chose code apps for.
  • No ALM. Publishing from a laptop straight to production recreates shadow IT with better tooling.
  • Ignoring limitations. Code apps are a newer capability, so confirm supported features, licensing and limits in the current documentation before committing a roadmap.
  • No named maintainer. Unlike a maker app, a code app needs developers who can keep it current.

The Tech Cloud advantage

At Tech Cloud, we don't just "do Power Apps". We practise pro-code development on the platform, and we are building pilot projects with code apps to help clients retire expensive legacy web applications and consolidate them into a secure, managed Power Platform environment.

From our projects

A code app is only as safe as the delivery process behind it. For ZSE we implemented Power Automate under strict ALM governance, with 75% time saved and more than 10,000 tasks a month. The same approach applies to code apps: separate development, test and production environments, automated pipelines with approval before production, and DLP policies. Read about our Power Apps development (including code apps) and ALM and governance services.

Frequently asked questions

What are Power Apps code apps?

Power Apps code apps let developers build a web app in a framework such as React, Vue or Angular, write it in their own IDE, and run it inside Power Platform. The app inherits Microsoft Entra sign-in and the platform's connectors, governance and sharing model instead of being hosted and secured separately.

How do code apps call connectors from JavaScript?

You add a data source with the Power Platform CLI (PAC CLI), which generates typed client code for the connector in your project. Your front-end code then calls it like a normal function, and the platform makes the call using the signed-in user's connection. No API keys or secrets are stored in the app.

What is the difference between a code app and a canvas app?

A canvas app is built visually with Power Fx in the maker studio, while a code app is a conventional web project written in code. Code apps give you full control over UI, libraries and testing, whereas canvas apps are faster to build for simple forms and CRUD screens.

Do code apps follow DLP and governance policies?

Yes. Code apps run in a Power Platform environment, so they are subject to the environment's data loss prevention policies, sharing rules and admin controls, and users must meet the platform's licensing requirements. This is the main governance advantage over self-hosted web apps.

Can code apps be deployed through a CI/CD pipeline?

Yes. The app is a normal source repository, and the PAC CLI can publish it to an environment from a build agent. Teams typically keep the code in Git, build in GitHub Actions or Azure DevOps, and promote through development, test and production environments with an approval before production.

When should I not use a code app?

Skip it when a canvas or model-driven app already meets the requirement, when you have no front-end developers to maintain it, or when the app must be public to anonymous visitors. For external audiences, Power Pages or a separately hosted site is the better fit.

Code-First, Platform-Scale

Learn how code apps can reduce your Azure hosting costs while improving security. We reply with a concrete next step.

Schedule a Technical Briefing