KBAISE/ for lovable
Library
Docs

Connect your app to Microsoft 365

about 5 minBuildingchecked 8d agoOfficial page
The short version

Connect your Microsoft 365 services like Outlook, Teams, or OneDrive to your Lovable app using a shared Microsoft account. Once authorized, your app can read and write data using your account permissions.

Anyone who wants their app to interact with Microsoft tools using a shared company or personal account.

Do this, in order

  1. 1

    Go to Connectors in your Lovable dashboard and click on the Microsoft tool you want to connect, like Microsoft Outlook or Microsoft Teams.

    Each Microsoft 365 product has its own tile and specific connection setup.

  2. 2

    Click Connect and enter a clear Display name for this connection.

    The display name helps you identify the correct account inside your Lovable projects.

  3. 3

    Click Advanced settings to review permissions, and adjust the Sharing settings if you want teammates in your workspace to use it.

    By default, connections are private to you unless you explicitly share them with workspace members.

  4. 4

    Click Connect at the bottom of the form, log into your Microsoft account, review the requested access, and click Accept.

    This securely links your Microsoft account credentials to Lovable so your app can make calls on your behalf.

  5. 5

    In your Lovable project chat, ask the AI to link your app to the new Microsoft connection and build your feature.

    The project chat connects your app code to the shared credentials you just authorized.

Paste this into your project

Use Microsoft Outlook and build a dashboard that shows my unread email by sender and lets me send replies.

Words decoded

Microsoft Graph
The central pipeline Microsoft uses to let outside apps talk to services like Outlook, Teams, and OneDrive.
Scopes
The list of specific permissions an app asks for, such as reading emails versus deleting files.
Admin consent
Approval required from your company IT administrator before you can connect an outside app to your work Microsoft account.

Where people get stuck

  • App connectors share a single Microsoft account across the whole app; if your end users need their own personal data, you must use an app user connector instead.
  • Company IT policies or conditional access can block the sign-in until an IT administrator approves Lovable in your Microsoft 365 tenant.
  • Browser pop-up blockers might interrupt the Microsoft login window.

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.