Skip to main content
The Microsoft Copilot Managed Runtime connector is available on Business and Enterprise plans. It is rolling out gradually, so it may not be available in your workspace yet.
Before anyone in your organization can publish Lovable apps to Microsoft Copilot Managed Runtime, a tenant admin completes a one-time setup. The setup has two parts: consent to the Lovable application in Microsoft Entra, and two environment settings that let Lovable create apps and deploy externally built apps. The whole setup takes about 20 minutes. A Lovable workspace admin also enables the connector in Lovable, described in Set up your Lovable workspace. This page is for IT admins. If you are a builder, see Build and publish apps to Microsoft Copilot Managed Runtime. Microsoft documents the same setup from its side in Set up Microsoft Copilot Managed Runtime for Lovable. For Microsoft’s general admin guidance, see Microsoft Copilot Managed Runtime overview and key concepts for admins and What is Microsoft Copilot Managed Runtime.

What you are consenting to

Lovable connects to your tenant through a single dedicated Microsoft Entra enterprise application. All of its permissions are user-delegated. Lovable acts only on behalf of the signed-in user, with that user’s own rights, to create the app, deploy it, and connect the data sources the user chooses.
  • Lovable receives no admin access to your tenant and holds no application-level permissions.
  • Lovable can never do more than the signed-in user is already allowed to do under your policies.
  • You can revoke consent at any time in Microsoft Entra, which prevents new access from Lovable. See Revoke access.
Users sign in with their organizational Microsoft Entra identity when they connect Lovable. For this to work, a tenant admin first adds Lovable as an enterprise application and grants admin consent for the whole organization. Both paths below produce the same result: one enterprise application named Lovable managed apps, consented for every user in your tenant.
The enterprise application is listed as Lovable managed apps in Microsoft Entra and in the Microsoft Entra App Gallery. Inside Lovable, the same connection appears as Microsoft Copilot Managed Runtime.
Use this path to find and approve the application from Microsoft’s catalog. It signs you in to Lovable along the way and creates a Lovable connection for your own account.
1

Find the application

In the Microsoft Entra admin center, go to Identity → Applications → Enterprise applications → New application and search for Lovable managed apps. Two Lovable listings exist. Pick Lovable managed apps, not Lovable SSO, which is sign-in to the Lovable product itself.
2

Sign up from the tile

Open the tile and select Sign up for Lovable managed apps. The gallery offers no Create button for this application. Adding it happens through the sign-up flow.
3

Connect in Lovable

The link opens Lovable’s connection setup. Sign in to Lovable if asked, leave Environment ID empty unless you decided on a specific environment in step 3, and select Connect.
4

Consent for your organization

Sign in with your Microsoft work account and review the permissions. Tick Consent on behalf of your organization, then select Accept. Without the checkbox, consent applies to your account only, and every other builder is asked for admin approval when they connect.
When you reopen the tile afterwards, it reports that Lovable managed apps has already been added and the sign-up button is disabled. This is expected. Each tenant holds one instance of the application, and builders connect from inside Lovable from here on. Use this path if you do not want a Lovable account, if you automate tenant onboarding, or if the gallery is not available to your tenant. It grants consent for your whole organization without opening Lovable.
1

Get your tenant ID

Find your Microsoft Entra tenant ID in the Microsoft Entra admin center.
2

Open the admin consent URL

Replace {tenant-id} in the following URL with your tenant ID, and open it in a browser:
3

Review and accept

Sign in as a tenant admin and review the consent screen. It lists the permissions Lovable uses to create, deploy, and run apps in Copilot Managed Runtime on a user’s behalf. Accept to add Lovable managed apps to your tenant.
If you skip this step, builders’ Microsoft sign-in fails when they try to connect Lovable.
Most enterprise tenants restrict user consent. Granting admin consent up front prevents every builder from being blocked at sign-in. If consent was granted for a single account by mistake, open the admin consent URL above, or go to Enterprise applications → Lovable managed apps → Permissions and select Grant admin consent.

Step 2: Allow app creation and external artifact deployment

Lovable creates each app through the Copilot Managed Runtime command-line interface (CLI) and builds it outside Microsoft’s build system. Two environment settings control this, and both are disabled by default. Enable both for every environment or environment group where your builders publish Lovable apps:
  • Allow app creation with the Copilot Managed Runtime command line interface (CLI) lets Lovable create the app when a builder connects a project. While it is disabled, Microsoft rejects app creation.
  • External artifacts in managed apps lets Lovable deploy the app it built. While it is disabled, Microsoft rejects publishing. Microsoft also calls this setting external artifact deployment.
1

Open the managed apps settings

Sign in to the Power Platform admin center and go to Copilot → Settings → Managed apps.
2

Allow app creation with the CLI

Select Allow app creation with the Copilot Managed Runtime command line interface (CLI). Choose Environment groups or Environments, select the group or environment where your builders publish, enable the setting, and save.
3

Allow external artifacts

Select External artifacts in managed apps, select the same group or environment, enable the setting, and save.
For an environment group, you can instead go to Manage → Environment groups, select the group, open Rules, and enable both rules there. A rule published for a group locks the setting for every environment in the group, so you cannot make an exception for one environment inside it.

Step 3: Decide where apps are created

