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.
Step 1: Add the Lovable application and grant admin consent
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.Option A: Add it from the Microsoft Entra App Gallery
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.Find the application
Sign up from the tile
Connect in Lovable
Consent for your organization
Option B: Use the admin consent URL
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.Get your tenant ID
Open the admin consent URL
{tenant-id} in the following URL with your tenant ID, and open it in a browser:Review and accept
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.
Open the managed apps settings
Allow app creation with the CLI
Allow external artifacts
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.devand subdomainslogin.microsoftonline.com*.powerapps.com*.managedapps.cloud.microsoft*.lovable.app*.lovableproject.com
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.- 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.
- 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.
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:- 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.
- Have builders remove their Microsoft connections in Lovable, which deletes the stored grant.
- 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.
- 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
The gallery says the application has already been added
The gallery says the application has already been added
The Lovable application does not appear in the Entra gallery
The Lovable application does not appear in the Entra gallery
Builders' sign-in fails when connecting Lovable
Builders' sign-in fails when connecting Lovable
Builders cannot find the connector in Lovable
Builders cannot find the connector in Lovable
Publishing fails with an environment error
Publishing fails with an environment error