What is Copilot Managed Runtime?
Copilot Managed Runtime is a host for apps that runs inside your organization’s Microsoft Entra tenant (your company’s own space in Microsoft’s cloud) under Microsoft’s governance, which your IT team configures in the Power Platform admin center. Every app that runs in Copilot Managed Runtime requires a Microsoft work sign-in, respects the data policies your IT team has set, and appears in your IT team’s app inventory alongside everything else the company runs. You build the app in Lovable, Lovable packages it with the Copilot Managed Runtime SDK, and Microsoft hosts and runs it. For more on the platform itself, see Microsoft’s documentation:- What is Microsoft Copilot Managed Runtime
- Microsoft Copilot Managed Runtime overview and key concepts for admins
- Build apps with the Microsoft Copilot Managed Runtime SDK
When to use Copilot Managed Runtime
Common use cases and example apps
Prerequisites
- A Microsoft work account. Personal Microsoft accounts do not work with Copilot Managed Runtime.
- A one-time setup by your IT team. If your Microsoft sign-in fails when you try to connect, this setup is usually the missing piece. Send your IT team to Set up your Microsoft tenant for Copilot Managed Runtime.
- A workspace on the Business or Enterprise plan. The connector is not available on Free and Pro plans.
- Permission to create connections in your workspace. Workspace admins and owners choose who can create connections for each connector: No one (the Enterprise default, which disables the connector), Admins (the Business default), or Editors & admins. See Who can create connections and clients.
Create a project for Copilot Managed Runtime
Start a new project and describe what you want to build, naming Copilot Managed Runtime as the place where the app runs.Connect to Microsoft Entra
Your project needs a Microsoft Copilot Managed Runtime connection before Lovable can set anything up in your Microsoft Entra tenant. The connection uses your Microsoft sign-in, and everything Lovable does in your tenant through it happens under your identity. The connector uses Lovable’s gateway architecture for secure sign-in handling and automatic token refresh. See Gateway-based connectors for details. Your Microsoft credentials are never exposed to your app’s code. There are two ways to connect. Most people connect from the project chat.Connect from the project chat
When your project needs a Microsoft connection, Lovable asks and shows a connect dialog in the project chat. You can also start it yourself at any time:Connect from the Connectors page
Open the connector
Add a connection
Name the connection
Optionally set an environment
Choose who can use this connection
Connect
Choose a Microsoft environment
By default, Microsoft creates an environment for you and reuses it afterward. Each builder gets one environment, and it holds all of their apps. If your IT team wants apps in a specific environment instead, they give you an environment ID.- Enter it in the Environment ID field when you create the connection. The field expects an ID like
00000000-0000-0000-0000-000000000000. - To look yours up, use the Find your environment ID link on the field, which opens the environments list in the Power Platform admin center.
Manage the connection
- Sharing controls which workspace members can link the connection to projects and work in projects that use it. A project using your connection can only be shared with workspace members who have access to the connection, so if teammates will collaborate on your project, share the connection with them. See Who can use connections and clients.
- Sharing access does not change whose Microsoft identity is used. Everything Lovable does in your Microsoft Entra tenant through this connection, including publishing, happens under the account that signed in during setup.
- A project links exactly one Microsoft connection. If several connections are available, Lovable asks which one to use, and it never links someone else’s connection without your confirmation.
- Connection settings (renaming, changing access, unlinking projects, deleting) work the same as for other connectors. See App connectors.
Build your app
Build an app for Copilot Managed Runtime the same way you build any Lovable app: describe what you want in the project chat. When your app needs Microsoft data, name the source and Lovable connects it for you.Preview your app
The live preview in the editor runs inside the Copilot Managed Runtime host. The first time it loads, Microsoft asks you to sign in. This is expected: apps in Copilot Managed Runtime always verify who is looking at them, even in preview. If the preview stays blank on your corporate network, your company’s network security may be blocking embedded Microsoft content. Ask your IT team to check the network requirements.Publish your app
Open the publish dialog
Publish
Open or share the URL
Share your app with colleagues
Colleagues open your app at its URL and sign in with their Microsoft work account. Published apps also appear in Microsoft’s Copilot Managed Runtime app portal, where people in your organization can find, open, and share them. Sharing controls for the published app live on the Microsoft side, not in Lovable. You manage who can open your app from the Copilot Managed Runtime app portal, the same way you would for any other app in your organization.Limitations
- Apps in Copilot Managed Runtime are for people inside your organization. There is no public or anonymous access.
- Publishing is tied to the Microsoft work account that created the project’s connection. Colleagues who want to publish their own projects connect their own Microsoft work accounts.
- Apps in Copilot Managed Runtime do not use Lovable Cloud. Databases, secrets, and backend functions are not part of an app in Copilot Managed Runtime. Your app works with data through Microsoft connectors instead.
- Removing a published app happens in Microsoft’s admin tools, not in Lovable. Ask your IT team to remove an app you no longer want available.
FAQ
Where does my app's data live?
Where does my app's data live?
Is this an app user connector?
Is this an app user connector?
Can people outside my organization use my app?
Can people outside my organization use my app?
Can my teammates work on the project with me?
Can my teammates work on the project with me?
Which plans include Microsoft Copilot Managed Runtime?
Which plans include Microsoft Copilot Managed Runtime?
What does my app cost to run?
What does my app cost to run?
Troubleshooting
Couldn't connect to Microsoft
Couldn't connect to Microsoft
Setup failed
Setup failed
My sign-in fails when I try to connect
My sign-in fails when I try to connect
Lovable found more than one Microsoft connection
Lovable found more than one Microsoft connection
I can't find the Microsoft Copilot Managed Runtime connector
I can't find the Microsoft Copilot Managed Runtime connector
The preview does not load
The preview does not load