These connections let the Leanmote Agent and Lean act in Microsoft 365 as you: send a Teams chat message, send an email from your Outlook mailbox, and create an event in your Outlook calendar. There are three of them (Teams, Outlook mail and Outlook Calendar), each connected on its own, all through the «Leanmote Agent» app in Microsoft Entra ID.
They are separate from the Microsoft Teams and Outlook Calendar data integrations (Administration → Integrations), which only read for Context.
What the agent can do
Nothing is sent or created without your OK: you see a card with what will happen, and the action runs only after you confirm it.
Teams: send a 1:1 chat message as you.
Outlook mail: send an email from your mailbox. It goes out under your name and stays in your Sent items. Plain text only.
Outlook Calendar: create an event in your calendar, for example a block of time to review the pull requests waiting for you.
Connect
Open the Actions Hub and go to Your agents.
In Connections, choose the service (Teams, Outlook or Outlook Calendar) and click Authorize.
Sign in with your work account and accept the permissions.
If you ask Lean for something that needs one of these connections and it is missing, Lean gives you a link to connect it.
If your organization does not let people consent to apps: Microsoft stops the sign-in and Leanmote shows a link for an administrator of your Microsoft tenant. That link asks the admin to approve only the permissions of that service (listed below), not everything the app has. Once an admin approves, connect again.
To reconnect or disconnect later: Connections → Manage → Agent connections.
Connection details
Detail | Value |
Connection type | OAuth 2.0 with the «Leanmote Agent» app in Microsoft Entra ID (delegated permissions). |
Who connects in Microsoft 365 | You, with your work account. If your tenant blocks user consent, a tenant administrator has to approve the permissions once. |
Who can connect in Leanmote | Only you, for yourself. Nobody can connect these on someone else's behalf. |
Credential | Personal: the agent acts as you. |
Write access | Yes: sends chat messages and emails and creates calendar events as you, always after you confirm. |
Scopes requested
Teams
ChatMessage.Send— send the chat message as you.Chat.Create— open the 1:1 chat with the person if it does not exist yet.openid,profile,offline_access— identify your account and keep the connection working without signing in again.
Outlook mail
Mail.Send— send the email from your mailbox.Mail.Read— requested by the app but not used by any action; it is being removed.openid,profile,email,offline_access— identify your account and keep the connection working.
Outlook Calendar
Calendars.ReadWrite— create the event in your calendar.openid,profile,offline_access— identify your account and keep the connection working.
Disconnect
Open Connections → Manage in the Actions Hub and click Disconnect next to the service. The agents stop using it right away. To also revoke it on Microsoft's side, remove «Leanmote Agent» from the apps at myapps.microsoft.com or ask your tenant administrator.
Related articles
Leanmote Agent connections
Microsoft Teams integration
Outlook Calendar integration
