Microsoft Teams

Connect your company's Microsoft tenant, link your own account and let agents answer in Teams.

Laze mirrors your Microsoft Teams channels and chats, so you read and answer them from Laze and add agents to them. Teams stays the source: Laze keeps a short cache to show messages fast and reads older history from Teams when you scroll back.

Connect your Microsoft tenant (admins)

Each company connects Laze through an app in its own Microsoft Entra tenant. An admin does this once. The dialog in Laze walks through every step.

  1. Open the setup

    Open Settings, Slack, Teams, Discord and WhatsApp, press Connect on the Microsoft Teams row and click Connect Teams.

  2. Register the app

    In the Entra admin center, open App registrations and press New registration. Name it Laze. Keep Supported account types on Single tenant only. Under Redirect URI, pick Web, paste the address from the dialog and press Register.

  3. Make a secret

    In the app, open Certificates & secrets and press New client secret. Copy its Value before you leave the page.

  4. Paste ids and secret

    Paste the values from the app's Overview page and the secret you made. Laze checks them with Microsoft before it keeps them.

  5. Save and ask for consent

    Click Save and ask for consent. Microsoft asks your tenant's admin to allow what Laze needs, so you add no permissions yourself. If that is someone else, press Get a link for your admin and send it to them. They need no Laze account.

Connecting brings in nothing for anyone yet. Each person links their own account in the next step.

Under Advanced, an admin can name who may link, choose channels and turn chats off. See Connectors and skills.

Open Settings, Slack, Teams, Discord and WhatsApp, open the Microsoft Teams row and click Link your account. Sign in with your account in your company's tenant.

Laze then shows the channels and chats you are in, and nothing else. A conversation appears once it has a message inside the cache window. To keep one out of Laze, turn it off in the same place.

From the terminal, laze teams link does the same with your own key, and laze teams lists every command.

What syncs

In TeamsIn Laze
Standard and private channelsPrivate channels, grouped by team, with only the linked people Teams lists in them
One-on-one, group and meeting chatsDirect messages and group messages
Messages, replies, edits, deletes and reactionsFollow both ways; from Laze you edit and delete only your own messages
FilesOpen through Laze, streamed from Teams; Laze never stores a copy

When you have linked Teams, a message you write in Laze goes to Teams as you. Someone who has not linked posts through your company's bot, with their name in the text.

Set up the Teams bot (admins)

Agents answer in Teams through a bot your company owns. An admin opens the Microsoft Teams row and presses Set up under Teams bot.

  1. Make the bot

    In Teams Developer Portal, open Tools, Bot management, and choose New bot. Name it Laze.

  2. Point it at Laze

    Open the bot, go to Configure and paste the bot endpoint address from the dialog. Then go to Channels, tick Microsoft Teams and save.

  3. Paste id and secret

    Copy the Bot ID and a new client secret into Laze. Laze checks them with Microsoft before it keeps them.

  4. Add it in Teams

    Press Download Teams app package first. In Teams, open Apps and click the gear, Manage your apps. Choose Upload an app, then Upload a custom app, and pick the package. Click Add, then pick a channel of the team. In all its channels, people mention Laze to bring agents in.

To offer it to everyone, a Teams admin uploads the same package in the Teams admin center under Manage apps.

Agents in Teams conversations

Add an agent to the conversation from its members in Laze. People in Teams then mention the bot and the agent's name: @Laze Scout, can you check? With one agent in the conversation, its name can be left out.

The agent answers in the same thread, on a card with its own name and picture. If the conversation has no agent, the bot sends you a link to its members in Laze. Where the bot is not installed, the agent's answer stays in Laze and is marked as not sent.

Write to the bot

Write to the bot in its personal chat in Teams and your own personal agent answers there. If you have not linked your account, or have no agent of your own, the bot sends you a link to do that first. It does not work while an admin has Teams chats turned off.

Search and history

Laze keeps the last 7 days of Teams messages; an admin can set this between 1 and 30 days. When you scroll past the cache, Laze reads older messages from Teams with your own sign-in and does not store them. Search shows results from Teams in their own section, with only what you can read there.

What does not mirror

  • Shared channels. They are listed as Not live: shared channel.
  • Reactions from Laze on an agent's message. Teams gives bots no reactions, so they stay in Laze.
  • Reactions with a custom Laze emoji.
  • Read markers of channels. Reading a chat in Laze does mark it read in Teams.
  • Buttons on cards from Teams apps. The card shows as text.

Disconnect

An admin can disconnect a tenant from the same page. Laze deletes the app's secret and everyone's links, and Teams conversations stop coming in. Messages already in Laze are gone by the end of their cache window. Teams keeps everything.

Limits

LimitValue
Microsoft tenants per Laze workspace5
Channels followed live per tenant500
Cache window7 days by default, 1 to 30