For app publishers

Teams

Let the app post to Microsoft Teams channels, and where.

What this is

This page lets your app post messages in Microsoft Teams, a chat tool many companies use. The messages come from cyantula's own Teams bot, with your app's name at the top, so you handle no key or address. Channels, threads and direct messages to colleagues work.

You can only pick from the channels your administrator made available. You can narrow that list for your app, never widen it.

Where to find it

  1. Open the Apps page and click your app.
  2. Click the card Integrations, then Teams.

Teams is an Advanced theme. Switch to Advanced at the top of the app page.

Teams only shows when your administrator has set up the Teams bot, or when your app already has Teams switched on. If you do not see it, ask your administrator.

What you see

Let this app post to Microsoft Teams. The main block:

  • This app posts to Teams: the on/off switch.
  • Default channel: a list of the allowed channels, written as team name and channel name, plus No default channel. It has a Save button.
  • Only these channels: one tick box per allowed channel, and a Save button. Tick none to allow every channel your administrator made available.
  • Once Teams is on: App token, with Show and Copy, and Post a test.
  • A line at the bottom: how many messages were Posted in the last 24 hours, out of the daily limit, the name it posts as, and the channels it is limited to.

What this app has posted. A table with When, Where, Message and Status.

How to switch Teams on

  1. Tick This app posts to Teams.
  2. A green message says Teams is on. Click Deploy to hand the credentials to your app.
  3. Deploy the app. See Deploys & logs.

How to choose the default channel

  1. Pick a channel in Default channel.
  2. Click Save.
  3. A message says Default channel saved. Deploy to apply it. Deploy the app.

How to limit the app to some channels

  1. In Only these channels, tick the channels the app may use.
  2. Click the Save button under the list. A message says Saved.

A message to any other channel is refused and shows in the log. Direct messages to colleagues work when the colleague has connected to Teams and has not paused it.

A channel your administrator no longer allows shows as A channel an admin no longer allows. Untick it to remove it from your list.

How to post a test

  1. Switch Teams on. Post a test only shows once it is on.
  2. Choose where it goes: the default channel, one of the allowed channels, or A direct message to you.
  3. Click Post test. A message says Test message posted.

When something looks wrong

  • The Teams bot is not set up on this cyantula server (any more), so nothing can be posted. Ask an administrator. You can still switch Teams off.
  • No Teams channel is available to apps yet. Your administrator has not chosen any channels. Until then the app can only message colleagues directly.
  • No channels to choose from yet. Same cause.
  • Nothing posted yet. The app has not posted, or Teams is not deployed yet.
  • (no longer allowed) next to the default channel: your administrator withdrew it. Pick another one.
  • A red message after you click a button: the change was not saved. Try again. If it keeps failing, ask an administrator.

Good to know

  • Switching Teams on or off and changing channels only reach the running app after a deploy.
  • Your administrator decides which channels can be used. You cannot add a channel here.
  • The app token is the same one Email uses. To replace it, go to Email and click Regenerate.