KBAISE/ for lovable
Library
Docs

Build and publish apps to Microsoft Copilot Managed Runtime

about 15 minBuildingchecked 1h agoOfficial page
The short version

You can build apps in Lovable that run inside your company's Microsoft system, using your work sign-in and following your company's IT rules. This is great for internal tools that need to use your company's Microsoft data like SharePoint or Excel.

Anyone building an internal tool for colleagues that needs to access company data stored in Microsoft 365.

Do this, in order

  1. 1

    Make sure your Lovable workspace is on a Business or Enterprise plan and your IT team has completed the one-time setup for Microsoft Copilot Managed Runtime.

    This feature requires specific Lovable plans and an initial setup by your company's IT department to work.

  2. 2

    Start a new project in Lovable and tell it you want to build an app for Microsoft Copilot Managed Runtime, describing what you want it to do.

    This tells Lovable to prepare your app to run within your company's Microsoft system.

  3. 3

    Connect your Microsoft work account to your Lovable project, either by responding to Lovable's prompt in the chat or by going to the 'Connectors' page.

    This link allows Lovable to set up and publish your app within your company's Microsoft system under your identity.

  4. 4

    Continue building your app by describing features and data sources (like SharePoint or Dynamics 365) in the project chat.

    You build the app as usual, and Lovable connects to your specified Microsoft data sources.

  5. 5

    Open the 'Publish to' section in Lovable and select 'Publish' for Microsoft Copilot Managed Runtime.

    This deploys your app to your company's Microsoft system, making it available to your colleagues.

  6. 6

    Copy the 'App URL' after publishing finishes and share it with your colleagues.

    This is the link your colleagues will use to access the app, signing in with their Microsoft work accounts.

Paste this into your project

Create an app for Microsoft Copilot Managed Runtime that approves purchase orders.

Words decoded

Microsoft Copilot Managed Runtime
This is a special place within your company's Microsoft system where apps can run. It means your app uses your company's Microsoft sign-in, follows its IT rules, and keeps all its data inside your company's Microsoft space.
Microsoft Entra tenant
Think of this as your company's private, secure area within Microsoft's cloud services. It's where all your company's users, apps, and data are managed.
Power Platform admin center
This is a website where your company's IT team manages various Microsoft business applications and services, including settings for apps that run in Copilot Managed Runtime.
SDK
This is a 'Software Development Kit,' a collection of tools and instructions that helps Lovable build apps specifically for the Microsoft Copilot Managed Runtime.
Gateway architecture
This is a secure way for Lovable to connect to other services like Microsoft without directly exposing your login details to your app's code. It handles your sign-in and keeps it refreshed safely.
Microsoft environment
Within your company's Microsoft system, an environment is a dedicated space for storing, managing, and sharing your organization's business data, apps, and flows. Your IT team might set up specific ones for different purposes.

Where people get stuck

  • Trying to use a personal Microsoft account instead of a work account.
  • Not having your IT team complete the necessary one-time setup for your Microsoft tenant.
  • Attempting to use this feature on a Free or Pro Lovable plan instead of Business or Enterprise.
  • Expecting public or anonymous access to apps published to Copilot Managed Runtime; they are internal only.
  • Trying to use Lovable Cloud features like databases or secrets with a Copilot Managed Runtime app, as these apps work with Microsoft connectors instead.
  • Forgetting that removing a published app must be done through Microsoft's admin tools, not in Lovable.
  • Not sharing the Microsoft connection with teammates who need to collaborate on the project.
  • Encountering issues with the preview not loading due to corporate network security or browser policies blocking embedded Microsoft content.

The short version, steps, decoder and prompt on this page are written automatically from Lovable's own documentation and can lag or misread it. The official page is always the authority.