Edit

Share via


Power Apps code apps overview (preview)

Note

Preview features aren’t meant for production use and may have restricted functionality. These features are available before an official release so that customers can get early access and provide feedback.

Power Apps empowers developers of all skill sets, including those building web apps in integrated developer environments (IDEs) like Visual Studio Code, to efficiently build and run business apps on a managed platform.

Code apps let developers bring Power Apps capabilities into custom web apps built in a code‑first IDE. You can develop locally and run the same app in Power Platform. Build with popular frameworks (React, Vue, and others) while keeping full control over your UI and logic.

Key features include:

  • Microsoft Entra authentication and authorization
  • Access to Power Platform data sources and 1,500+ connectors, callable directly from JavaScript
  • Easy publishing and hosting of line-of-business web apps in Power Platform
  • Adherence to your organization's Managed Platform policies (app sharing limits, Conditional Access, Data Loss Prevention, and so on)
  • Simplified deployment and application lifecycle management (ALM)

The managed platform accelerates safe, rapid innovation, and when ready, apps can be deployed to dedicated production environments.

Prerequisites

Code apps require several developer tools like Visual Studio Code, git, dotnet, node.js, and npm to be available on the command line.

Install the following developer tools

Use these tools while creating code apps:

Enable code apps on a Power Platform environment

Code apps can be enabled via an environment setting that Power Platform Admins and environment admins can set. The environment setting respects groups and rules set by Power Platform Admins.

  1. As an admin, go to Power Platform admin center

  2. Navigate to Manage > Environments > select the environment where you'll use code apps

  3. Navigate to Settings > Expand the Product subsection > Select Features

    Enable features

  4. Navigate to the feature Power Apps code apps and use the Enable code apps toggle for enablement.

    Enable code apps

  5. Select Save in the settings experience.

License end-users with Power Apps Premium

End-users that run code apps need a Power Apps Premium license.

Explore samples and report issues

To help you get started and stay productive, we recommend using the resources available in the Power Apps Code Apps GitHub repository

Find samples

Browse sample projects and starter templates shared by the community and Microsoft. These examples can help you learn best practices and accelerate development.

Submit new issues

If you encounter a bug or need help, open a new issue in the repository. Provide clear details about your scenario, steps to reproduce, and any error messages. For bugs, use the template provided in the issue creation experience to ensure all necessary information is captured. This template helps the team and community respond quickly and effectively.

Tip

If you find an existing issue or enhancement that applies to you, upvote or comment on it to signal its priority to the product team.

Review completed issues

Check the Closed tab in Issues to see how other customers solved problems or requested enhancements. Closed issues are a great way to learn from real-world scenarios and confirm whether a fix or feature you need is already available.

Limitations

  • Code apps can invoke APIs outside of Power Platform connectors. Code apps don't yet support Content Security Policy (CSP).
  • Code apps don't yet support Storage Shared Access Signature (SAS) IP restriction.
  • Code apps don't support Power Platform Git integration.
  • Code apps don't have a Power Platform native integration with Azure Application Insights. Azure Application Insights can be added as it would be to a generic web app but it doesn't include information recognized in the platform layer, such as app open events (to measure success/failure).
  • Code apps aren't supported in the Power Apps mobile app or Power Apps for Windows.
  • Code apps don't yet support Power BI data integration (PowerBIIntegration function), but can be embedded in Power BI Reports using Power Apps Visual.
  • Code apps don't support SharePoint forms integration.

Managed Platform capability support

This table enumerates Power Platform management capabilities that work for code apps.

Capability Notes
End-users see consent dialog for connector permissions Learn more
Sharing limits Code apps respect canvas app sharing limits. Learn more
App Quarantine Learn more
Data Loss policy enforcement during app launch Learn more
Conditional Access on an individual app Learn more
Admin consent dialog suppression Consent suppression is supported for both Microsoft connectors that use OAuth and custom connectors that use OAuth. Learn more
Tenant isolation Learn more
Azure B2B (external user access) Code apps might be shared with and accessed by end-users using Azure B2B to access resources in a tenant, similar to canvas apps. Learn more
Health metrics Operational health metrics for code apps are available in both the Power Platform admin center and the maker portal. Learn more