Introduction
Microsoft Power Apps Code Apps is a new development approach that enables professional developers to build enterprise-grade applications using modern web technologies while seamlessly integrating with the Power Platform.
Unlike traditional Canvas Apps, which rely on drag-and-drop design and Power Fx formulas, Code Apps let developers create applications using React, TypeScript, HTML, and CSS. This approach offers greater flexibility, improved maintainability, and access to the entire JavaScript ecosystem.
Whether you're building internal business applications, customer portals, or enterprise solutions, Code Apps combine the power of modern frontend development with native Power Platform services.
What are Power Apps Code Apps?
Power Apps Code Apps allow developers to create Single Page Applications (SPAs) using React and TypeScript while leveraging Microsoft Power Platform capabilities such as:
Dataverse integration
Authentication
Environment management
Power Apps hosting
Security
Deployment
Instead of designing screens visually, developers write code just as they would for any React application.
Why Choose Code Apps?
| Canvas Apps | Code Apps |
|---|---|
| Drag-and-drop UI | React + HTML + CSS |
| Power Fx | JavaScript / TypeScript |
| Citizen developers | Professional developers |
| Limited UI customization | Full UI control |
| Basic testing | Unit & Integration testing |
| Limited Git support | Full Git integration |
| Limited component reuse | Reusable React components |
Benefits of Code Apps
Some of the major advantages include:
Modern React development
TypeScript support
Complete UI customization
Access to npm packages
Component-based architecture
Better performance
Git-based version control
Enterprise testing capabilities
CI/CD integration
Native Dataverse connectivity
Code Apps Architecture
The architecture consists of five major components:
User
│
Power Apps Host
│
Power Apps SDK
│
React Application
│
Dataverse / APIsUser
The end user interacts with the application through Power Apps.
Power Apps Host
Responsible for:
Authentication
App lifecycle
Security
Navigation
Error handling
Power Apps SDK
Acts as the bridge between your React application and Power Platform services.
It provides APIs for:
Dataverse
User information
Navigation
Environment configuration
React Application
This is the application you build using:
React
TypeScript
HTML
CSS
Dataverse / APIs
Your application connects to:
Microsoft Dataverse
REST APIs
Azure Functions
External APIs
Prerequisites
Before creating a Code App, install the following tools:
Visual Studio Code
Node.js (Latest LTS)
Power Apps CLI
Git

Join the conversation! Your thoughts help the community grow.