How do I connect Microsoft Teams to Discera?
, 5 min, By Discera Team
Connect Microsoft Teams to Discera. Add the Discera app to a team, pick a channel, click Link to Discera and sign in as a workspace admin.
TL;DR
Open /settings, find the Microsoft Teams notifications panel and click Add to Teams. Add the Discera app to a team, pick a channel, then click Link to Discera on the card it posts and confirm as a workspace admin. Discera then posts analysis results, failures, quota and integration alerts, and Intel digests and alerts to that channel.
What Discera posts
Once a channel is linked, Discera posts these to it:
- A card for each completed analysis, and a message when a run fails.
- A warning when you pass 80% of your call quota, and another when it is used up.
- Integration alerts, such as Gong being disconnected.
- Intel digests of approved changes.
- Intel instant alerts, for the rules where you turned them on.
Version 1.0 of the app only sent notifications. From version 1.1 it also answers questions, see Ask Discera in Teams below. It does not read other messages in the channel.
Steps
- Ask your Microsoft 365 admin to make the Discera app available, if it is not already. Until Discera is listed in the Teams app store, they upload it in the Teams admin center: Teams apps > Manage apps > Upload new app. Or, in Teams, open Apps > Manage your apps > Upload an app > Upload an app to your org's app catalog. The package is in Settings: under Add to Teams, click Download the app package. It can take a while to appear after the upload.
- Sign in to Discera as a workspace admin and open
/settings. In the Microsoft Teams notifications panel, click Add to Teams. Teams opens the Discera app in a new tab. - Add Discera to a team and pick the channel it should post to. Private and shared channels work too.
- Discera posts a Link to Discera card in that channel. Click Link to Discera. Discera opens a page that names your workspace and the Team and channel.
- Check the names and click Link. If you are signed in to a different Discera workspace than the one you want, switch workspace first.
- Discera returns you to
/settings, posts a "Connected to Discera" card in the channel, and turns on Send Discera notifications to Teams. - Click Send test. Discera posts a "Discera is connected" card to the channel, and Settings says the message was sent. That means Teams accepted it.
Only workspace admins can link a channel. A member who opens the link sees a message asking them to hand it to an admin.
Ask Discera in Teams
With version 1.1 of the Discera app, members of your Discera workspace can ask Discera a question without leaving Teams. It answers from the same workspace data as the assistant in the Discera app.
- In the linked channel: type
@Disceraand your question. Discera answers in the thread. It does not answer in other channels of the team, only in the channel you linked. - In a 1:1 chat: open Discera in Teams and message it. 1:1 chats are off until your Discera admin turns them on, so ask your admin if Discera does not answer there.
Who gets an answer:
- Only members of the linked Discera workspace. Discera matches the person asking to a workspace member by work email. Anyone else gets a short, polite message that says to ask a workspace admin for an invite.
- Guests, and people from other organizations, are not answered.
What to expect:
- Answers are read-only. Discera tells you what it finds, it does not change anything in your workspace.
- Each question uses your workspace's assistant message allowance, the same one the assistant in the Discera app draws on. When the allowance is used up, or the workspace's plan does not include the assistant, Discera answers with a short note that says so and points an admin to Plan in the Discera app.
- Workspace admins see each question in the audit log at
/auditas Teams question answered or Teams question refused: who asked and when. The text of the question and the answer is never stored there.
To get this, a Teams admin updates the Discera app to version 1.1: in the Teams admin center, open Teams apps > Manage apps, find Discera, click Upload file and upload the new package from Settings (Download the app package). Teams can take a few hours to roll it out, and people may need to restart or refresh Teams to see the new 1:1 chat. The assistant also has to be turned on for your workspace.
Change the channel, disconnect or relink
- To move to another channel, add Discera to that channel and click its Link to Discera card. Linking replaces the current connection, and the page tells you so before you confirm.
- Disconnect stops the posts and turns the notification switch off. Discera posts a card in the channel saying it was disconnected, with a new Link to Discera button, so the channel can be linked again.
- If Discera is removed from the team in Teams, Settings shows Needs reconnect. Add Discera to the team again and click the new Link to Discera card.
- A Link to Discera card works for 14 days. If it has expired, the link page shows Send a new link to the channel. Click it and Discera posts a fresh card; the old one stops working.
Each connect and disconnect is recorded in the audit log at /audit as integration.teams_connected and integration.teams_disconnected.
Use a Workflow URL instead
If you cannot add the app, use the Advanced: use a Workflow URL instead option in the panel. Create a Teams Workflow that starts with "When a Teams webhook request is received" and posts a message to a chat or channel, paste its URL into Discera and click Connect. Discera posts a test card first and saves the URL only if Teams accepts it.