When a builder connects a project without an environment ID, Lovable requests an environment under the builder’s identity and creates the app in it. Each builder gets one environment, it holds all of their apps, and Microsoft reuses it for their later projects. If the app does not exist yet when the builder publishes, Lovable creates it then. These environments are created without Dataverse. You have two levers:
  • Let builders use their own environments. Check that your nominated builders are allowed to create environments under Settings → Tenant settings → Developer environment assignments in the Power Platform admin center. Environments created this way join the default environment group, so enable both settings from step 2 for that group.
  • Target a specific environment instead. Create or pick an environment, and give its environment ID to your builders. They paste it into the Environment ID field when they set up their Lovable connection, and apps are created there instead. Enable both settings from step 2 for that environment or its group, and confirm that each builder can create apps in it.

Review connector and data policies

Apps in Copilot Managed Runtime reach data through connectors published by Microsoft in the app’s environment, so your existing data policies apply to them at runtime. Review the data policies for the environments your builders will use, and confirm the connectors they plan on (for example SharePoint, Outlook, Excel Online, or Dataverse) are allowed there. Some connectors, such as SQL Server, might require an administrator to create a connection before builders can use them. Create that connection at make.powerapps.com → Connections in the app’s environment.

Network requirements

Allow these domains through proxies, firewalls, and browser policies for everyone who builds or uses apps in Copilot Managed Runtime:
  • lovable.dev and subdomains
  • login.microsoftonline.com
  • *.powerapps.com
  • *.managedapps.cloud.microsoft
  • *.lovable.app
  • *.lovableproject.com
The in-editor preview runs inside the Copilot Managed Runtime host as an embedded frame. Proxies that inspect TLS traffic or browser policies that strip embedded third-party content break the preview silently. Include a builder on your normal corporate network in your first test. Conditional Access. Your Conditional Access, multi-factor authentication, and identity protection policies apply when a builder signs in and consents. After consent, Lovable refreshes access server-side from its own infrastructure. If you enforce location-based or device-based Conditional Access, test those policies with a real builder sign-in before rolling out.

Licensing

Builders need permission to create apps in your environments. People who open a published app need the Microsoft license your organization uses for Copilot Managed Runtime. Confirm current requirements with your Microsoft contact, since licensing for Copilot Managed Runtime is set by Microsoft, not Lovable.

Set up your Lovable workspace

Microsoft tenant setup is one half of the admin work, and a Lovable workspace admin completes the other half. The Microsoft Copilot Managed Runtime connector is available on Business and Enterprise plans, and it is rolling out gradually, so it may not be available in your Lovable workspace yet.
  1. Choose who can create Microsoft Copilot Managed Runtime connections. Go to Connectors → Admin settings → App + chat connectors and pick No one, Admins, or Editors & admins for the connector. The setting doubles as the availability switch. On Business and Enterprise plans it starts at Admins. Some Enterprise workspaces start at No one, so the connector stays disabled until you change it. See Who can create connections and clients.
  2. Each builder creates their own connection with their own Microsoft sign-in, and controls who can use it. Connection access also gates project sharing: teammates need access to a project’s connection to work in that project. See Who can use connections and clients.

Governance and auditing

Published apps in Copilot Managed Runtime behave like any other app in your Microsoft estate:
  • They appear under Apps → All apps in the Microsoft 365 admin center within 15 minutes of being created, updated, or deleted. From there you can block an app while you investigate it, or delete it.
  • Each app’s detail panel shows its usage and its operational health, such as app open success rate and data request latency. A Data & tools tab lists the app’s connectors, data sources, and dependencies, but not the exact actions the app ran or each user’s permissions to the underlying data.
  • Your data loss prevention and connector policies are enforced at runtime.
  • End users’ runtime activity in published apps stays in your Microsoft estate. It does not flow back to Lovable.
Lovable’s own record of a project (its source code and chat history) stays in Lovable, governed by your Lovable workspace settings.

Revoke access

Revoking Lovable’s access prevents new access from Lovable, but it does not remove apps that are already deployed. To remove Lovable’s access:
  1. In the Microsoft Entra admin center, go to Enterprise applications → Lovable managed apps and revoke consent or delete the application. Apps already deployed stay in your tenant until you block or delete them.
  2. Have builders remove their Microsoft connections in Lovable, which deletes the stored grant.
  3. In the Microsoft 365 admin center, go to Apps → All apps and block or delete the deployed apps. This needs the Global Administrator or Power Platform Administrator role. Removing apps there is the authoritative teardown. Lovable cannot remove an app from your tenant.
  4. In the Power Platform admin center, remove environments and connections you no longer need, and disable the two settings from step 2 if no other approved workflow uses them.

Troubleshooting

Admin consent has not been granted, or was granted after the builder’s first attempt. Complete step 1, then have the builder retry the connection.
The connector is rolling out gradually on Business and Enterprise plans, so it may not be available in your Lovable workspace yet. If it is available, check the connector’s Who can create connections and clients setting. If it is set to No one, members cannot see the connector. A Lovable workspace admin or owner changes it under Connectors → Admin settings → App + chat connectors.
Check that both settings from step 2 are enabled for the target environment or its environment group. Microsoft rejects app creation while the CLI setting is disabled and rejects publishing while the external artifacts setting is disabled. Then check that the builder either can create an environment or has a valid environment ID in their connection (step 3).