Skip to main content

Microsoft Teams

The Microsoft Teams screen enables you to configure the integration between Kuroco and a Microsoft Teams bot. The configured settings are used so that when a message is sent to the bot in a Teams chat, Kuroco receives and processes it.

Accessing the screen

In the left sidebar menu, click [Channels] -> [Messaging] -> [Microsoft Teams].

Image from Gyazo

Item descriptions

Image from Gyazo

ItemDescription
EnableTurn on the toggle to enable the Microsoft Teams integration.
Microsoft App IDEnter the "Application (client) ID" of the application registered in Azure.
App Password (client secret)Enter the value of the client secret created in Azure.
App typeSelect the app type (e.g. SingleTenant).
Tenant IDEnter the "Directory (tenant) ID" from Azure.
Messaging endpoint URLA read-only URL that is displayed after you save the settings. Setting this URL as the messaging endpoint of the Azure Bot allows messages from Teams to reach Kuroco.
https://{your-site}.g.kuroco.app/direct/topics/teams/

In the "Manifest settings" section, configure the content that is reflected in the manifest for the Teams app package.

Image from Gyazo

ItemDescription
Bot nameEnter the bot name displayed in Teams (e.g. KurocoBot).
Bot descriptionEnter the description of the bot (e.g. A chat bot powered by Kuroco).

Click [Update] to apply the entered content.

Test send

In the "Test" section at the bottom of the settings screen, you can use the saved settings to send an actual message to Teams and verify that the integration is configured correctly.

caution

Sending a test will send a real message to the specified conversation.

Image from Gyazo

FieldDescription
Teams serviceUrlEnter the destination Teams serviceUrl.
Teams conversation IDEnter the destination Teams conversation ID (conversationId).
MessageEnter the text to send.
TestClick [Test] to send the entered message to Teams.
info

The serviceUrl and conversation ID (conversationId) required for the test send can be checked from a record of the content definition that stores the Teams message history, after you have exchanged messages with the bot at least once. For the steps to obtain them, see Integrate with Microsoft Teams.

manifest.json

Click [Download manifest.json] in the "manifest.json" section to download the manifest.json for the Teams app package. Install the app in Teams using a ZIP file that bundles the downloaded manifest.json and the icon images.

Image from Gyazo


Support

If you have any other questions, please contact us or check out Our Slack Community.